Gpt-5-codex having trouble #2246

Closed
opened 2026-02-16 17:34:49 -05:00 by yindo · 2 comments
Owner

Originally created by @ru-aish on GitHub (Oct 23, 2025).

Description

Image GPT 5 codex accessed from the github copilot is not working seems the api url problem...

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

arch linux

Terminal

No response

Originally created by @ru-aish on GitHub (Oct 23, 2025). ### Description <img width="1107" height="212" alt="Image" src="https://github.com/user-attachments/assets/c1a5799d-ee31-48d4-bfaf-acafe4d99f3d" /> GPT 5 codex accessed from the github copilot is not working seems the api url problem... ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System arch linux ### Terminal _No response_
yindo added the bug label 2026-02-16 17:34:49 -05:00
yindo closed this issue 2026-02-16 17:34:49 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 23, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2758: Reports the exact same error "model gpt-5-codex is not accessible via the /chat/completions endpoint" when trying to use gpt-5-codex from GitHub Copilot
  • #2977: Similar issue with GPT-5-Codex over GitHub Copilot not working, mentions the model uses the new /responses endpoint instead of /chat/completions (closed)
  • #2778: Same error message and problem description when trying to use GPT-5-Codex through GitHub Copilot provider (closed)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 23, 2025): This issue might be a duplicate of existing issues. Please check: - #2758: Reports the exact same error "model gpt-5-codex is not accessible via the /chat/completions endpoint" when trying to use gpt-5-codex from GitHub Copilot - #2977: Similar issue with GPT-5-Codex over GitHub Copilot not working, mentions the model uses the new /responses endpoint instead of /chat/completions (closed) - #2778: Same error message and problem description when trying to use GPT-5-Codex through GitHub Copilot provider (closed) Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 23, 2025):

Yeah we need to figure out how to address this, it is a known issue, closing as duplicate

@rekram1-node commented on GitHub (Oct 23, 2025): Yeah we need to figure out how to address this, it is a known issue, closing as duplicate
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2246