Description
OpenAI-compatible streams can fail with a transient overload event instead of normal text:
{"type":"error","error":{"type":"service_unavailable_error","code":"server_is_overloaded","message":"Our servers are currently overloaded. Please try again later."}}
When that shape is surfaced as a stream error, it should enter the existing session retry flow instead of stopping the turn as a final error.
Plugins
None required to reproduce the underlying provider error shape.
OpenCode version
1.14.33
Steps to reproduce
- Use an OpenAI-compatible model during a provider overload window.
- The provider returns the stream error above.
- The session stops instead of showing the existing retry countdown/status.
Screenshot and/or share link
N/A
Operating System
macOS
Terminal
Any
Description
OpenAI-compatible streams can fail with a transient overload event instead of normal text:
{"type":"error","error":{"type":"service_unavailable_error","code":"server_is_overloaded","message":"Our servers are currently overloaded. Please try again later."}}When that shape is surfaced as a stream error, it should enter the existing session retry flow instead of stopping the turn as a final error.
Plugins
None required to reproduce the underlying provider error shape.
OpenCode version
1.14.33
Steps to reproduce
Screenshot and/or share link
N/A
Operating System
macOS
Terminal
Any