mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
574df448ea
Preserve typed transport errors in Google AI and OpenAI Responses completion streams instead of converting mid-stream read failures into generic, non-retryable model errors. - Classify streaming body-read failures separately from malformed JSON, preserving the provider name and original error. - Carry typed errors through the completion mappers and direct/OpenAI-compatible callers. Keep the OpenAI Responses mapper compatible with integrations that still supply generic errors. - Apply the same classification to OpenCode's Google-protocol stream. - Leave timeout durations and retry policies unchanged. Release Notes: - Fixed streaming connection failures being classified as non-retryable errors for Google AI and OpenAI Responses model requests.