fix(ai-gateway): close terminal SSE streams - #4882
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryIncremental review of the terminal-marker handling extended to Chat Completions ( Files Reviewed (2 files)
Previous Review Summary (commit c85923a)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit c85923a)Status: No Issues Found | Recommendation: Merge Executive SummaryThe change correctly detects terminal Responses API SSE events ( Files Reviewed (2 files)
Reviewed by claude-opus-5 · Input: 30 · Output: 10.3K · Cached: 739.9K Review guidance: REVIEW.md from base branch |
Summary
response.completed,response.incomplete, orresponse.failedmessage_stop[DONE]before immediately closing compatible Messages, Chat Completions, and Responses streamsTesting