Skip to content

langchain_ollama missing remote server connectivity? #24647

Closed Answered by jzalger
jzalger asked this question in Q&A
Discussion options

You must be logged in to vote

For anyone struggling with this, I dug into the code a bit and found the correct env variable is OLLAMA_HOST and is set to the full URL including the port. Eg (http://SERVER_IP:11434).

You don't need the base_url param like in the community Ollama packages.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@jzalger
Comment options

@jzalger
Comment options

@dosubot
Comment options

@jzalger
Comment options

@dosubot
Comment options

Comment options

You must be logged in to vote
1 reply
@codewithpassion
Comment options

Answer selected by jzalger
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants