mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #10001] Request to api.openai with offline option defined #15730
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 @tiago375 on GitHub (Feb 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10001
Installation Method
pip install open-webui
Environment
Open WebUI Version: 0.5.11
Ollama (if applicable): 0.5.7
Operating System: debian 12
Browser (if applicable): Firefox 135.0
Confirmation:
Expected Behavior:
To not make any request to external web when
HF_HUB_OFFLINE=1is definedActual Behavior:
After start of the request, the webui sends a request to open.ai even with
HF_HUB_OFFLINE=1Description
Bug Summary:
Open webui server make a request to api.openai.com with
HF_HUB_OFFLINE=1definedReproduction Details
Steps to Reproduce:
remove internet connection
make a get request to localhost:8080
Logs and Screenshots
@Classic298 commented on GitHub (Feb 14, 2025):
from my understanding, the variable only serves to make OpenWebUI itself not touch the internet. I.e. don't check for updates, don't sent metadata or whatever else. This does specifically not apply to models and OpenAI integrations. If you don't want to use external models (that require internet access obviously) then don't use it.
You may be reliant on external models, while at the same time wanting OpenWebUI to not check for updates or other stuff, so keeping OpenWebUI itself from using the internet.