mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #18916] [CLOSED] feat(enterprise): SaaS-first runtime + health + build fix #25024
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/18916
Author: @logan-robbins
Created: 11/4/2025
Status: ❌ Closed
Base:
main← Head:feature/enterprise-mode-conditional-deps📝 Commits (6)
d05095echore(gitignore): allow .env.enterprise.example to be committed3aa5653docs(enterprise): add Enterprise Mode plan and example env + compose profiles9fde8b3feat(enterprise): SaaS-first runtime settings + DI providers + /system/health + split requirements and Docker enterprise build path5d03a1dfeat(admin/enterprise): Enterprise settings panel shows effective SaaS engines + read-only OCR with link to Documents; add system health clientbf6ba0bfix(build): align Tiptap deps and stabilize pyodide prefetch for reproducible frontend buildc432e8crefactor(types): gate OCRService annotation with TYPE_CHECKING and postpone annotations; minor middleware/pyproject tweaks; add basic tests for enterprise settings/profile📊 Changes
68 files changed (+8461 additions, -4448 deletions)
View changed files
➕
.env.enterprise.example(+55 -0)📝
.gitignore(+1 -0)📝
Dockerfile(+65 -27)➕
ENTERPRISE.md(+133 -0)📝
backend/open_webui/config.py(+47 -2)📝
backend/open_webui/env.py(+27 -22)📝
backend/open_webui/main.py(+81 -74)📝
backend/open_webui/retrieval/loaders/main.py(+64 -28)📝
backend/open_webui/retrieval/utils.py(+194 -144)📝
backend/open_webui/retrieval/vector/factory.py(+50 -1)📝
backend/open_webui/routers/audio.py(+227 -429)📝
backend/open_webui/routers/memories.py(+15 -11)📝
backend/open_webui/routers/retrieval.py(+226 -274)➕
backend/open_webui/routers/system.py(+81 -0)➕
backend/open_webui/services/__init__.py(+2 -0)➕
backend/open_webui/services/dependencies.py(+91 -0)➕
backend/open_webui/services/errors.py(+25 -0)➕
backend/open_webui/services/interfaces.py(+168 -0)➕
backend/open_webui/services/providers/__init__.py(+2 -0)➕
backend/open_webui/services/providers/embedding_azure_openai.py(+51 -0)...and 48 more files
📄 Description
contributor license agreement
Summary
Introduces Enterprise Mode foundations: typed runtime settings, DI providers with lazy imports, /api/v1/system/health, and a slim enterprise Docker build path. Fixes frontend build stability (pyodide prefetch, Tiptap v3). Updates Admin > Enterprise to show “effective” engines (OCR read‑only; link to Documents settings).
Why Enterprise (from ENTERPRISE.md)
Key changes
How to test
Security/telemetry
Closes open-webui/open-webui#18917
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.