ChatOllama. how to use base_url #30920
Replies: 1 comment 2 replies
-
To resolve the "ollama._types.ResponseError: 404 page not found" error when using the Also, ensure that the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
llm = ChatOllama(
model="gemma3:1b",
base_url="http://...:8001/api/chat",
) This is the model I started with ollama on another server. I tested it and it works, but ChatOllama reports an error: ollama._types.ResponseError: 404 page not found (status code: 404). What is the reason and how can I use it?
Beta Was this translation helpful? Give feedback.
All reactions