From 52af43f05c5088ba7a5dfc904333b512ced3a098 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 20 Jan 2025 05:19:48 +0000 Subject: [PATCH] style: Run dotnet format --- src/Ollama/src/OllamaProvider.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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