Skip to content

Commit 7e826a7

Browse files
authored
Merge pull request #2089 from codestoryai/codestoryai_sidecar_issue_2088_10418004
[agent farm] replace current sonnet with claude-3-7-sonnet-20250219 (Run ID: codestoryai_sidecar_issue_2088_10418004)
2 parents 7a6eabc + 2ce4b08 commit 7e826a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llm_client/src/clients/anthropic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ impl AnthropicClient {
401401
fn get_model_string(&self, llm_type: &LLMType) -> Result<String, LLMClientError> {
402402
match llm_type {
403403
LLMType::ClaudeOpus => Ok("claude-3-opus-20240229".to_owned()),
404-
LLMType::ClaudeSonnet => Ok("claude-3-5-sonnet-20241022".to_owned()),
404+
LLMType::ClaudeSonnet => Ok("claude-3-7-sonnet-20250219".to_owned()),
405405
LLMType::ClaudeHaiku => Ok("claude-3-haiku-20240307".to_owned()),
406406
LLMType::Custom(model) => Ok(model.to_owned()),
407407
_ => Err(LLMClientError::UnSupportedModel),

llm_client/src/clients/codestory.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl CodeStoryClient {
165165
LLMType::DeepSeekCoder33BInstruct => {
166166
Ok("deepseek-ai/deepseek-coder-33b-instruct".to_owned())
167167
}
168-
LLMType::ClaudeSonnet => Ok("claude-3-5-sonnet-20241022".to_owned()), // updated to latest sonnet
168+
LLMType::ClaudeSonnet => Ok("claude-3-7-sonnet-20250219".to_owned()), // updated to latest sonnet
169169
LLMType::ClaudeHaiku => Ok("claude-3-5-haiku-20241022".to_owned()), // updated to latest haiku
170170
LLMType::GeminiPro => Ok("google/gemini-flash-1.5".to_owned()),
171171
LLMType::GeminiProFlash => Ok("gemini-1.5-flash".to_owned()),
@@ -516,4 +516,4 @@ impl LLMClient for CodeStoryClient {
516516
}
517517
Ok(buffered_stream)
518518
}
519-
}
519+
}

0 commit comments

Comments
 (0)