stash code
This commit is contained in:
parent
d212df8b95
commit
f7a5f836db
|
@ -338,12 +338,12 @@ export class ChatGPTApi implements LLMApi {
|
||||||
toolCallMessage,
|
toolCallMessage,
|
||||||
...toolCallResult,
|
...toolCallResult,
|
||||||
);
|
);
|
||||||
requestAnimationFrame(() => {
|
setTimeout(() => {
|
||||||
// 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
|
||||||
});
|
}, 60);
|
||||||
});
|
});
|
||||||
console.log("try run tools", runTools.length, finished);
|
console.log("try run tools", runTools.length, finished);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue