mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Move openai slash commands to init function
This commit is contained in:
@@ -101,6 +101,7 @@ import {
|
||||
proxies,
|
||||
loadProxyPresets,
|
||||
selected_proxy,
|
||||
initOpenai,
|
||||
} from './scripts/openai.js';
|
||||
|
||||
import {
|
||||
@@ -915,6 +916,7 @@ async function firstLoadInit() {
|
||||
initKeyboard();
|
||||
initDynamicStyles();
|
||||
initTags();
|
||||
initOpenai();
|
||||
await getUserAvatars(true, user_avatar);
|
||||
await getCharacters();
|
||||
await getBackgrounds();
|
||||
|
Reference in New Issue
Block a user