fix ESLint

This commit is contained in:
RossAscends
2025-05-23 09:29:17 +09:00
parent 25ae3a1ad3
commit 7aa13f3580
2 changed files with 4 additions and 4 deletions

View File

@@ -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';

View File

@@ -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..')