File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ impl AnthropicClient {
401
401
fn get_model_string ( & self , llm_type : & LLMType ) -> Result < String , LLMClientError > {
402
402
match llm_type {
403
403
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 ( ) ) ,
405
405
LLMType :: ClaudeHaiku => Ok ( "claude-3-haiku-20240307" . to_owned ( ) ) ,
406
406
LLMType :: Custom ( model) => Ok ( model. to_owned ( ) ) ,
407
407
_ => Err ( LLMClientError :: UnSupportedModel ) ,
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ impl CodeStoryClient {
165
165
LLMType :: DeepSeekCoder33BInstruct => {
166
166
Ok ( "deepseek-ai/deepseek-coder-33b-instruct" . to_owned ( ) )
167
167
}
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
169
169
LLMType :: ClaudeHaiku => Ok ( "claude-3-5-haiku-20241022" . to_owned ( ) ) , // updated to latest haiku
170
170
LLMType :: GeminiPro => Ok ( "google/gemini-flash-1.5" . to_owned ( ) ) ,
171
171
LLMType :: GeminiProFlash => Ok ( "gemini-1.5-flash" . to_owned ( ) ) ,
@@ -516,4 +516,4 @@ impl LLMClient for CodeStoryClient {
516
516
}
517
517
Ok ( buffered_stream)
518
518
}
519
- }
519
+ }
You can’t perform that action at this time.
0 commit comments