mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-05 21:46:49 +01:00
Skip adding tool messages as regular chats
This commit is contained in:
parent
1e076a3e43
commit
da9200c82e
@ -743,6 +743,8 @@ async function populateChatHistory(messages, prompts, chatCompletion, type = nul
|
||||
chatCompletion.freeBudget(toolCallMessage);
|
||||
chatCompletion.insertAtStart(toolCallMessage, 'chatHistory');
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if (chatCompletion.canAfford(chatMessage)) {
|
||||
|
Loading…
Reference in New Issue
Block a user