mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-23 18:02:25 -05:00
[GH-ISSUE #20819] issue: Model Tags Validation Missing - UI Breaks with Direct API Calls #106292
Reference in New Issue
Block a user
Originally created by @adhar-godaddy on GitHub (Jan 20, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20819
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.7.2
Ollama Version (if applicable)
No response
Operating System
macOS
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Models should have properly formatted tags that adhere to the structure
expected by the UI components ([{"name": "TagName"}]), even when created or
updated via direct API calls.
Actual Behavior
Direct API calls can save model tags in any format since there's no backend
validation. When incorrectly formatted tags are stored in the database:
The model list API endpoint (http://localhost:8080/api/models) returns a 500 Internal Server Error
The UI gets stuck in an infinite loading state, displaying only a blank
white screen with the left sidebar
Steps to Reproduce
- The models API endpoint (http://localhost:8080/api/models) returns a 500 Internal Server Error
- The UI gets stuck in a loading/retry loop (see screenshot attached below)
Logs & Screenshots
UI keeps on loading forever:
Console error:
Additional Information
This vulnerability was discovered when testing direct API calls to update
models. While standard UI usage doesn't expose this issue (as the frontend
components enforce correct format), any system integration that uses the API
directly could introduce malformed tags that break the UI.
@owui-terminator[bot] commented on GitHub (Jan 20, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20361 Issue: Large-scale model setting-related functionality fails.
by shentong0722 • Jan 04, 2026 •
bug#19711 issue: Editing function for models broken
by skleffmann • Dec 03, 2025 •
bug#15271 issue: Models list api Fails
by dani01Lost4ever • Jun 24, 2025 •
bug#18711 issue: Duplicate model tags in dropdown
by thiswillbeyourgithub • Oct 29, 2025 •
bug#14453 issue: Tags cutting off when picking a model
by sharpener857 • May 28, 2025 •
bugShow 5 more related issues
#19615 issue: [TEST] Models Not Available to Users
by westbrook-ai • Nov 30, 2025 •
bug#19610 issue: Models not appearing for non-admin users
by westbrook-ai • Nov 30, 2025 •
bug#19103 issue: no response from the model when ask in "channels"
by silenceroom • Nov 11, 2025 •
bug#19194 issue: Prefix ID doesn't reliably show up in model names.
by MicahZoltu • Nov 15, 2025 •
bug#20048 issue: Public custom model access broken
by lochmaster • Dec 19, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@tjbck commented on GitHub (Mar 25, 2026):
Addressed in dev.