File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -388,17 +388,14 @@ pub fn set_model(model_name: &str, config_dir: &Path) -> bool {
388388 let config_file = config_dir. join ( "config.json" ) ;
389389 let model = match model_name. to_uppercase ( ) . as_str ( ) {
390390 "GEMINI_1_5_FLASH" => "GEMINI_1_5_FLASH" ,
391- "GEMINI_1_5_PRO_002" => "GEMINI_1_5_PRO_002" ,
392391 "GEMINI_1_5_PRO" => "GEMINI_1_5_PRO" ,
393- "GEMINI_1_5_FLASH_002" => "GEMINI_1_5_FLASH_002" ,
394- "GEMINI_1_5_FLASH_8B" => "GEMINI_1_5_FLASH_8B" ,
395- "GEMINI_1_0_PRO" => "GEMINI_1_0_PRO" ,
392+ "GEMINI_2_5_FLASH" => "GEMINI_2_5_FLASH" ,
393+ "GEMINI_2_5_PRO" => "GEMINI_2_5_PRO" ,
396394 _ => {
397- println ! ( "Invalid model name. Using default GEMINI_1_5_FLASH " ) ;
398- "GEMINI_1_5_FLASH "
395+ println ! ( "Invalid model name. Using default GEMINI_FLASH " ) ;
396+ "GEMINI_FLASH "
399397 }
400398 } ;
401-
402399 // Write to config file
403400 let config = serde_json:: json!( { "model" : model } ) ;
404401
You can’t perform that action at this time.
0 commit comments