[PR #11311] fix(tui): add handling for codex model served from openrouter to include xhigh reasoning mode #13736

Closed
opened 2026-02-16 18:18:34 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11311

State: closed
Merged: No


What does this PR do?

Closes #11307

Uses the same logic to get the available reasoning modes for the codex models on the OpenAI provider, and adds that to the providers using the Openrouter Provider SDK.

How did you verify your code works?

Tested on my dev machine and I am able to switch to the xhigh mode for gpt-5.2-codex

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11311 **State:** closed **Merged:** No --- ### What does this PR do? Closes #11307 Uses the same logic to get the available reasoning modes for the codex models on the OpenAI provider, and adds that to the providers using the Openrouter Provider SDK. ### How did you verify your code works? Tested on my dev machine and I am able to switch to the `xhigh` mode for gpt-5.2-codex
yindo added the pull-request label 2026-02-16 18:18:34 -05:00
yindo closed this issue 2026-02-16 18:18:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13736