Skip to content

Commit d5ecbfc

Browse files
authored
Export AISdkClient (#1206)
# why AISdkClient was properly imported in examples, but not exported through the stagehand package # what changed Export the `AISdkClient` custom example for backwards compatibility and added a note to revisit for improvements based on the internal implementation # test plan
1 parent 55da8c6 commit d5ecbfc

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/weak-states-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@browserbasehq/stagehand": patch
3+
---
4+
5+
Export example AISdkClient properly from the stagehand package

packages/core/lib/v3/types/public/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ export * from "./model";
77
export * from "./options";
88
export * from "./page";
99
export * from "./sdkErrors";
10+
// Exporting the example AISdkClient for backwards compatibility
11+
// Note added for revisiting this scaffold for an improved version based on llm/aisdk.ts
12+
export { AISdkClient } from "../../../../examples/external_clients/aisdk";

0 commit comments

Comments
 (0)