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
OllamaLLM remote server configuration should be documented - and this package should provide a method for overriding the base_url in code and not rely on undocumented environment variable OLLAMA_HOST
Atm the only way to get remote OLLAMA server connection is to set OLLAMA_HOST env variable and this is only apparent if you do the above and you get this helpful error / clue!
base_url=_parse_host(host or os.getenv('OLLAMA_HOST')),
The text was updated successfully, but these errors were encountered:
The OllamaLLM class uses the ollama Python package and all parameters but the model_name and model_params will be passed to the ollama client. That means you should be able to use:
OllamaLLM remote server configuration should be documented - and this package should provide a method for overriding the base_url in code and not rely on undocumented environment variable OLLAMA_HOST
e.g. a parameter like this for clarity
Atm the only way to get remote OLLAMA server connection is to set OLLAMA_HOST env variable and this is only apparent if you do the above and you get this helpful error / clue!
The text was updated successfully, but these errors were encountered: