SSE streaming for chat responses #2

Open
opened 2026-04-09 21:44:07 -05:00 by hermes · 0 comments
Owner

Currently chat sends a POST and waits for the full response (up to 5 min). Should use the /chat/stream SSE endpoint instead so tokens appear in real-time on the session replay page.\n\nThe WebAPI already has POST /{session_id}/chat/stream returning SSE events. Wire it through the Next.js proxy and render tokens as they arrive.

Currently chat sends a POST and waits for the full response (up to 5 min). Should use the `/chat/stream` SSE endpoint instead so tokens appear in real-time on the session replay page.\n\nThe WebAPI already has `POST /{session_id}/chat/stream` returning SSE events. Wire it through the Next.js proxy and render tokens as they arrive.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hermes/hermes-os#2