mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
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
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user