Skip to content

Commit

Permalink
Merge pull request #2089 from codestoryai/codestoryai_sidecar_issue_2…
Browse files Browse the repository at this point in the history
…088_10418004

[agent farm] replace current sonnet with claude-3-7-sonnet-20250219 (Run ID: codestoryai_sidecar_issue_2088_10418004)
  • Loading branch information
theskcd authored Feb 24, 2025
2 parents 7a6eabc + 2ce4b08 commit 7e826a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion llm_client/src/clients/anthropic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ impl AnthropicClient {
fn get_model_string(&self, llm_type: &LLMType) -> Result<String, LLMClientError> {
match llm_type {
LLMType::ClaudeOpus => Ok("claude-3-opus-20240229".to_owned()),
LLMType::ClaudeSonnet => Ok("claude-3-5-sonnet-20241022".to_owned()),
LLMType::ClaudeSonnet => Ok("claude-3-7-sonnet-20250219".to_owned()),
LLMType::ClaudeHaiku => Ok("claude-3-haiku-20240307".to_owned()),
LLMType::Custom(model) => Ok(model.to_owned()),
_ => Err(LLMClientError::UnSupportedModel),
Expand Down
4 changes: 2 additions & 2 deletions llm_client/src/clients/codestory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl CodeStoryClient {
LLMType::DeepSeekCoder33BInstruct => {
Ok("deepseek-ai/deepseek-coder-33b-instruct".to_owned())
}
LLMType::ClaudeSonnet => Ok("claude-3-5-sonnet-20241022".to_owned()), // updated to latest sonnet
LLMType::ClaudeSonnet => Ok("claude-3-7-sonnet-20250219".to_owned()), // updated to latest sonnet
LLMType::ClaudeHaiku => Ok("claude-3-5-haiku-20241022".to_owned()), // updated to latest haiku
LLMType::GeminiPro => Ok("google/gemini-flash-1.5".to_owned()),
LLMType::GeminiProFlash => Ok("gemini-1.5-flash".to_owned()),
Expand Down Expand Up @@ -516,4 +516,4 @@ impl LLMClient for CodeStoryClient {
}
Ok(buffered_stream)
}
}
}

0 comments on commit 7e826a7

Please sign in to comment.