diff --git a/public/scripts/openai.js b/public/scripts/openai.js index e9216eccf..9ab05b467 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -743,6 +743,8 @@ async function populateChatHistory(messages, prompts, chatCompletion, type = nul chatCompletion.freeBudget(toolCallMessage); chatCompletion.insertAtStart(toolCallMessage, 'chatHistory'); } + + continue; } if (chatCompletion.canAfford(chatMessage)) {