mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Allow token counts to be cached when no character is selected
This commit is contained in:
@ -63,6 +63,7 @@ export {
|
|||||||
sendOpenAIRequest,
|
sendOpenAIRequest,
|
||||||
setOpenAIOnlineStatus,
|
setOpenAIOnlineStatus,
|
||||||
getChatCompletionModel,
|
getChatCompletionModel,
|
||||||
|
countTokens
|
||||||
}
|
}
|
||||||
|
|
||||||
let openai_msgs = [];
|
let openai_msgs = [];
|
||||||
|
Reference in New Issue
Block a user