stash code

This commit is contained in:
lloydzhou 2024-08-29 00:39:51 +08:00
parent f3f6dc57c3
commit d212df8b95
1 changed files with 2 additions and 2 deletions
app/client/platforms

View File

@ -338,12 +338,12 @@ export class ChatGPTApi implements LLMApi {
toolCallMessage, toolCallMessage,
...toolCallResult, ...toolCallResult,
); );
setTimeout(() => { requestAnimationFrame(() => {
// call again // call again
console.log("start again"); console.log("start again");
running = false; running = false;
chatApi(chatPath, requestPayload as RequestPayload); // call fetchEventSource chatApi(chatPath, requestPayload as RequestPayload); // call fetchEventSource
}, 5); });
}); });
console.log("try run tools", runTools.length, finished); console.log("try run tools", runTools.length, finished);
return; return;