mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #24319] bug: DEFAULT_MODEL_METADATA env not parsed when persistentconfig=false #58930
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?
Originally created by @Soakedcardinal on GitHub (May 2, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24319
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.9.2
Ollama Version (if applicable)
No response
Operating System
linux
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
default metadata (capabilities, builtin tools) is set from env when persistentconfig=false
Actual Behavior
DEFAULT_MODEL_METADATA environment variable is ignored
Steps to Reproduce
Logs & Screenshots
not applicable
Additional Information
DEFAULT_MODEL_METADATA is hardcoded to {} in config.py and never reads from the environment variable, despite the docs claiming it's configurable via env.
@owui-terminator[bot] commented on GitHub (May 2, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
#24163 v0.9.2: model save in admin UI overwrites meta.capabilities with form defaults
by zhapostolski
#20813 feat: add ability to define custom models with config files
by t18n
#21837 issue: DEFAULT_MODEL_PARAMS ignored despite ENABLE_PERSISTENT_CONFIG: "false"
by dkhachyan ·
bug#23404 issue: Context bug (Changes when you change base model)
by frenzybiscuit ·
bug#22996 issue: Default Model Metadata & Params not reflected in Model Editor UI
by kjpoccia ·
bug💡 If this is a duplicate, consider closing it and adding details to the existing issue.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.
@Soakedcardinal commented on GitHub (May 2, 2026):
Seems related to #24163 but I experienced this trying to configure via env var, not the ui. (My setup has persistent config false for reproducibility via docker). I have not specifically replicated/noticed #24163