Use markdown for migration screen (#8952)

Next steps will be routing this to model info
This commit is contained in:
Ahmed Ibrahim
2026-01-12 23:41:42 -08:00
committed by GitHub
parent 18b737910c
commit 325ce985f1
12 changed files with 147 additions and 13 deletions

View File

@@ -54,6 +54,7 @@ pub struct ModelUpgrade {
pub migration_config_key: String,
pub model_link: Option<String>,
pub upgrade_copy: Option<String>,
pub migration_markdown: Option<String>,
}
/// Metadata describing a Codex-supported model.
@@ -234,6 +235,7 @@ impl From<ModelInfo> for ModelPreset {
// todo(aibrahim): add the model link here.
model_link: None,
upgrade_copy: None,
migration_markdown: None,
}),
show_in_picker: info.visibility == ModelVisibility::List,
supported_in_api: info.supported_in_api,