From c183a2f21752882a47139c07965f3a90823f86d9 Mon Sep 17 00:00:00 2001 From: Joyless <65855333+Joy-less@users.noreply.github.com> Date: Tue, 31 Dec 2024 03:48:48 +0000 Subject: [PATCH] Publicly expose OllamaApiClient.Dispose --- src/OllamaApiClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OllamaApiClient.cs b/src/OllamaApiClient.cs index 249a6f4..48e880c 100644 --- a/src/OllamaApiClient.cs +++ b/src/OllamaApiClient.cs @@ -426,7 +426,7 @@ async Task>> IEmbeddingGenerator instance. /// Disposes the internal HTTP client if it was created internally. /// - void IDisposable.Dispose() + public void Dispose() { if (_disposeHttpClient) _client?.Dispose();