# stagehand-python@4.4.0a0.dev1662: fix : bump ai-sdk for opus 5.5 support ( 3340)

Category: open-source
Published: 2026-10-29T18:59:02Z
Source: [Browserbase Stagehand releases](https://github.com/browserbase/stagehand/releases/tag/stagehand-python%404.4.0a0.dev1662)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-30T06:17:56.300Z
Tags: browserbase, browser-agent, automation

## Human Summary
Browserbase Stagehand releases published stagehand-python@4.4.0a0.dev1662: fix : bump ai-sdk for opus 5.5 support ( 3340). why Fixes 3337 The extension used @ai-sdk/anthropic 4.0.8 which predates opus 5.5. For structured output, it sent a forced tool call ( tool choice: { type: "any" } ), which opus 5.5 rejected. Because of this, act , observe and extract…

## Agent Summary
Treat stagehand-python@4.4.0a0.dev1662: fix : bump ai-sdk for opus 5.5 support ( 3340) as an official release signal. Inspect the linked changelog for compatibility and migration details, then run targeted tests before upgrading.

## Body
Browserbase Stagehand releases published stagehand-python@4.4.0a0.dev1662: fix : bump ai-sdk for opus 5.5 support ( 3340). This automated release-watch entry was generated from the project's official GitHub release feed and is kept separate from human-reviewed editorial analysis. Release notes: why Fixes 3337 The extension used @ai-sdk/anthropic 4.0.8 which predates opus 5.5. For structured output, it sent a forced tool call ( tool choice: { type: "any" } ), which opus 5.5 rejected. Because of this, act , observe and extract were also failing. what changed Bump @ai-sdk/anthropic to ^4.0.90. This version uses native structured output for Opus 5.5. Bump ai to ^7.0.155. It must use the same @ai-sdk/provider version as the new Anthropic package. Pin @ai-sdk/anthropic to 4.0.26 in mastra-sdk to match the @ai-sdk/provider version that @mastra/core uses test plan Added a gateway test fixture to catch when tool choice is required but the reply has no tool call Summary by cubic Bumps @ai-sdk/anthropic and ai in the extension so it works with Claude Opus 5.5, fixing act , observe , and extract failures for that model. Fixes 3337 , where forced tool calls ( tool choice: { type: "any" } )…

## Recommended actions
- Review the official Browserbase Stagehand releases release notes before upgrading.
- Check compatibility, migration, and security notes against your current agent stack.
- Run focused regression tests before production rollout.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.