File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
crates/chat-cli/src/cli/chat Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ use crate::cli::chat::{
14
14
ChatSession ,
15
15
ChatState ,
16
16
} ;
17
- use crate :: os:: Os ;
18
17
19
18
pub struct ModelOption {
20
19
pub name : & ' static str ,
@@ -99,9 +98,6 @@ impl ModelArgs {
99
98
}
100
99
101
100
/// Currently, Sonnet 4 is set as the default model for non-FRA users.
102
- pub fn default_model_id ( os : & Os ) -> & ' static str {
103
- match os. database . get_auth_profile ( ) {
104
- Ok ( Some ( profile) ) if profile. arn . split ( ':' ) . nth ( 3 ) == Some ( "eu-central-1" ) => "CLAUDE_3_7_SONNET_20250219_V1_0" ,
105
- _ => "CLAUDE_SONNET_4_20250514_V1_0" ,
106
- }
101
+ pub fn default_model_id ( ) -> & ' static str {
102
+ "CLAUDE_3_7_SONNET_20250219_V1_0"
107
103
}
Original file line number Diff line number Diff line change @@ -536,7 +536,7 @@ impl ChatSession {
536
536
. map ( |opt| opt. model_id . to_owned ( ) )
537
537
} )
538
538
} )
539
- . unwrap_or_else ( || default_model_id ( os ) . to_owned ( ) ) ;
539
+ . unwrap_or_else ( || default_model_id ( ) . to_owned ( ) ) ;
540
540
541
541
// Reload prior conversation
542
542
let mut existing_conversation = false ;
You can’t perform that action at this time.
0 commit comments