Skip to content

feat: stream chat responses token-by-token via SSE#47

Merged
sholgaat merged 1 commit into
mainfrom
claude/github-issue-30-ae30ka
Jun 21, 2026
Merged

feat: stream chat responses token-by-token via SSE#47
sholgaat merged 1 commit into
mainfrom
claude/github-issue-30-ae30ka

Conversation

@sholgaat

@sholgaat sholgaat commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Adds POST /chat/stream using PydanticAI's agent.run_stream() and
FastAPI's StreamingResponse. The frontend switches to consuming the
SSE stream with ReadableStream, appending delta chunks as they arrive
and showing a blinking cursor while the response is in flight.

Adds POST /chat/stream using PydanticAI's agent.run_stream() and
FastAPI's StreamingResponse. The frontend switches to consuming the
SSE stream with ReadableStream, appending delta chunks as they arrive
and showing a blinking cursor while the response is in flight.
The original POST /chat endpoint is kept for backwards compatibility.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TrFG7pvoxnBsTfctHzaKPK
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
travel-bro Ready Ready Preview, Comment Jun 21, 2026 12:52pm

@sholgaat
sholgaat merged commit ebbfac9 into main Jun 21, 2026
4 checks passed
@sholgaat
sholgaat deleted the claude/github-issue-30-ae30ka branch July 10, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants