File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ pub(crate) const INTERNAL_STORAGE_FILE: &str = "internal_storage.json";
1010pub struct InternalStorage {
1111 #[ serde( skip) ]
1212 storage_path : PathBuf ,
13- #[ serde( default ) ]
14- pub gpt_5_high_model_prompt_seen : bool ,
13+ #[ serde( default , alias = "gpt_5_high_model_prompt_seen" ) ]
14+ pub swiftfox_model_prompt_seen : bool ,
1515}
1616
1717// TODO(jif) generalise all the file writers and build proper async channel inserters.
Original file line number Diff line number Diff line change @@ -369,9 +369,9 @@ async fn run_ratatui_app(
369369 & cli,
370370 & config,
371371 active_profile. as_deref ( ) ,
372- internal_storage. gpt_5_high_model_prompt_seen ,
372+ internal_storage. swiftfox_model_prompt_seen ,
373373 ) {
374- internal_storage. gpt_5_high_model_prompt_seen = true ;
374+ internal_storage. swiftfox_model_prompt_seen = true ;
375375 if let Err ( e) = internal_storage. persist ( ) . await {
376376 error ! ( "Failed to persist internal storage: {e:?}" ) ;
377377 }
@@ -513,7 +513,7 @@ fn should_show_model_rollout_prompt(
513513 cli : & Cli ,
514514 config : & Config ,
515515 active_profile : Option < & str > ,
516- gpt_5_high_model_prompt_seen : bool ,
516+ swiftfox_model_prompt_seen : bool ,
517517) -> bool {
518518 // TODO(jif) drop.
519519 let debug_high_enabled = std:: env:: var ( "DEBUG_HIGH" )
@@ -523,7 +523,7 @@ fn should_show_model_rollout_prompt(
523523 active_profile. is_none ( )
524524 && debug_high_enabled
525525 && cli. model . is_none ( )
526- && !gpt_5_high_model_prompt_seen
526+ && !swiftfox_model_prompt_seen
527527 && config. model_provider . requires_openai_auth
528528 && !cli. oss
529529}
You can’t perform that action at this time.
0 commit comments