Files
Bennet Bo Fenner 574df448ea Preserve transport errors in Google and OpenAI Responses streams (#65940)
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.
2026-10-22 13:57:27 +00:00
..