stagehand icon indicating copy to clipboard operation
stagehand copied to clipboard

[fix] stagehand.agent isn't using the correct model defaults

Open bennycortese opened this issue 1 month ago • 2 comments

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

bennycortese avatar Oct 31 '25 08:10 bennycortese

🦋 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

changeset-bot[bot] avatar Oct 31 '25 08:10 changeset-bot[bot]

IMO it's hardcoded (for some reason) here

stefanbinoj avatar Nov 04 '25 07:11 stefanbinoj