Skip to content

Commit

Permalink
stash code
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Aug 28, 2024
1 parent f3f6dc5 commit d212df8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/client/platforms/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,12 @@ export class ChatGPTApi implements LLMApi {
toolCallMessage,
...toolCallResult,
);
setTimeout(() => {
requestAnimationFrame(() => {
// call again
console.log("start again");
running = false;
chatApi(chatPath, requestPayload as RequestPayload); // call fetchEventSource
}, 5);
});
});
console.log("try run tools", runTools.length, finished);
return;
Expand Down

0 comments on commit d212df8

Please sign in to comment.