parent
cc46d3e359
commit
e9f84eab01
2 changed files with 2 additions and 2 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ describe("AgentLoop", () => {
|
|||
expect(config.instructions).toContain("Hello docs!");
|
||||
|
||||
const agent = new AgentLoop({
|
||||
model: "o3-mini", // arbitrary
|
||||
model: "o3", // arbitrary
|
||||
instructions: config.instructions,
|
||||
config,
|
||||
approvalPolicy: { mode: "suggest" } as any,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue