You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix IDE streaming: use SSE comments instead of empty delta
- Replace initial empty delta with SSE comment (': keep-alive')
- Some IDEs (Zed) interpret empty delta as end of stream and disconnect
- SSE comments keep connection alive without signaling message end
- Only include 'role: assistant' in first content chunk (per OpenAI spec)
- Subsequent chunks contain only content delta
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments