diff --git a/src/Ollama/src/OllamaProvider.cs b/src/Ollama/src/OllamaProvider.cs index c12c9de..89f1020 100644 --- a/src/Ollama/src/OllamaProvider.cs +++ b/src/Ollama/src/OllamaProvider.cs @@ -17,7 +17,7 @@ public sealed class OllamaProvider( { Timeout = TimeSpan.FromHours(1), }, baseUri: new Uri(url)); - + /// /// OllamaChatModel and OllamaEmbeddingModel will pull models automatically if this is true. /// @@ -27,7 +27,7 @@ public void Dispose() { Api.Dispose(); } - + public async Task PullModelIfRequiredAndAllowedAsync( string id, CancellationToken cancellationToken = default) @@ -36,7 +36,7 @@ public async Task PullModelIfRequiredAndAllowedAsync( { return; } - + try { // Pull the model if it is not running