Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/chatty-pans-create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@browserbasehq/stagehand-evals": patch
---

Paramaterize execution model in agent evals
2 changes: 2 additions & 0 deletions evals/initStagehand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ export const initStagehand = async ({
provider: modelName.startsWith("claude") ? "anthropic" : "openai",
} as AgentConfig;
} else {
const executionModelFromEnv = process.env.AGENT_EVAL_EXECUTION_MODEL;
agentConfig = {
model: modelName,
executionModel: executionModelFromEnv ?? "google/gemini-2.5-flash",
} as AgentConfig;
}

Expand Down
Loading