Skip to content

feat: show streaming content incrementally in TUI#92

Merged
steve-calvert-glean merged 1 commit into
mainfrom
incremental-streaming
Apr 12, 2026
Merged

feat: show streaming content incrementally in TUI#92
steve-calvert-glean merged 1 commit into
mainfrom
incremental-streaming

Conversation

@steve-calvert-glean
Copy link
Copy Markdown
Collaborator

Summary

  • Content fragments are now displayed as they arrive instead of buffering until the full response is complete
  • Adds streamContentMsg type sent from the API goroutine on each CONTENT fragment
  • streamedContent field on Model accumulates partial content during streaming
  • Stage labels continue to update live alongside the growing content
  • Partial content is rendered through the markdown renderer below the spinner

Test plan

  • Unit test: multiple fragments accumulate and appear in rendered output
  • Unit test: streamedContent reset on stream completion
  • Unit test: streamedContent reset on new message
  • mise run test:all passes (455 tests, lint clean, binary builds)

@steve-calvert-glean steve-calvert-glean requested a review from a team as a code owner April 11, 2026 21:03
Content fragments are now displayed as they arrive instead of
buffering until the full response is complete. Stage labels
continue to update live alongside the growing content.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@steve-calvert-glean steve-calvert-glean added the enhancement New feature or request label Apr 12, 2026
@steve-calvert-glean steve-calvert-glean merged commit ab058a6 into main Apr 12, 2026
7 checks passed
@steve-calvert-glean steve-calvert-glean deleted the incremental-streaming branch April 12, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants