[fix] stagehand.agent isn't using the correct model defaults
So when I ran stagehand.agent out of the box, I kept getting the model set to gpt-4.1-mini by default. This seems to be because the Vercel AI SDK is used as the default for logging, and the model isn't ever getting set to openai/gpt-4.1-mini. This should fix both issues and hopefully fix default model configs for all providers
🦋 Changeset detected
Latest commit: e6f6d86221e93dc3d0a314598f7d391ac4878069
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 2 packages
| Name | Type |
|---|---|
| @browserbasehq/stagehand | Minor |
| @browserbasehq/stagehand-evals | Patch |
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
IMO it's hardcoded (for some reason) here