stagehand icon indicating copy to clipboard operation
stagehand copied to clipboard

fix: allow custom LLM clients to skip modelApiKey validation in BrowserBase

Open gingeekrishna opened this issue 4 months ago • 1 comments

This PR fixes issue #899 by updating [api.ts] to allow custom LLM clients (such as AWS Bedrock) to skip the [modelApiKey] validation in the BrowserBase environment. The API key requirement is now enforced only for built-in providers (OpenAI, Anthropic, Google, AISDK), enabling custom LLMs to work without an API key. This resolves the error and supports broader LLM integration.

gingeekrishna avatar Aug 14 '25 10:08 gingeekrishna

⚠️ No Changeset found

Latest commit: bb301648217f5d287203a53eba393001ce138f5f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Aug 14 '25 10:08 changeset-bot[bot]