Make date parse from metadata a little more consistent

This commit is contained in:
Cameron committed 2026-01-14 12:54:36 -05:00
1 parent a37a211282
commit f65f4efde8
5 files changed
+54 -30

No files matched your search

+4 -1
View File
@@ -63,7 +63,10 @@ impl OllamaClient {
}
/// Check if a model has vision capabilities using the /api/show endpoint
pub async fn check_model_capabilities(url: &str, model_name: &str) -> Result<ModelCapabilities> {
pub async fn check_model_capabilities(
url: &str,
model_name: &str,
) -> Result<ModelCapabilities> {
let client = Client::builder()
.connect_timeout(Duration::from_secs(5))
.timeout(Duration::from_secs(10))