Wrong host handling #111

Closed
opened 2026-02-15 16:28:02 -05:00 by yindo · 2 comments
Owner

Originally created by @racerxdl on GitHub (Jul 14, 2024).

According to this https://github.com/ollama/ollama-python/blob/main/ollama/_client.py#L906-L953 its using the host variable wrongly. It parses and strips everything from the path.

This does not allow the ollama to be hosted in a subpath, for example /ollama0.

Originally created by @racerxdl on GitHub (Jul 14, 2024). According to this https://github.com/ollama/ollama-python/blob/main/ollama/_client.py#L906-L953 its using the host variable wrongly. It parses and strips everything from the path. This does not allow the ollama to be hosted in a subpath, for example `/ollama0`.
yindo closed this issue 2026-02-15 16:28:02 -05:00
Author
Owner

@hansesm commented on GitHub (Jul 22, 2024):

I can confirm this.

@hansesm commented on GitHub (Jul 22, 2024): I can confirm this.
Author
Owner

@ParthSareen commented on GitHub (Nov 27, 2024):

Dont think we run into this anymore - closing out but feel free to open again!

@ParthSareen commented on GitHub (Nov 27, 2024): Dont think we run into this anymore - closing out but feel free to open again!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#111