mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 19:37:47 +01:00
move the config to env.py
This commit is contained in:
@@ -658,12 +658,6 @@ except Exception:
|
||||
|
||||
OPENAI_API_BASE_URL = "https://api.openai.com/v1"
|
||||
|
||||
OPENAI_FORWARD_USER_INFO_AS_HEADERS = PersistentConfig(
|
||||
"OPENAI_FORWARD_USER_INFO_AS_HEADERS",
|
||||
"oauth.OPENAI_FORWARD_USER_INFO_AS_HEADERS",
|
||||
os.environ.get("OPENAI_FORWARD_USER_INFO_AS_HEADERS", "False").lower() == "true",
|
||||
)
|
||||
|
||||
####################################
|
||||
# WEBUI
|
||||
####################################
|
||||
|
||||
Reference in New Issue
Block a user