Skip to content

Commit 9889d47

Browse files
authored
Apply suggestions from code review
1 parent 59be2c3 commit 9889d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evals/evaluator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ export class Evaluator {
3838

3939
constructor(
4040
stagehand: Stagehand,
41-
_modelName?: AvailableModel,
41+
modelName?: AvailableModel,
4242
modelClientOptions?: ClientOptions,
4343
) {
4444
this.stagehand = stagehand;
45-
this.modelName = "google/gemini-2.5-flash";
45+
this.modelName = modelName || "google/gemini-2.5-flash";
4646
this.modelClientOptions = modelClientOptions || {
4747
apiKey: process.env.GOOGLE_GENERATIVE_AI_API_KEY || "",
4848
};

0 commit comments

Comments
 (0)