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
🤖 feat: add GPT-5.1-Codex-Max model with xhigh reasoning level (#933)
Add support for OpenAI's `gpt-5.1-codex-max` model with the new `xhigh`
(Extra High) thinking level.
## Changes
- Allow `xhigh` thinking level end-to-end (types, schemas, UI policy,
enforcement)
- Normalize model detection so `gpt-5.1-codex-max` works with/without
the `openai:` prefix or `codex-max` alias
- Update thinking slider visuals to clamp extra levels to the strongest
glow
- Refresh LiteLLM model data (`models.json`) to include codex-max
- Document codex-max/XHIGH support in `docs/models.md`
- Add tests covering bare/alias codex-max and policy enforcement
fallbacks
## Behavior
- `xhigh` only surfaces for codex-max; other models fall back to their
allowed max (e.g., medium or high)
- Command palette may show all levels, but backend/UI enforce policy via
`enforceThinkingPolicy`
## Validation
- `make typecheck`
- `bun test src/browser/utils/thinking/policy.test.ts`
- `bun run scripts/update_models.ts` (models.json refreshed)
---
_Generated with `mux`_
---------
Signed-off-by: Thomas Kosiewski <tk@coder.com>
Co-authored-by: Ammar <ammar+ai@ammar.io>
0 commit comments