mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Pass app headers to featherless
This commit is contained in:
@ -348,6 +348,11 @@ const OPENROUTER_HEADERS = {
|
||||
'X-Title': 'SillyTavern',
|
||||
};
|
||||
|
||||
const FEATHERLESS_HEADERS = {
|
||||
'HTTP-Referer': 'https://sillytavern.app',
|
||||
'X-Title': 'SillyTavern',
|
||||
};
|
||||
|
||||
const OPENROUTER_KEYS = [
|
||||
'max_tokens',
|
||||
'temperature',
|
||||
@ -432,4 +437,5 @@ module.exports = {
|
||||
OPENROUTER_KEYS,
|
||||
VLLM_KEYS,
|
||||
FEATHERLESS_KEYS,
|
||||
FEATHERLESS_HEADERS,
|
||||
};
|
||||
|
Reference in New Issue
Block a user