mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[GH-ISSUE #14543] issue: Custom models based on those from OpenAI compatible API are not visible in the models list #17298
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 @cybergod96 on GitHub (May 31, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14543
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.6.13
Ollama Version (if applicable)
No response
Operating System
Windows 10
Browser (if applicable)
Firefox 139.0.1
Confirmation
README.md.Expected Behavior
Custom model (created in Workspace > Models) based on model from OpenAI compatible API should be visible on the list of models in the Chat window.
Actual Behavior
Custom model (created in Workspace > Models) based on model from OpenAI compatible API is not visible on the list of models in the Chat window.
Steps to Reproduce
Logs & Screenshots
Backend logs:
Browser logs:
Additional Information
@silenceroom commented on GitHub (Jun 1, 2025):
The new updates now supports to "hide" the custom workspace model from the "dropdown" model list, see if those models were hided from the workspace operation.
@firmansi commented on GitHub (Jun 1, 2025):
I don't experience this so far, even with quite buggy latest version, 0.6.12 and 0.6.13. I use openrouter as the API
@cybergod96 commented on GitHub (Jun 1, 2025):
This didn't help unfortunately. I disabled and enabled model, then clicked Hide and then Show. I even tried exporting it, deleting and importing, but still the model is not visible on the list.
Here are debug logs:
logs_no_ollama.txt - ollama was disabled
logs_with_ollama.txt - ollama was enabled
Endpoint /api/models returns empty list.
@firmansi commented on GitHub (Jun 1, 2025):
Are you using public IP or private IP?
@cybergod96 commented on GitHub (Jun 1, 2025):
Private IP.
@firmansi commented on GitHub (Jun 1, 2025):
In this case, my openwebui running with public IP and using the from Openrouter and don't have any issue with Custom Model with base model Deepseek R1-0528. I know this is not a solution as you might expect, but you might want to use custom pipe. OpenwebUI sometimes experience issues from one version to another latest version since so many developers contribute their work to openWebUI, so sometimes new features addition can cause unexpected issues that not happening before
@cybergod96 commented on GitHub (Jun 1, 2025):
Okay, after a bit of debugging I found that function get_all_models in backend/open_webui/utils/models.py prematurely returns empty list if function get_all_base_models returns empty list and it does when ollama and openai api integration is disabled (which is my case). After commenting out this return, the model shows up on the list but then when I try to chat with it I get "Model not found" error. Gonna do some more debugging and maybe I'll be able to fix the issue.
@Yorickbao commented on GitHub (Jun 3, 2025):
Yes, I have also encountered this problem. The model disappeared inexplicably. Upgrade to 0.6.13 today
@Zyfax commented on GitHub (Jun 3, 2025):
You need to add the connection under
Admin Panel > Settings > Connectionnot underSettings > Connections.@cybergod96 commented on GitHub (Jun 3, 2025):
Yep, adding connection through Admin Panel fixes this. Thank you.
I checked documentation again and it clearly tells you to set this up there. When I first launched the app I haven't checked the documentation and tried to set up API using User settings as it was the first thing I noticed. There I noticed that Direct connections is disabled so I enabled it, set up APIs and everything worked fine so I assumed it's the correct way. That said, I think some UI adjustments could be done to prevent this confusion in the future, but for now I think this issue can be closed.