You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gpt-5-codex through GitHub Copilot provider returns API call error #2890
In opencode's provider implementation, only Azure/OpenAI models work with the responses endpoint. All others, including those from GitHub Copilot, are implemented using chat/completions. This is what's causing the problem with codex.
I will be creating a PR with a fix shortly. My fix will ensure that all gpt-5* models use the responses api rather than chat/completions. I also implemented a fallback, just in case.
Activity
github-actions commentedon Oct 1, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 1, 2025
duplicate of #2758