Skip to content

refactor: remove native Groq and Cerebras support - #3309

Open
vishalanton16 wants to merge 3 commits into
browserbase:mainfrom
vishalanton16:vishal/remove-groq-cerebras
Open

vishalanton16 wants to merge 3 commits into
browserbase:mainfrom
vishalanton16:vishal/remove-groq-cerebras

Conversation

@vishalanton16

@vishalanton16 vishalanton16 commented Oct 23, 2026 •

Copy link
Copy Markdown

Why

Reduce native provider maintenance to OpenAI, Anthropic and Google.

What

Remove Groq and Cerebras adapters, dependencies, model types and configuration paths. Update v4 docs while preserving v3 documentation.

How

Validated provider rejection, protocol and extension tests, Python models, typechecks, SDK build and docs.


Summary by cubic

Removes native Groq and Cerebras provider support from Stagehand. groq/... and cerebras/... model names are now rejected at validation time; users must switch to OpenAI, Anthropic, Google, or a bring-your-own-LLM callback.

This reduces native provider maintenance to OpenAI, Anthropic, and Google. The AI SDK adapters, catalog dependencies, model types, provider API key lookups, and eval model lists are removed. v4 docs are updated while v2/v3 docs are preserved.

Breaking changes

  • groq/ and cerebras/ model prefixes fail validation in TypeScript, Python, and protocol schemas.
  • GROQ_API_KEY and CEREBRAS_API_KEY no longer apply to model configuration.
  • Exported GroqModel* and CerebrasModel* types are removed.

Go SDK changes are intentionally excluded from this PR.

Written for commit 419c367. Summary will update on new commits.

View guided diff

@changeset-bot

changeset-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 419c367

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

This PR includes changesets to release 24 packages
Name Type
@browserbasehq/stagehand-protocol Major
@browserbasehq/stagehand-extension Major
@browserbasehq/stagehand-python Major
@browserbasehq/stagehand Major
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

Copy link
Copy Markdown
Contributor

This PR is from an external contributor and must be approved by a stagehand team member with write access before CI can run.
Approving the latest commit mirrors it into an internal PR owned by the approver.
If new commits are pushed later, the internal PR stays open but is marked stale until someone approves the latest external commit and refreshes it.

@github-actions github-actions Bot added external-contributor Tracks PRs mirrored from external contributor forks. external-contributor:awaiting-approval Waiting for a stagehand team member to approve the latest external commit. labels Oct 23, 2026
@vishalanton16
vishalanton16 marked this pull request as ready for review October 24, 2026 10:01
@vishalanton16
vishalanton16 requested a review from a team as a code owner October 24, 2026 10:01

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor:awaiting-approval Waiting for a stagehand team member to approve the latest external commit. external-contributor Tracks PRs mirrored from external contributor forks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant