add default medium reasoning case for gpt-5-codex-mini

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
jeffnash
2025-11-07 17:11:40 -08:00
committed by GitHub
parent fcb0293c0d
commit 240e782606

View File

@@ -203,6 +203,9 @@ func (e *CodexExecutor) ExecuteStream(ctx context.Context, auth *cliproxyauth.Au
body, _ = sjson.SetBytes(body, "reasoning.effort", "medium")
case "gpt-5-codex-mini-high":
body, _ = sjson.SetBytes(body, "reasoning.effort", "high")
default:
// For base "gpt-5-codex-mini", set reasoning.effort to "medium" by default
body, _ = sjson.SetBytes(body, "reasoning.effort", "medium")
}
}