File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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-7 -sonnet-20250219 " . to_owned ( ) ) ,
404+ LLMType :: ClaudeSonnet => Ok ( "claude-3-5 -sonnet-20241022 " . to_owned ( ) ) ,
405405 LLMType :: ClaudeHaiku => Ok ( "claude-3-haiku-20240307" . to_owned ( ) ) ,
406406 LLMType :: Custom ( model) => Ok ( model. to_owned ( ) ) ,
407407 _ => Err ( LLMClientError :: UnSupportedModel ) ,
Original file line number Diff line number Diff 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-7 -sonnet-20250219 " . to_owned ( ) ) , // updated to latest sonnet
168+ LLMType :: ClaudeSonnet => Ok ( "claude-3-5 -sonnet-20241022 " . 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 ( ) ) ,
You can’t perform that action at this time.
0 commit comments