You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you choose the ollama provider, but don't give an ENV for the host, you'll receive an error leading to the lookup line like this:
../src/exchange/providers/ollama.py:45: in from_env
url = os.environ["OLLAMA_HOST"]
I would suggest we default this, like tests do instead, to "http://localhost:11434/". Even if some tools exclusively require passing OLLAMA_HOST, I think we can justify the implicit default due the user already being explicit with the ollama provider config.
If they want to modify the host, they can still via env or any other mechanism we support in the future.
p.s. I'm happy to change this in a PR!
The text was updated successfully, but these errors were encountered:
If you choose the ollama provider, but don't give an ENV for the host, you'll receive an error leading to the lookup line like this:
I would suggest we default this, like tests do instead, to "http://localhost:11434/". Even if some tools exclusively require passing
OLLAMA_HOST
, I think we can justify the implicit default due the user already being explicit with theollama
provider config.If they want to modify the host, they can still via env or any other mechanism we support in the future.
p.s. I'm happy to change this in a PR!
The text was updated successfully, but these errors were encountered: