We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d38f247 commit 12b889bCopy full SHA for 12b889b
evals/llm_clients/hn_aisdk.ts
@@ -1,5 +1,4 @@
1
import { Stagehand } from "@/dist";
2
-import { AISdkClient } from "@/examples/external_clients/aisdk";
3
import { EvalFunction } from "@/types/evals";
4
import { openai } from "@ai-sdk/openai/dist";
5
import { z } from "zod";
@@ -12,9 +11,7 @@ export const hn_aisdk: EvalFunction = async ({
12
11
}) => {
13
const stagehand = new Stagehand({
14
...stagehandConfig,
15
- llmClient: new AISdkClient({
16
- model: openai("gpt-4o-mini"),
17
- }),
+ modelName: openai("gpt-4o-mini"),
18
});
19
await stagehand.init();
20
await stagehand.page.goto(
0 commit comments