mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #7741] [MERGED] [Fix] Turn off auto update in offline mode #37729
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/7741
Author: @sanch7
Created: 12/10/2024
Status: ✅ Merged
Merged: 12/16/2024
Merged by: @tjbck
Base:
dev← Head:offline_mode_fix📝 Commits (1)
edf6c6aturn off auto update in offline mode📊 Changes
1 file changed (+4 additions, -3 deletions)
View changed files
📝
backend/open_webui/config.py(+4 -3)📄 Description
Pull Request Checklist
This PR ensures that all auto-update settings (WHISPER_MODEL_AUTO_UPDATE, RAG_EMBEDDING_MODEL_AUTO_UPDATE, RAG_RERANKING_MODEL_AUTO_UPDATE) are automatically disabled (False) when OFFLINE_MODE is enabled.
Changes:
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
https://github.com/open-webui/open-webui/discussions/7742
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
[Unreleased]
Added
Logic to disable all auto-update settings (WHISPER_MODEL_AUTO_UPDATE, RAG_EMBEDDING_MODEL_AUTO_UPDATE, RAG_RERANKING_MODEL_AUTO_UPDATE) when OFFLINE_MODE is enabled.
Changed
Auto-update flags now depend on OFFLINE_MODE to determine whether updates should be disabled.
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.