mirror of
https://github.com/open-webui/docs.git
synced 2026-11-05 01:38:13 +00:00
[PR #1368] [MERGED] docs: correct OFFLINE_MODE scope and document the requirements skip #1335
Labels
No labels
bug
documentation
documentation
duplicate
enhancement
enhancement
good first issue
good first issue
good first issue
help wanted
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/docs#1335
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/docs/pull/1368
Author: @silentoplayz
Created: 9/1/2026
Status: ✅ Merged
Merged: 9/1/2026
Merged by: @Classic298
Base:
main← Head:docs/offline-mode-scope📝 Commits (1)
fcca4dddocs: correct OFFLINE_MODE scope and document the requirements skip📊 Changes
2 files changed (+8 additions, -2 deletions)
View changed files
📝
docs/getting-started/advanced-topics/hardening.md(+4 -2)📝
docs/reference/env-configuration.mdx(+4 -0)📄 Description
Summary
OFFLINE_MODEis currently described in two ways that contradict each other, and one of its effects is not documented at all.The scope is overstated on the hardening page. It says offline mode disables "other outbound calls" and, in the production checklist, that it disables "all outbound calls". The environment reference on the same site lists external LLM APIs, OAuth providers, and web search as still functional. A reader following the hardening page can reasonably conclude that setting one variable seals the instance, when the connections they configure themselves are untouched.
The requirements skip is undocumented.
OFFLINE_MODEalso skips installing the Python packages declared in function and toolrequirementsfrontmatter, and it does so even whenENABLE_PIP_INSTALL_FRONTMATTER_REQUIREMENTSis left enabled. Nothing on the site connects those two. The pages that document the auto-install attribute it toENABLE_PIP_INSTALL_FRONTMATTER_REQUIREMENTSalone and do not mention offline mode, and the offline mode pages never mentionrequirements. Anyone running custom Tools or Functions who enables offline mode gets a behavior change that only appears as an INFO log line, followed by aModuleNotFoundErrorwhen the plugin loads.This PR corrects the scope wording and documents the skip, without changing any behavior or recommending anything new.
Related issue or discussion
None.
Checklist
Notes for reviewers
Every claim was checked against the code at tag
v0.11.3, whereOFFLINE_MODEappears in five files:backend/open_webui/env.py:1180-1184setsHF_HUB_OFFLINE=1and forcesENABLE_VERSION_UPDATE_CHECKoff.backend/open_webui/config.py:1008,:1035,:1551gate the embedding, reranking, and Whisper auto-updates.backend/open_webui/retrieval/utils.py:1691,:1719forcelocal_files_onlyfor the embedding snapshot and re-raise instead of falling back.backend/open_webui/utils/plugin.py:428returns early frominstall_frontmatter_requirements(), after theENABLE_PIP_INSTALL_FRONTMATTER_REQUIREMENTScheck, so offline mode skips the install independently of that variable. Called from:225(tools),:275(functions), and:482(startup).backend/open_webui/utils/auth.py:27imports the flag and never uses it.Nothing gates web search, external model APIs, OAuth, tool servers, or object storage, which is why the wording moved to "the connections Open WebUI makes on its own behalf".
Two files change. The two links added point at anchors already used elsewhere in the docs, and
npx prettier --checkpasses on both.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.