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

@ -1301,6 +1301,7 @@ export class InteractiveMode {
this.showSelector((done) => {
const selector = new ThinkingSelectorComponent(
this.session.thinkingLevel,
this.session.getAvailableThinkingLevels(),
(level) => {
this.session.setThinkingLevel(level);
this.updateEditorBorderColor();