mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix ESLint
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { eventSource, event_types, callPopup, getRequestHeaders, online_status, saveSettingsDebounced, settings } from '../script.js';
|
||||
import { eventSource, event_types, callPopup, getRequestHeaders, online_status, saveSettingsDebounced } from '../script.js';
|
||||
import { textgen_types, textgenerationwebui_settings, getTextGenServer } from '../scripts/textgen-settings.js';
|
||||
import { SmoothEventSourceStream } from '../scripts/sse-stream.js';
|
||||
|
||||
|
@@ -684,9 +684,9 @@ tabby.post('/load', async function (request, response) {
|
||||
let tempArgs = { ...args };
|
||||
let tempBody = JSON.parse(tempArgs.body);
|
||||
const toTabby = JSON.parse(tempBody.toTabby);
|
||||
delete tempBody.api_type
|
||||
delete tempBody.api_server
|
||||
tempArgs.body = JSON.stringify(toTabby)
|
||||
delete tempBody.api_type;
|
||||
delete tempBody.api_server;
|
||||
tempArgs.body = JSON.stringify(toTabby);
|
||||
|
||||
setAdditionalHeaders(request, tempArgs, baseUrl);
|
||||
//console.log('this is what we are sending to tabby, including all headers..')
|
||||
|
Reference in New Issue
Block a user