From 8c14135f97b249fd8f533c53efe0e4e16aba74ad Mon Sep 17 00:00:00 2001 From: Finessse Date: Thu, 25 Dec 2025 05:59:31 +0700 Subject: [PATCH] chore: final cleanup of legacy model references and placeholder updates --- internal/runtime/executor/codex_executor.go | 2 +- internal/util/thinking_suffix.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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) {