Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

update summary to auto (#1)

Trevor Creech443ffb737376
diff --git a/codex-cli/src/utils/agent/agent-loop.ts b/codex-cli/src/utils/agent/agent-loop.ts
index 5cd1d7b410..97fc4edc95 100644
--- a/codex-cli/src/utils/agent/agent-loop.ts
+++ b/codex-cli/src/utils/agent/agent-loop.ts
@@ -488,7 +488,7 @@ export class AgentLoop {
reasoning = { effort: "high" };
if (this.model === "o3-mini" || this.model === "o4-mini") {
// @ts-expect-error waiting for API type update
- reasoning.summary = "detailed";
+ reasoning.summary = "auto";
}
}
const mergedInstructions = [prefix, this.instructions]