diff --git a/internal/runtime/executor/codex_executor.go b/internal/runtime/executor/codex_executor.go index 18910079..6380365d 100644 --- a/internal/runtime/executor/codex_executor.go +++ b/internal/runtime/executor/codex_executor.go @@ -284,7 +284,7 @@ func tokenizerForCodexModel(model string) (tokenizer.Codec, error) { switch { case sanitized == "": return tokenizer.Get(tokenizer.Cl100kBase) - case strings.HasPrefix(sanitized, "gpt-5"): + case strings.HasPrefix(sanitized, "gpt-5.2"): return tokenizer.ForModel(tokenizer.GPT5) case strings.HasPrefix(sanitized, "gpt-4.1"): return tokenizer.ForModel(tokenizer.GPT41) diff --git a/internal/util/thinking_suffix.go b/internal/util/thinking_suffix.go index 4017289b..cc1d6d42 100644 --- a/internal/util/thinking_suffix.go +++ b/internal/util/thinking_suffix.go @@ -21,8 +21,8 @@ const ( // // Examples: // - "claude-sonnet-4-5-20250929(16384)" → budget=16384 -// - "gpt-5.1(high)" → reasoning_effort="high" -// - "gemini-2.5-pro(32768)" → budget=32768 +// - "gpt-5.2(high)" → reasoning_effort="high" +// - "gemini-3-pro-preview(32768)" → budget=32768 // // Note: Empty parentheses "()" are not supported and will be ignored. func NormalizeThinkingModel(modelName string) (string, map[string]any) {