mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Wrong host handling #111
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.@hansesm commented on GitHub (Jul 22, 2024):
I can confirm this.
@ParthSareen commented on GitHub (Nov 27, 2024):
Dont think we run into this anymore - closing out but feel free to open again!