fix(executor): remove default reasoning effort for gpt-5-codex-mini

This commit is contained in:
Luis Pater
2025-11-08 11:56:32 +08:00
parent 30d448e73c
commit 67ad26c35a

View File

@@ -205,9 +205,6 @@ 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")
}
}