Merge branch 'main' of https://github.com/Cohee1207/SillyTavern into mark-favorite-filter-by-favorite

This commit is contained in:
Wilfred Chen
2023-04-23 02:38:34 +08:00
24 changed files with 151 additions and 75 deletions

View File

@@ -29,7 +29,7 @@ const extension_settings = {
let modules = [];
let activeExtensions = new Set();
const getContext = () => window['TavernAI'].getContext();
const getContext = () => window['SillyTavern'].getContext();
const getApiUrl = () => extension_settings.apiUrl;
const defaultRequestArgs = { method: 'GET', headers: { 'Bypass-Tunnel-Reminder': 'bypass' } };
let connectedToApi = false;