diff --git a/crates/common/src/api/open_ai.rs b/crates/common/src/api/open_ai.rs index 7c492798..d5d4ce2a 100644 --- a/crates/common/src/api/open_ai.rs +++ b/crates/common/src/api/open_ai.rs @@ -448,9 +448,9 @@ impl From> for Models { let data = llm_providers .iter() .map(|provider| ModelDetail { - id: provider.model.as_ref().unwrap().clone(), + id: provider.name.clone(), object: "model".to_string(), - created: 1721172741, + created: 0, owned_by: "system".to_string(), }) .collect();