Skip to content

fix(llm): process terminal SSE frames at EOF - #106

Merged
wolfy-j merged 1 commit into
masterfrom
fix/llm-sse-terminal-at-eof
Aug 7, 2026
Merged

fix(llm): process terminal SSE frames at EOF#106
wolfy-j merged 1 commit into
masterfrom
fix/llm-sse-terminal-at-eof

Conversation

@wolfy-j

@wolfy-j wolfy-j commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • complete a pending SSE frame when the transport reaches EOF without the final blank delimiter
  • pass terminal response snapshots explicitly into result construction
  • cover unterminated response.completed and response.failed events

Root cause

The Responses stream parser retained an unterminated final data line in leftover and returned an empty terminal result at EOF. Bee then rejected the turn because result.response was missing.

Verification

  • strict lint: 97 entries, zero issues
  • full LLM suite: 1,202/1,202 tests passed

@wolfy-j
wolfy-j merged commit 9cb3103 into master Aug 7, 2026
21 checks passed
@wolfy-j
wolfy-j deleted the fix/llm-sse-terminal-at-eof branch August 7, 2026 00:20
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.

1 participant