Problem
Azure Codex deployments accept reasoningEffort: xhigh, but opencode only exposes low/medium/high for Azure. That prevents selecting xhigh in the CLI/UI. Also, users expect --reasoning-effort to be an alias for --variant on opencode run.
Expected
- Azure GPT-5.2/5.3 models expose
xhigh variant.
opencode run --reasoning-effort maps to variant.
Notes
A local eval indicates Azure accepts the request but does not return reasoning parts/tokens; see PR for details.
Problem
Azure Codex deployments accept
reasoningEffort: xhigh, but opencode only exposes low/medium/high for Azure. That prevents selectingxhighin the CLI/UI. Also, users expect--reasoning-effortto be an alias for--variantonopencode run.Expected
xhighvariant.opencode run --reasoning-effortmaps to variant.Notes
A local eval indicates Azure accepts the request but does not return reasoning parts/tokens; see PR for details.