claude support function call

This commit is contained in:
lloydzhou
2024-09-02 21:45:47 +08:00
parent 877668b629
commit 801b62543a
6 changed files with 145 additions and 112 deletions

View File

@@ -246,7 +246,7 @@ export class ChatGPTApi implements LLMApi {
.getAsTools(
useChatStore.getState().currentSession().mask?.plugin as string[],
);
console.log("getAsTools", tools, funcs);
// console.log("getAsTools", tools, funcs);
stream(
chatPath,
requestPayload,