From f1db6c2dc35388bdb84144bb208da1eb23007e11 Mon Sep 17 00:00:00 2001 From: spencrmartin Date: Mon, 17 Nov 2025 16:15:24 -0500 Subject: [PATCH] fix: enable message stream for @goose mentions in collaborative sessions - Never disable useMessageStream completely - handle blocking in append function - This allows @goose mentions to properly trigger AI responses - Regular messages in collaborative sessions still blocked to prevent rate limits - @goose mentions now properly reinitialize LLM in DM conversations --- ui/desktop/src/hooks/useChatEngine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/desktop/src/hooks/useChatEngine.ts b/ui/desktop/src/hooks/useChatEngine.ts index b6e0a5674e..fcd516e124 100644 --- a/ui/desktop/src/hooks/useChatEngine.ts +++ b/ui/desktop/src/hooks/useChatEngine.ts @@ -133,7 +133,7 @@ export const useChatEngine = ({ api: getApiUrl('/reply'), id: chat.sessionId, // Keep original ID for frontend state management initialMessages: chat.messages, - disabled: isCollaborativeSession, // Completely disable useMessageStream for collaborative sessions + disabled: false, // Never disable - we'll handle blocking in the append function body: { session_id: backendSessionId || chat.sessionId, // Use mapped session ID for backend, fallback to original session_working_dir: window.appConfig.get('GOOSE_WORKING_DIR'),