We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59be2c3 commit 9889d47Copy full SHA for 9889d47
evals/evaluator.ts
@@ -38,11 +38,11 @@ export class Evaluator {
38
39
constructor(
40
stagehand: Stagehand,
41
- _modelName?: AvailableModel,
+ modelName?: AvailableModel,
42
modelClientOptions?: ClientOptions,
43
) {
44
this.stagehand = stagehand;
45
- this.modelName = "google/gemini-2.5-flash";
+ this.modelName = modelName || "google/gemini-2.5-flash";
46
this.modelClientOptions = modelClientOptions || {
47
apiKey: process.env.GOOGLE_GENERATIVE_AI_API_KEY || "",
48
};
0 commit comments