mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #15483] [MERGED] feat: Support deactivate update check without OFFLINE_MODE #23849
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/15483
Author: @guenhter
Created: 7/2/2025
Status: ✅ Merged
Merged: 7/3/2025
Merged by: @tjbck
Base:
dev← Head:support-deactivate-update-check📝 Commits (2)
34ddd62feat: support suppressing version checks661ea77fix: avoid 'checking for updates...' always present in offline-mode📊 Changes
8 files changed (+44 additions, -35 deletions)
View changed files
📝
backend/open_webui/env.py(+4 -1)📝
backend/open_webui/main.py(+4 -4)📝
src/app.html(+3 -4)📝
src/lib/components/admin/Settings/General.svelte(+14 -12)📝
src/lib/components/chat/Placeholder.svelte(+3 -1)📝
src/lib/components/chat/Settings/About.svelte(+14 -12)📝
src/lib/stores/index.ts(+1 -0)📝
src/routes/(app)/+layout.svelte(+1 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This change allow to control the
OFFLINE_MODEa little bit more granular (https://github.com/open-webui/open-webui/discussions/15421). In offline mode,are deactivated. This change allows to only disables the version updates checks and notifications without turning on the offline mode with a new flag
ENABLE_VERSION_UPDATE_CHECKWhen the offline mode is turned on, it automatically also disables the version checks (so the offline mode supersedes this flag).
This change is fully downward compatible, because the default value is set to "true" and in offline mode, it is automatically set to
false.The documentation was extended with https://github.com/open-webui/docs/pull/602
Additionally a small bug was fixed (separate commit), which displayed "Checking for Updates..." forever in offline mode.
Added
ENABLE_VERSION_UPDATE_CHECKflagFixed
Additional Information
I've tested the following combinations:
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.