Skip to content

Commit

Permalink
fuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
codefromthecrypt authored Sep 25, 2024
1 parent c5dc482 commit 2f972bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exchange/providers/ollama.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 2f972bd

Please sign in to comment.