[skip ci] Code format
This commit is contained in:
parent
c06fe6abfc
commit
b072057594
|
@ -516,7 +516,7 @@ router.post('/status', jsonParser, async function (request, response_getstatus_o
|
|||
// OpenRouter needs to pass the Referer and X-Title: https://openrouter.ai/docs#requests
|
||||
headers = {
|
||||
'HTTP-Referer': 'https://sillytavern.app',
|
||||
'X-Title': 'SillyTavern'
|
||||
'X-Title': 'SillyTavern',
|
||||
};
|
||||
} else if (request.body.chat_completion_source === CHAT_COMPLETION_SOURCES.MISTRALAI) {
|
||||
api_url = new URL(request.body.reverse_proxy || API_MISTRAL).toString();
|
||||
|
@ -706,7 +706,7 @@ router.post('/generate', jsonParser, function (request, response) {
|
|||
// OpenRouter needs to pass the Referer and X-Title: https://openrouter.ai/docs#requests
|
||||
headers = {
|
||||
'HTTP-Referer': 'https://sillytavern.app',
|
||||
'X-Title': 'SillyTavern'
|
||||
'X-Title': 'SillyTavern',
|
||||
};
|
||||
bodyParams = { 'transforms': ['middle-out'] };
|
||||
|
||||
|
|
Loading…
Reference in New Issue