Open lemeur opened 4 months ago
Ran into this Problem today. Would be really nice if this pull request would be accepted
I also ran into this issue quite a while ago and I can also confirm that this solves the issue.
I would really love to see this fix on main
Thanks for the approval!
Ollama may be protected by a reverse proxy enforcing basic auth.
When the Ollama URL contains basic auth elements, ollama-python removed them from the URL leading in a HTTP 401 ERROR.
This patch fixes the parsing of the URL so that basic auth elements are not removed.