From 97325e2950696c550474f5cdaa80e79027929925 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Tue, 11 Jun 2024 17:52:46 +0400 Subject: [PATCH] fix: Fixed another issue in #338. --- src/Providers/Ollama/src/OllamaProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Providers/Ollama/src/OllamaProvider.cs b/src/Providers/Ollama/src/OllamaProvider.cs index 894c18d7..699f4a74 100644 --- a/src/Providers/Ollama/src/OllamaProvider.cs +++ b/src/Providers/Ollama/src/OllamaProvider.cs @@ -8,7 +8,7 @@ namespace LangChain.Providers.Ollama; /// /// public class OllamaProvider( - string url = "http://localhost:11434", + string url = "http://localhost:11434/api", RequestOptions? options = null) : Provider(id: "ollama") {