From 2e0a7db57dbcd09223653d7798770c7a8dd7e578 Mon Sep 17 00:00:00 2001 From: Hk-Gosuto Date: Fri, 22 Nov 2024 07:22:03 +0000 Subject: [PATCH] fix: #324 --- app/client/platforms/anthropic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/platforms/anthropic.ts b/app/client/platforms/anthropic.ts index 826d17c0927..8c78f9e677c 100644 --- a/app/client/platforms/anthropic.ts +++ b/app/client/platforms/anthropic.ts @@ -215,7 +215,7 @@ export class ClaudeApi implements LLMApi { if (shouldStream) { let index = -1; - const [tools, funcs] = [{}, {}]; + const [tools, funcs] = [[], {}]; // const [tools, funcs] = usePluginStore // .getState() // .getAsTools(