Skip to content

Commit 12b889b

Browse files
committed
fix external client eval
1 parent d38f247 commit 12b889b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

evals/llm_clients/hn_aisdk.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Stagehand } from "@/dist";
2-
import { AISdkClient } from "@/examples/external_clients/aisdk";
32
import { EvalFunction } from "@/types/evals";
43
import { openai } from "@ai-sdk/openai/dist";
54
import { z } from "zod";
@@ -12,9 +11,7 @@ export const hn_aisdk: EvalFunction = async ({
1211
}) => {
1312
const stagehand = new Stagehand({
1413
...stagehandConfig,
15-
llmClient: new AISdkClient({
16-
model: openai("gpt-4o-mini"),
17-
}),
14+
modelName: openai("gpt-4o-mini"),
1815
});
1916
await stagehand.init();
2017
await stagehand.page.goto(

0 commit comments

Comments
 (0)