mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Please do not append port 80 or 443 when I set a custom host, as this can lead to errors on certain gateways. #115
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 @goIntoAction on GitHub (Jul 22, 2024).
\ollama_client.py, line 74, in _request
raise ResponseError(e.response.text, e.response.status_code) from None
ollama._types.ResponseError: path location is not configured.
I found that the host was appended with port 80 by the following code in the _client.py file, causing the server gateway forwarding to fail.