mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
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/16453
Author: @Grener8
Created: 8/10/2025
Status: ❌ Closed
Base:
dev← Head:load-user-defined-env-vars📝 Commits (1)
567220fLoad user-defined .env variables for CLI commands (Fixes #16450)📊 Changes
2 files changed (+6 additions, -4 deletions)
View changed files
📝
backend/open_webui/__init__.py(+2 -0)📝
backend/open_webui/env.py(+4 -4)📄 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
Python backend ignores user-defined
.envsettings (e.g.OFFLINE_MODE=True) when installed viapipand run withopen-webui serve. Detailed information at #16450Fixed
.envvariables (e.g.OFFLINE_MODE=True) now correctly load when running CLI commands such asopen-webui serveandopen-webui devafter pip installation..envpath lookup withfind_dotenv(usecwd=True)to allow loading from the current working directory.envin__init__.py.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.