From ec354f7a1a931b2ba6c43cb96788bfb13bef9605 Mon Sep 17 00:00:00 2001 From: jeffnash Date: Fri, 7 Nov 2025 17:12:10 -0800 Subject: [PATCH] add default medium reasoning case for gpt-5-codex-mini Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- internal/runtime/executor/codex_executor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/runtime/executor/codex_executor.go b/internal/runtime/executor/codex_executor.go index c24e9589..55dc37d6 100644 --- a/internal/runtime/executor/codex_executor.go +++ b/internal/runtime/executor/codex_executor.go @@ -82,6 +82,8 @@ func (e *CodexExecutor) Execute(ctx context.Context, auth *cliproxyauth.Auth, re body, _ = sjson.SetBytes(body, "reasoning.effort", "medium") case "gpt-5-codex-mini-high": body, _ = sjson.SetBytes(body, "reasoning.effort", "high") + default: + body, _ = sjson.SetBytes(body, "reasoning.effort", "medium") } }