mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-22 07:26:23 +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.freeBudget(toolCallMessage);
|
||||||
chatCompletion.insertAtStart(toolCallMessage, 'chatHistory');
|
chatCompletion.insertAtStart(toolCallMessage, 'chatHistory');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chatCompletion.canAfford(chatMessage)) {
|
if (chatCompletion.canAfford(chatMessage)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user