CodeTracked since May 19, 2026
Stop streaming hang and endless retries on hard 429 rate limits
The pull request changes the OpenAI stream error path by adding a defensive `response.text()` wrapper with a 5-second hard timeout and by making retry logic aware of hard-quota signals, including large `Retry-After` values. This prevents the coding agent from getting stuck on non-200 responses and stops auto-retry loops when the provider signals a hard usage limit.
response.text()fetch interceptoropenai-nodeRetry-After