From 2f972bdc4147c89e000b78bc8d3144b8709bed5f Mon Sep 17 00:00:00 2001 From: Adrian Cole <64215+codefromthecrypt@users.noreply.github.com> Date: Wed, 25 Sep 2024 18:38:40 +1000 Subject: [PATCH] fuzz --- src/exchange/providers/ollama.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exchange/providers/ollama.py b/src/exchange/providers/ollama.py index bfbd4e3..03c1f43 100644 --- a/src/exchange/providers/ollama.py +++ b/src/exchange/providers/ollama.py @@ -40,7 +40,7 @@ def from_env(cls: Type["OllamaProvider"]) -> "OllamaProvider": # from_env is expected to fail if required ENV variables are not # available. Since this provider can run with defaults, we substitute # a health check to verify the endpoint is running. - client.get("/") + client.get("") # The OpenAI API is defined after "v1/", so we need to join it here. client.base_url = client.base_url.join("v1/") return cls(client)