Skip to content

Conversation

@Kylejeong2
Copy link
Member

why

anthropic released a new sota computer use model

what changed

added claude-sonnet-4-5-20250929 as a model to the list

test plan

ran evals

@changeset-bot
Copy link

changeset-bot bot commented Sep 29, 2025

⚠️ No Changeset found

Latest commit: 212806a

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

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Greptile Overview

Summary

Added support for Anthropic's new Claude 4.5 Sonnet model (claude-sonnet-4-5-20250929) by adding it to the agent provider mapping. This enables the new SOTA computer use model to be used with Stagehand's agent functionality.

Key Changes:

  • Added claude-sonnet-4-5-20250929 to modelToAgentProviderMap in AgentProvider.ts
  • Removed some empty lines in CHANGELOG.md for formatting consistency

Recommendations:

  • Add changelog entry documenting the new model support
  • Update example comments and evaluation configurations to include the new model

Confidence Score: 4/5

  • This PR is safe to merge with minimal risk
  • Simple model addition with proper provider mapping. Only minor documentation improvements needed.
  • No files require special attention

Important Files Changed

File Analysis

Filename        Score        Overview
lib/agent/AgentProvider.ts 5/5 Added new Claude 4.5 Sonnet model to the provider mapping - simple and safe change
CHANGELOG.md 4/5 Only formatting changes (removed empty lines), missing changelog entry for new model

Sequence Diagram

sequenceDiagram
    participant Client
    participant AgentProvider
    participant ModelMap as modelToAgentProviderMap
    participant AnthropicCUA as AnthropicCUAClient

    Client->>AgentProvider: getClient("claude-sonnet-4-5-20250929")
    AgentProvider->>ModelMap: lookup model name
    ModelMap-->>AgentProvider: "anthropic" provider
    AgentProvider->>AnthropicCUA: new AnthropicCUAClient("anthropic", "claude-sonnet-4-5-20250929")
    AnthropicCUA-->>AgentProvider: client instance
    AgentProvider-->>Client: configured agent client
Loading

2 files reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

@Kylejeong2 Kylejeong2 merged commit e0e6b30 into main Sep 29, 2025
14 of 15 checks passed
miguelg719 pushed a commit that referenced this pull request Oct 2, 2025
# why

anthropic released a new sota computer use model

# what changed

added claude-sonnet-4-5-20250929 as a model to the list

# test plan

ran evals
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.

3 participants