(fix) o3 instead of o3-mini (#37)

* o3 instead of o3-mini
This commit is contained in:
Yashraj Yadav
2025-04-16 23:48:41 +05:30
committed by GitHub
parent cc46d3e359
commit e9f84eab01
2 changed files with 2 additions and 2 deletions

View File

@@ -486,7 +486,7 @@ export class AgentLoop {
let reasoning: Reasoning | undefined;
if (this.model.startsWith("o")) {
reasoning = { effort: "high" };
if (this.model === "o3-mini" || this.model === "o4-mini") {
if (this.model === "o3" || this.model === "o4-mini") {
// @ts-expect-error waiting for API type update
reasoning.summary = "auto";
}