Skip to content

[Claimed #3155] fix: accept new model IDs without a Stagehand release - #3157

Merged
miguelg719 merged 2 commits into
mainfrom
external-contributor-pr-3155
Oct 9, 2026
Merged

miguelg719 merged 2 commits into
mainfrom
external-contributor-pr-3155

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Mirrored from external contributor PR #3155 after approval by @miguelg719.

Original author: @antonvishal
Original PR: #3155
Approved source head SHA: 4863fda8b24294a96095304ec67401a25cb7bbab

@antonvishal, please continue any follow-up discussion on this mirrored PR. When the external PR gets new commits, this same internal PR will be marked stale until the latest external commit is approved and refreshed here.

Original description

Why

Model allowlists block users from using newly released models.

What

Validate supported provider prefixes and nonempty, whitespace-free model IDs. Let providers determine model availability. Keep TypeScript, Python, and Go synchronized, with existing providers and defaults unchanged.

How

Extension, TypeScript, Python, and Go tests passed. Package builds, type checks, and generation checks passed.


Summary by cubic

Removes explicit model allowlists so newly released models work without a Stagehand release. Model names are now validated only for a supported provider prefix and a nonempty, whitespace-free ID; providers determine model availability.

  • Unknown model IDs are forwarded to providers, so unavailable models surface the provider's error instead of being rejected upfront.
  • Behavior is identical across TypeScript, Python, Go, and the extension.
  • The fix ships as patch bumps for the protocol, extension, and all SDK packages.

Written for commit bc01fb0. Summary will update on new commits.

View guided diff Turn on auto-fix

@github-actions github-actions Bot added external-contributor Tracks PRs mirrored from external contributor forks. external-contributor:mirrored An internal mirrored PR currently exists for this external contributor PR. labels Oct 9, 2026
@changeset-bot

changeset-bot Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: bc01fb0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages
Name Type
@browserbasehq/stagehand-protocol Patch
@browserbasehq/stagehand-extension Patch
@browserbasehq/stagehand Patch
@browserbasehq/stagehand-python Patch
@browserbasehq/stagehand-go Patch
browse Patch
@browserbasehq/stagehand-examples Patch
@browserbasehq/stagehand-integrations-claude-cua-sdk Patch
@browserbasehq/stagehand-integrations Patch
@browserbasehq/eve Patch
@browserbasehq/stagehand-integrations-gemini-cua-sdk Patch
@browserbasehq/stagehand-integrations-example-pi-facade Patch
@browserbasehq/stagehand-integrations-claude-agent-sdk Patch
@browserbasehq/stagehand-integrations-example-claude-code-facade Patch
@browserbasehq/stagehand-integrations-codex-sdk Patch
@browserbasehq/stagehand-integrations-example-codex-facade Patch
@browserbasehq/stagehand-integrations-cursor-sdk Patch
@browserbasehq/stagehand-integrations-example-cursor-facade Patch
@browserbasehq/stagehand-integrations-deepagents-sdk Patch
@browserbasehq/stagehand-integrations-eve-sdk Patch
@browserbasehq/stagehand-integrations-fx-sdk Patch
@browserbasehq/stagehand-integrations-mastra-sdk Patch
@browserbasehq/stagehand-integrations-example-mastra-facade Patch
@browserbasehq/stagehand-integrations-pi-sdk Patch
@browserbasehq/stagehand-integrations-example-vercel-ai-facade 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

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor Author

This mirrored PR has been merged into main. The original external PR #3155 is now completed.

@miguelg719
miguelg719 merged commit bfeda48 into main Oct 9, 2026
61 checks passed
@miguelg719
miguelg719 deleted the external-contributor-pr-3155 branch October 9, 2026 23:21
@github-actions github-actions Bot added external-contributor:completed The mirrored PR has been merged and the external contributor flow is complete. and removed external-contributor:mirrored An internal mirrored PR currently exists for this external contributor PR. labels Oct 9, 2026
miguelg719 pushed a commit that referenced this pull request Oct 10, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies
[[`bfeda48`](bfeda48)]:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- [#3157](#3157)
[`bfeda48`](bfeda48)
Thanks [@github-actions](https://github.com/apps/github-actions)! -
Accept new model IDs for supported providers without a Stagehand
release. Reject empty or whitespace-containing IDs and let providers
report model availability.
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies
[[`bfeda48`](bfeda48)]:
  - @browserbasehq/[email protected]
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- [#3157](#3157)
[`bfeda48`](bfeda48)
Thanks [@github-actions](https://github.com/apps/github-actions)! -
Accept new model IDs for supported providers without a Stagehand
release. Reject empty or whitespace-containing IDs and let providers
report model availability.
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
##
@browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies
[[`bfeda48`](bfeda48)]:
  - @browserbasehq/[email protected]
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies
[[`bfeda48`](bfeda48)]:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies
[[`bfeda48`](bfeda48)]:
  - @browserbasehq/[email protected]
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies
[[`bfeda48`](bfeda48)]:
  - @browserbasehq/[email protected]
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies []:
  - @browserbasehq/[email protected]
## @browserbasehq/[email protected]

### Patch Changes

- [#3157](#3157)
[`bfeda48`](bfeda48)
Thanks [@github-actions](https://github.com/apps/github-actions)! -
Accept new model IDs for supported providers without a Stagehand
release. Reject empty or whitespace-containing IDs and let providers
report model availability.
## @browserbasehq/[email protected]

### Patch Changes

- [#3157](#3157)
[`bfeda48`](bfeda48)
Thanks [@github-actions](https://github.com/apps/github-actions)! -
Accept new model IDs for supported providers without a Stagehand
release. Reject empty or whitespace-containing IDs and let providers
report model availability.
## @browserbasehq/[email protected]

### Patch Changes

- [#3157](#3157)
[`bfeda48`](bfeda48)
Thanks [@github-actions](https://github.com/apps/github-actions)! -
Accept new model IDs for supported providers without a Stagehand
release. Reject empty or whitespace-containing IDs and let providers
report model availability.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor:completed The mirrored PR has been merged and the external contributor flow is complete. external-contributor Tracks PRs mirrored from external contributor forks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants