[PR #6003] [MERGED] add offline_mode and disable version check #8607

Closed
opened 2025-11-11 18:00:54 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/6003
Author: @saravanan30erd
Created: 10/8/2024
Status: Merged
Merged: 10/8/2024
Merged by: @tjbck

Base: devHead: dev


📝 Commits (1)

  • 16dd352 add offline_mode and disable version check

📊 Changes

2 files changed (+17 additions, -5 deletions)

View changed files

📝 backend/open_webui/env.py (+6 -0)
📝 backend/open_webui/main.py (+11 -5)

📄 Description

Fix: https://github.com/open-webui/open-webui/discussions/5759 https://github.com/open-webui/open-webui/pull/5977

Description

Open WebUI having performance issues in offline (air-gapped) environment. When visiting the site, the API ( /api/version/updates ) will check the version (current & latest) information through the Internet. If its air-gapped environment then It takes around more than 2 mins to load the website (basically after the connection timeout, it uses current version as latest version)

Added

Introduced offline mode variable for Air-gapped environment and disabled version check from external source.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/6003 **Author:** [@saravanan30erd](https://github.com/saravanan30erd) **Created:** 10/8/2024 **Status:** ✅ Merged **Merged:** 10/8/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`16dd352`](https://github.com/open-webui/open-webui/commit/16dd352524a75be3da163386e37fbe939bf1fb80) add offline_mode and disable version check ### 📊 Changes **2 files changed** (+17 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/env.py` (+6 -0) 📝 `backend/open_webui/main.py` (+11 -5) </details> ### 📄 Description Fix: https://github.com/open-webui/open-webui/discussions/5759 https://github.com/open-webui/open-webui/pull/5977 ### Description Open WebUI having performance issues in offline (air-gapped) environment. When visiting the site, the API ( /api/version/updates ) will check the version (current & latest) information through the Internet. If its air-gapped environment then It takes around more than 2 mins to load the website (basically after the connection timeout, it uses current version as latest version) ### Added Introduced offline mode variable for Air-gapped environment and disabled version check from external source. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:00:54 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#8607