mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-21 16:10:19 +01:00
b085d847d5
Now that the cloud-side StreamEnded support has landed, enable it on the Zed client: - Send the `x-zed-client-supports-stream-ended-request-completion-status` header so cloud knows to send `StreamEnded` status events. - Track whether `StreamEnded` was received during the stream. - Emit `StreamEndedUnexpectedly` error when the stream closes without a `StreamEnded` status, indicating the response was truncated. Concretely, this means that the agent panel will now display an abnormally terminated response stream for model calls through a Zed subscription as an error instead of just stopping. Release Notes: - The agent panel now displays an abnormally terminated response stream for model calls through a Zed subscription as an error instead of just stopping.