stash code
This commit is contained in:
parent
f3f6dc57c3
commit
d212df8b95
app/client/platforms
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue