Skip to content

Define explicit SSE event types for HITL streaming #17

Description

@sid-ak

Category: Operational & UX
Priority: Medium
Phase: Phase 7–8 (HITL + React frontend)

Problem
A HITL pause mid-stream leaves the frontend to infer state (partial answer, paused, resumed) from stream closure alone — a non-trivial implicit state machine.

Solution
Define explicit SSE event types (answer_chunk, hitl_pause, hitl_resume, answer_done, error) as an API/frontend contract; document in the API's AGENTS.md.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions