stash code

This commit is contained in:
lloydzhou 2024-08-29 01:00:16 +08:00
parent f7a5f836db
commit d58b99d602

View File

@ -287,7 +287,9 @@ export class ChatGPTApi implements LLMApi {
const funcs = {
get_current_weather: (args: any) => {
console.log("call get_current_weather", args);
return "30";
return new Promise((resolve) => {
setTimeout(() => resolve("30"), 3000);
});
},
};
const finish = () => {