mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[GH-ISSUE #7226] Ollama Connections configuration ignore by OLLAMA_BASE_URL #14666
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 @joestump on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7226
Bug Report
Installation Method
Docker via Docker Compose
Environment
latestlatestConfirmation:
I have included the browser console logs. (not applicable)Expected Behavior:
When Ollama is configured via Connections in Admin Settings it will override
OLLAMA_BASE_URLas the default.Actual Behavior:
I have been trying to get this auto memory function to work and have ran into a few issues. After fixing a typo (
ClentErrorinstead ofClientError), I ran into the following issue when it was trying to retrieve current memories for de-duplication:Looking at the docs a bit more I found that
OLLAMA_BASE_URLdefaults tohttp://host.docker.internal:11434. My Ollama runs behind Caddy and is not on the same host.After setting
OLLAMA_BASE_URLto the same value as what was in my Connections settings, this function is now working.Description
Bug Summary:
Unexpected HTTP errors from internal functions calling Ollama.
Reproduction Details
Steps to Reproduce:
OLLAMA_BASE_URLis set to the default value ofhttp://host.docker.internal:11434Logs and Screenshots
You can see logs, screenshots, and my debugging efforts in this discussion: https://github.com/open-webui/open-webui/discussions/7220
@joestump commented on GitHub (Nov 22, 2024):
Kinda related, but it'd be hecka nice if the functions/tool pages linked out to a GitHub user profile or repository for the function. I have no way of reporting the
ClentErrortypo to the author.