mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix formatting in openai.js
This commit is contained in:
@ -31,7 +31,7 @@ import {
|
|||||||
system_message_types,
|
system_message_types,
|
||||||
this_chid,
|
this_chid,
|
||||||
} from "../script.js";
|
} from "../script.js";
|
||||||
import {groups, selected_group} from "./group-chats.js";
|
import { groups, selected_group } from "./group-chats.js";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
chatCompletionDefaultPrompts,
|
chatCompletionDefaultPrompts,
|
||||||
@ -41,8 +41,8 @@ import {
|
|||||||
PromptManagerModule as PromptManager,
|
PromptManagerModule as PromptManager,
|
||||||
} from "./PromptManager.js";
|
} from "./PromptManager.js";
|
||||||
|
|
||||||
import {getCustomStoppingStrings, persona_description_positions, power_user,} from "./power-user.js";
|
import { getCustomStoppingStrings, persona_description_positions, power_user, } from "./power-user.js";
|
||||||
import {SECRET_KEYS, secret_state, writeSecret,} from "./secrets.js";
|
import { SECRET_KEYS, secret_state, writeSecret, } from "./secrets.js";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
delay,
|
delay,
|
||||||
@ -55,7 +55,7 @@ import {
|
|||||||
resetScrollHeight,
|
resetScrollHeight,
|
||||||
stringFormat,
|
stringFormat,
|
||||||
} from "./utils.js";
|
} from "./utils.js";
|
||||||
import {countTokensOpenAI, getTokenizerModel} from "./tokenizers.js";
|
import { countTokensOpenAI, getTokenizerModel } from "./tokenizers.js";
|
||||||
import {
|
import {
|
||||||
formatInstructModeChat,
|
formatInstructModeChat,
|
||||||
formatInstructModeExamples,
|
formatInstructModeExamples,
|
||||||
|
Reference in New Issue
Block a user