Add missing fields in provider code

This commit is contained in:
Michael Sloan
2025-04-30 12:13:54 -06:00
parent 8c91fc3153
commit 5fdcdc1926
2 changed files with 2 additions and 0 deletions

View File

@@ -367,6 +367,7 @@ impl LanguageModelProvider for CloudLanguageModelProvider {
name: model.name.clone(),
display_name: model.display_name.clone(),
max_tokens: model.max_tokens,
caching: model.cache_configuration.is_some(),
}),
};
models.insert(model.id().to_string(), model.clone());

View File

@@ -488,6 +488,7 @@ pub fn into_google(
}]
}),
tool_config: None,
cached_content: None,
}
}