feat: add xhigh thinking level support for gpt-5.2 and gpt-5.2-codex

- Add XHIGH_MODELS constant and getAvailableThinkingLevels() to AgentSession
- Update ThinkingSelectorComponent to accept availableLevels parameter
- Both shift+tab cycling and /thinking command now show xhigh for supported models
- Update types.ts documentation to list supported models
This commit is contained in:
theBucky 2025-12-19 10:54:34 +08:00 committed by Mario Zechner
parent b24a2ec037
commit 4f981d8ebc
4 changed files with 52 additions and 16 deletions

View file

@ -25,7 +25,7 @@ export interface Attachment {
/**
* Thinking/reasoning level for models that support it.
* Note: "xhigh" is only supported by OpenAI codex-max models.
* Note: "xhigh" is only supported by OpenAI gpt-5.1-codex-max, gpt-5.2, and gpt-5.2-codex models.
*/
export type ThinkingLevel = "off" | "minimal" | "low" | "medium" | "high" | "xhigh";