Skip to content

Commit 5e65ea0

Browse files
authored
fix: Anthropic's default model is 3.7 (RooCodeInc#1971)
* fix: Anthropic's default model is 3.7 * changeset
1 parent e14fd78 commit 5e65ea0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/smooth-fans-flow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
fix: Anthropic's default model is 3.7

src/shared/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const anthropicModels = {
139139
// AWS Bedrock
140140
// https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html
141141
export type BedrockModelId = keyof typeof bedrockModels
142-
export const bedrockDefaultModelId: BedrockModelId = "anthropic.claude-3-5-sonnet-20241022-v2:0"
142+
export const bedrockDefaultModelId: BedrockModelId = "anthropic.claude-3-7-sonnet-20250219-v1:0"
143143
export const bedrockModels = {
144144
"anthropic.claude-3-7-sonnet-20250219-v1:0": {
145145
maxTokens: 8192,
@@ -223,7 +223,7 @@ export const openRouterDefaultModelInfo: ModelInfo = {
223223
// Vertex AI
224224
// https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude
225225
export type VertexModelId = keyof typeof vertexModels
226-
export const vertexDefaultModelId: VertexModelId = "claude-3-5-sonnet-v2@20241022"
226+
export const vertexDefaultModelId: VertexModelId = "claude-3-7-sonnet@20250219"
227227
export const vertexModels = {
228228
"claude-3-7-sonnet@20250219": {
229229
maxTokens: 8192,

0 commit comments

Comments
 (0)