Skip to content

release: 3.7.0#312

Open
stainless-app[bot] wants to merge 2 commits intomainfrom
release-please--branches--main--changes--next
Open

release: 3.7.0#312
stainless-app[bot] wants to merge 2 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Feb 25, 2026

Automated Release PR

3.7.0 (2026-02-25)

Full Changelog: v3.6.0...v3.7.0

Features

  • Add bedrock to provider enum in Zod schemas and OpenAPI spec (5ace8c9)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions


Summary by cubic

Adds AWS Bedrock provider support to model and agent configs and the OpenAPI spec. You can now set provider=bedrock in both ModelConfigParam and AgentConfig.

  • New Features
    • Added "bedrock" to the provider enum (ModelConfigParam, AgentConfig) and updated the OpenAPI/Zod schemas.

Written for commit ce9363c. Summary will update on new commits. Review in cubic

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Feb 25, 2026

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/stagehand-python/5ace8c9ee306ff8cc09c258500c24b6b55e9562b/stagehand-3.6.0-py3-none-any.whl'

Expires at: Fri, 27 Mar 2026 23:05:01 GMT
Updated at: Wed, 25 Feb 2026 23:05:01 GMT

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 7 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant User as Client Application
    participant SDK as Stagehand Python SDK
    participant API as Stagehand API (Backend)
    participant Bedrock as AWS Bedrock (Provider)

    Note over User,Bedrock: Session Execution Flow with Bedrock Support

    User->>SDK: execute(agent_config={"provider": "bedrock", ...})
    
    SDK->>SDK: CHANGED: Validate ModelConfigParam
    Note right of SDK: Enum now accepts "bedrock" <br/>alongside openai, anthropic, etc.

    SDK->>API: POST /session/execute
    Note right of SDK: Includes agentConfig with bedrock provider

    API->>API: Resolve Provider routing
    
    alt provider == "bedrock"
        API->>Bedrock: NEW: Forward inference request
        Bedrock-->>API: Model response
    else other providers
        API->>API: Route to OpenAI/Anthropic/Google/etc.
    end

    API-->>SDK: Session result
    SDK-->>User: Agent execution output
Loading

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants