feat: add oauth field to ProviderModels

This commit is contained in:
2026-07-20 12:46:18 -06:00
parent aa0270602d
commit 1acaad223f
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -357,6 +357,8 @@ impl ModelData {
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ProviderModels {
pub provider: String,
#[serde(default)]
pub oauth: Option<super::oauth::OAuthConfig>,
pub models: Vec<ModelData>,
}