stash code

This commit is contained in:
lloydzhou 2024-08-29 00:56:20 +08:00
parent d212df8b95
commit f7a5f836db
1 changed files with 2 additions and 2 deletions

View File

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