From 5ce53fdcc01ade20d8f172535283da0898e21bb4 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 4 Dec 2025 16:03:06 -0600 Subject: [PATCH] Fix CI --- src/components/GlobalChatProvider.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/GlobalChatProvider.tsx b/src/components/GlobalChatProvider.tsx index 9ec7650c..cdc4c7c8 100644 --- a/src/components/GlobalChatProvider.tsx +++ b/src/components/GlobalChatProvider.tsx @@ -95,7 +95,7 @@ export function GlobalChatProvider({ children }: GlobalChatProviderProps) { try { // Create AI client - const client = createAIClient(provider, config.corsProxy, user?.signer); + const client = createAIClient(provider, user, config.corsProxy); // Build messages for API using captured current messages const systemPrompt = config.globalChatSystemPrompt || defaultGlobalChatSystemPrompt; @@ -189,7 +189,7 @@ export function GlobalChatProvider({ children }: GlobalChatProviderProps) { } abortControllerRef.current = null; } - }, [config.corsProxy, config.globalChatSystemPrompt, settings.providers, trimMessages, user?.signer]); + }, [config.corsProxy, config.globalChatSystemPrompt, settings.providers, trimMessages, user]); const stopGeneration = useCallback(() => { if (abortControllerRef.current) {