mirror of
https://github.com/openai/codex.git
synced 2026-04-30 09:26:44 +00:00
Use markdown for migration screen (#8952)
Next steps will be routing this to model info
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user