story-kit: create 184_story_stream_bot_responses_to_matrix_on_double_newline_boundaries
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: "Stream bot responses to Matrix on double newline boundaries"
|
||||
---
|
||||
|
||||
# Story 184: Stream bot responses to Matrix on double newline boundaries
|
||||
|
||||
## User Story
|
||||
|
||||
As a user chatting with the bot in Matrix, I want to see incremental responses as the bot generates them, so that I don't have to wait for the entire response to complete before seeing anything.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Bot sends partial responses to Matrix whenever a double newline (paragraph break) is encountered in the streamed output
|
||||
- [ ] Remaining buffered text is flushed as a final message when the response completes
|
||||
- [ ] Each Matrix message is a coherent chunk (no partial words or mid-line breaks)
|
||||
- [ ] Bot still handles errors gracefully (error messages sent as single messages)
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
Reference in New Issue
Block a user