mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:24:24 -05:00
[GH-ISSUE #8753] OFFLINE mode still access internet #69845
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 @Zephor5 on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8753
Bug Report
Installation Method
pip
Environment
Expected Behavior:
with offline mode enabled, which means the host can not access to the internet. so any connection to the internet must be prevented.
Actual Behavior:
api
/api/modelsis still trying to connect openai which will hang the site for a long period of time.Description
Bug Summary:
/api/modelsis trying to access to the internet when in offline mode, which will have a significant impact on the user experience.Reproduction Details
Steps to Reproduce:
install everything in a host that can not access to the internet. run open-webui, login and you will see the page gets stuck because of
/api/models@TheMasterFX commented on GitHub (Jan 22, 2025):
Set ENABLE_OPENAI_API to False doesn't help?