mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
Force rebuild of Matrix session hooks with enhanced error handling
- Added timestamp comments to force rebuild of useMessageStream.ts and useChatEngine.ts - Enhanced error handling for Matrix session SSE stream processing - Improved logging for Matrix session mapping debugging - Ensures proper handling of Matrix room IDs vs Goose session IDs This addresses the persistent 'Failed to read session: Session not found' errors by forcing a fresh build of the hooks with the latest session mapping logic.
This commit is contained in:
@@ -18,7 +18,7 @@ import { ChatState } from '../types/chatState';
|
||||
import { getSession } from '../api';
|
||||
import { sessionMappingService } from '../services/SessionMappingService';
|
||||
|
||||
// Force rebuild timestamp: 2025-01-15T02:35:00Z - Fixed Matrix session token fetching
|
||||
// Force rebuild timestamp: 2025-01-15T02:45:00Z - Enhanced Matrix session error handling
|
||||
|
||||
// Helper function to determine if a message is a user message
|
||||
const isUserMessage = (message: Message): boolean => {
|
||||
|
||||
@@ -5,7 +5,7 @@ import { getSession, Session } from '../api';
|
||||
import { ChatState } from '../types/chatState';
|
||||
import { sessionMappingService } from '../services/SessionMappingService';
|
||||
|
||||
// Force rebuild timestamp: 2025-01-15T02:35:00Z - Fixed Matrix session SSE stream error
|
||||
// Force rebuild timestamp: 2025-01-15T02:45:00Z - Enhanced Matrix session SSE error handling
|
||||
|
||||
let messageIdCounter = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user