mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
models
This commit is contained in:
@@ -83,6 +83,13 @@ pub(crate) fn maybe_show_pending_model_migration_notice(
|
||||
return None;
|
||||
}
|
||||
|
||||
if let Some(current_model) = config.model.as_deref().filter(|model| !model.is_empty())
|
||||
&& current_model != notice.from_model
|
||||
{
|
||||
let _ = std::fs::remove_file(¬ice_path);
|
||||
return None;
|
||||
}
|
||||
|
||||
Some(notice)
|
||||
}
|
||||
|
||||
|
||||
@@ -83,6 +83,13 @@ pub(crate) fn maybe_show_pending_model_migration_notice(
|
||||
return None;
|
||||
}
|
||||
|
||||
if let Some(current_model) = config.model.as_deref().filter(|model| !model.is_empty())
|
||||
&& current_model != notice.from_model
|
||||
{
|
||||
let _ = std::fs::remove_file(¬ice_path);
|
||||
return None;
|
||||
}
|
||||
|
||||
Some(notice)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user