Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

feat(anthropic): update default cloud model to claude-sonnet-4-20250514#528

Open
danhilse wants to merge 1 commit into
reorproject:mainfrom
danhilse:chore/update-claude-sonnet-4-20250514
Open

feat(anthropic): update default cloud model to claude-sonnet-4-20250514#528
danhilse wants to merge 1 commit into
reorproject:mainfrom
danhilse:chore/update-claude-sonnet-4-20250514

Conversation

@danhilse

@danhilse danhilse commented Sep 1, 2025

Copy link
Copy Markdown

Update Anthropics default to Claude Sonnet 4 (20250514).

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Greptile Summary

This PR updates the default Anthropic model in the application from claude-3-5-sonnet-latest to claude-sonnet-4-20250514. The change is made in the shared/defaultLLMs.ts file, which serves as a configuration module that defines default LLM configurations for various providers including OpenAI and Anthropic.

The specific change replaces the model name in the anthropicDefaultLLMs array while maintaining the same context length of 180,000 tokens and API name. This upgrade moves the application to Claude Sonnet 4, which is Anthropic's next-generation model offering improved coding, reasoning, and instruction-following capabilities compared to Claude 3.5 Sonnet.

The change follows best practices by using a specific model version (claude-sonnet-4-20250514) rather than an alias like "latest", which ensures consistent behavior in production environments. This configuration change integrates seamlessly with the existing LLM management system in the codebase, as it maintains the same LLMConfig interface structure that includes contextLength, modelName, and apiName properties.

Confidence score: 5/5

  • This PR is safe to merge with minimal risk
  • Score reflects a straightforward model upgrade with no breaking changes to the existing API structure
  • No files require special attention

1 file reviewed, no comments

Edit Code Review Bot Settings | Greptile

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant