-
Notifications
You must be signed in to change notification settings - Fork 3.3k
A Few Session Related Issues #4899
Copy link
Copy link
Closed
Labels
p0Priority 0 - Critical/UrgentPriority 0 - Critical/Urgent
Description
Start of session
To Reproduce
Steps to reproduce the behavior:
- Go to chat and send a message "hi"
- Observe JS console and see error:
CHAT ENGINE RECEIVED ERROR FROM MESSAGE STREAM: {
"errorMessage": "Failed to read session: Session not found",
"errorName": "Error",
"errorStack": "Error: Failed to read session: Session not found\n at http://localhost:5173/src/hooks/useMessageStream.ts:131:27\n at async http://localhost:5173/src/hooks/useMessageStream.ts:205:33\n at async http://localhost:5173/src/hooks/useMessageStream.ts:255:7",
"timestamp": "2025-09-30T16:12:13.376Z",
"sessionId": ""
}
- Observe no message added to chat
- Send another message "hi"
- Observe message showing up and no error
Manual compaction
To Reproduce
Steps to reproduce the behavior:
- Go to chat and send a message "hi"
- Click context management popover and click "compact now"
- Observe error in JS console:
Error during compaction: Error: Context management failed: Error: Context management failed: Failed to deserialize the JSON body into the target type: missing field `sessionId` at line 1 column 1809
Start a new session.
at manageContextFromBackend (index.ts:46:11)
at async ContextManager.tsx:47:33
at async ContextManager.tsx:116:7
- Observe compaction did not occur
Adding Extensions
To Reproduce
Steps to reproduce the behavior:
- Go to extensions section and click "Add custom extension"
- Enter title and description as anything. Use
npx -y @modelcontextprotocol/server-everythingas a test server - Observe error in JS console:
ExtensionsView: No session ID available
ExtensionsView | @ | ExtensionsView.tsx:38
- Observe extension was not added
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p0Priority 0 - Critical/UrgentPriority 0 - Critical/Urgent