Skip to content

chore(examples): update deprecated models to gpt-4.1 and use Stagehand import#5

Open
chromiebot wants to merge 5 commits into
mainfrom
chromie/fix-pr-1964-review-comments
Open

chore(examples): update deprecated models to gpt-4.1 and use Stagehand import#5
chromiebot wants to merge 5 commits into
mainfrom
chromie/fix-pr-1964-review-comments

Conversation

@chromiebot
Copy link
Copy Markdown
Owner

Summary

  • Replace deprecated gpt-4ogpt-4.1 and gpt-4o-minigpt-4.1-mini in custom client examples
  • Replace V3 imports/usage with Stagehand in v3-example.ts and v3-agent.ts for consistency

Addresses review comments on browserbase#1964.

Test plan

  • Verified changes are limited to example files only
  • All imports resolve correctly (Stagehand is exported as an alias for V3 in the index)

🤖 Generated with Claude Code

Chromie Bot and others added 5 commits March 30, 2026 06:40
Replace model object ({ modelName, apiKey }) with model string in
non-CUA examples. API keys are no longer required when using
env: "BROWSERBASE" with standard providers (openai/gemini/anthropic).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…d import

Address PR browserbase#1964 review comments:
- Replace deprecated gpt-4o with gpt-4.1 in custom-client-aisdk.ts
- Replace deprecated gpt-4o-mini with gpt-4.1-mini in custom-client-openai.ts
- Replace deprecated gpt-4o with gpt-4.1 in custom-client-langchain.ts
- Replace V3 import/usage with Stagehand in v3-example.ts and v3-agent.ts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants