-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Description
When resuming an existing conversation (clicking on a conversation from History and sending a follow-up message), the frontend does not establish a Server-Sent Events (SSE) connection to the stream URL returned by the API.
Steps to Reproduce
- Start cui-server and create a new conversation
- After the conversation completes, go to History tab
- Click on the conversation to open it
- Send a follow-up message
Expected Behavior
- The frontend should connect to
/api/stream/{streamingId}to receive real-time updates - The new message and response should appear in the UI without needing to refresh
Actual Behavior
- The API call
POST /api/conversations/startwithresumedSessionIdsucceeds - The server returns a valid
streamUrl - The frontend does NOT connect to the stream URL
- The UI does not update to show the new messages
- Refreshing the page shows the messages were saved correctly
Technical Details
API Response (correct):
{
"streamingId": "xxx",
"streamUrl": "/api/stream/xxx",
"sessionId": "original-session-id",
"cwd": "/app",
"tools": [...]
}Network activity comparison:
- New conversation: Makes request to
/api/stream/{id}✅ - Resumed conversation: No stream request made ❌
Environment
- cui-server version: 0.6.3
- Node.js: 20.x
- Browser: Chromium (tested via Playwright)
Workaround
Refreshing the page after sending a follow-up message shows the response correctly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels