Skip to content

Comments

fix(models): remove retired claude-3-7-sonnet and update default models#3292

Merged
waleedlatif1 merged 1 commit intostagingfrom
fix/anthropi
Feb 22, 2026
Merged

fix(models): remove retired claude-3-7-sonnet and update default models#3292
waleedlatif1 merged 1 commit intostagingfrom
fix/anthropi

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

  • Remove claude-3-7-sonnet-latest from Anthropic provider (retired by Anthropic)
  • Update stagehand default models to Claude Sonnet 4.5 and GPT-5
  • Sync browser_use block model list with official SupportedLLMs enum (add browser-use-2.0, gemini-3-flash-preview)
  • Update related tests

Type of Change

  • Bug fix

Testing

Tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel
Copy link

vercel bot commented Feb 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Feb 21, 2026 11:04pm

Request Review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 21, 2026

Greptile Summary

This PR removes the retired claude-3-7-sonnet-latest model from the Anthropic provider and updates default models across the codebase to current versions.

Changes made:

  • Removed claude-3-7-sonnet-latest model definition from apps/sim/providers/models.ts
  • Updated stagehand routes to use claude-sonnet-4-5-20250929 for Anthropic and gpt-5 for OpenAI
  • Added browser-use-2.0 and gemini-3-flash-preview to browser_use block model options
  • Updated test assertions to reflect the removal of the retired model

The changes are consistent across all affected files and maintain backward compatibility by updating to newer model versions.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • All changes are straightforward model name updates and removals. The retired model is cleanly removed from all locations, replacement models are well-established and already defined in the system, and test updates are consistent with the code changes.
  • No files require special attention

Important Files Changed

Filename Overview
apps/sim/providers/models.ts Removed retired claude-3-7-sonnet-latest model definition from Anthropic provider
apps/sim/providers/utils.test.ts Removed claude-3-7-sonnet-latest from temperature and computer use capability tests
apps/sim/app/api/tools/stagehand/agent/route.ts Updated default models: Anthropic to claude-sonnet-4-5-20250929, OpenAI to gpt-5
apps/sim/app/api/tools/stagehand/extract/route.ts Updated default models: Anthropic to claude-sonnet-4-5-20250929, OpenAI to gpt-5
apps/sim/blocks/blocks/browser_use.ts Added browser-use-2.0 and gemini-3-flash-preview model options to dropdown

Last reviewed commit: fe6a622

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.

5 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@waleedlatif1 waleedlatif1 merged commit c52f78c into staging Feb 22, 2026
12 checks passed
@waleedlatif1 waleedlatif1 deleted the fix/anthropi branch February 22, 2026 00:44
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.

1 participant