-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Vercel ai sdk impl #382
Vercel ai sdk impl #382
Conversation
🦋 Changeset detectedLatest commit: 0d383a0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
examples/ai_sdk_example.ts
Outdated
}; | ||
|
||
async function example() { | ||
const stagehand = new Stagehand(StagehandConfig); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we instead import StagehandConfig
and do:
{...StagehandConfig, llmClient: AISdkClient()}
#385 is a pre-requisite to this PR
why
We want to provide an example of supporting Vercel's AI SDK so that people can use a larger variety of LLMs
what changed
Added example usage of the AI SDK
test plan
Add an eval for using the AI SDK client