Feat: add upgrade to app server modelList (#10556)

### Summary
* Add model upgrade to listModel app server endpoint to support
dynamically show model upgrade banner.
This commit is contained in:
Shijie Rao authored and GitHub committed 2026-02-03 14:53:36 -08:00
1 parent e3d39013d3
commit 750ebe154d
8 files changed
+21 -2

No files matched your search

@@ -998,6 +998,7 @@ pub struct ModelListParams {
pub struct Model {
pub id: String,
pub model: String,
pub upgrade: Option<String>,
pub display_name: String,
pub description: String,
pub supported_reasoning_efforts: Vec<ReasoningEffortOption>,