mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Removed unnecessary token reserve
This commit is contained in:
@ -519,7 +519,6 @@ function populateDialogueExamples(prompts, chatCompletion) {
|
||||
if (openai_msgs_example.length) {
|
||||
const newExampleChat = new Message('system', oai_settings.new_example_chat_prompt, 'newChat');
|
||||
[...openai_msgs_example].forEach((dialogue, dialogueIndex) => {
|
||||
chatCompletion.reserveBudget(newExampleChat);
|
||||
chatCompletion.insert(newExampleChat, 'dialogueExamples');
|
||||
dialogue.forEach((prompt, promptIndex) => {
|
||||
const role = 'system';
|
||||
|
Reference in New Issue
Block a user