mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-19 20:20:16 +09:00
stash code
This commit is contained in:
parent
f7a5f836db
commit
d58b99d602
@ -287,7 +287,9 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
const funcs = {
|
const funcs = {
|
||||||
get_current_weather: (args: any) => {
|
get_current_weather: (args: any) => {
|
||||||
console.log("call get_current_weather", args);
|
console.log("call get_current_weather", args);
|
||||||
return "30";
|
return new Promise((resolve) => {
|
||||||
|
setTimeout(() => resolve("30"), 3000);
|
||||||
|
});
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const finish = () => {
|
const finish = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user