mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #11237] issue: Models defined by user from workspace has 404 model not found if foundation model is not available for admin #70760
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 @Oaklight on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11237
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.5.19
Ollama Version (if applicable)
No response
Operating System
debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When users have access to the Models page in their workspace, they should be able to customize/add their models and choose foundation models based on their preferences and availability.
This choice should be independent of the admin's model availability.
Actual Behavior
Models defined by user from workspace result in "404 model not found" if the chosen foundation model is not available for root admin. Users are configuring their own API. For example, deepseek-v3 as added in the following "logs and screenshots" that's only available to user API will trigger 404. But direct conversation with deepseek-v3 is working fine. Switching to yi-lightning that's available to both admin and user works fine for custom model.
Steps to Reproduce
Logs & Screenshots
user defined model with deepseek-v3 only available to their api

user conversation with their model has 404

Additional Information
I use gateway to host lots of api providers, so on that api gateway, I see the query from openwebui has empty model name for such conversation test.
@tjbck commented on GitHub (Mar 5, 2025):
Custom models with direct connections are not supported.
@Oaklight commented on GitHub (Mar 5, 2025):
If that's the design, then there should be no "+" option on workspace/models for user role. And the user who is granted access to the model defined by the admin should only be able to choose from a restricted selection of foundation models (for example let the admin curate a list of options) instead of seeing the user-side model list. or simply doesn't allow user role customization for workspace/models. Current UI design is confusing. @tjbck