Skip to content

Commit e746f9f

Browse files
committed
remove model id mapping in client
1 parent f6d48b7 commit e746f9f

File tree

1 file changed

+3
-3
lines changed
  • crates/chat-cli/src/cli/chat/cli

1 file changed

+3
-3
lines changed

crates/chat-cli/src/cli/chat/cli/model.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,17 @@ pub async fn default_model_id(os: &Os) -> String {
113113
// Check FRA region first
114114
if let Ok(Some(profile)) = os.database.get_auth_profile() {
115115
if profile.arn.split(':').nth(3) == Some("eu-central-1") {
116-
return "CLAUDE_3_7_SONNET_20250219_V1_0".to_string();
116+
return "claude-3.7-sonnet".to_string();
117117
}
118118
}
119119

120120
// Check if Amazon IDC user
121121
if let Ok(Some(token)) = BuilderIdToken::load(&os.database).await {
122122
if matches!(token.token_type(), TokenType::IamIdentityCenter) && token.is_amzn_user() {
123-
return "CLAUDE_3_7_SONNET_20250219_V1_0".to_string();
123+
return "claude-3.7-sonnet".to_string();
124124
}
125125
}
126126

127127
// Default to 4.0
128-
"CLAUDE_SONNET_4_20250514_V1_0".to_string()
128+
"claude-4-sonnet".to_string()
129129
}

0 commit comments

Comments
 (0)