Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
}
}
}