[wish] Fail quickly with exec when using openrouter
Resolved 💬 1 comment Opened Jul 7, 2025 by twardoch Closed Sep 8, 2025
When I run exec and codex doesn’t like a profile, it keeps retrying. I’d like it to fail quickly, so this doesn’t happen:
[2025-07-07T13:44:41] OpenAI Codex v0.2.0 (research preview)
--------
workdir: /Users/user/test
model: nvidia/llama-3.1-nemotron-ultra-253b-v1:free
provider: openrouter
approval: Never
sandbox: danger-full-access
--------
[2025-07-07T13:44:41] User instructions:
Capital of Poland?
[2025-07-07T13:44:43] stream error: unexpected status 404 Not Found: {"error":{"message":"No endpoints found that support tool use. To learn more about provider routing, visit: https://openrouter.ai/docs/provider-routing","code":404}}; retrying 1/10 in 189ms…
[2025-07-07T13:44:44] stream error: unexpected status 404 Not Found: {"error":{"message":"No endpoints found that support tool use. To learn more about provider routing, visit: https://openrouter.ai/docs/provider-routing","code":404}}; retrying 2/10 in 234ms…This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗