mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #14253] issue: Custom models are not selectable when serving with VLLM and using pip to install open webui. #17192
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 @nickeisenberg on GitHub (May 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14253
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.10
Ollama Version (if applicable)
N/A
Operating System
Ubuntu 24.04 (WSL)
Browser (if applicable)
136.0.7103.114
Confirmation
README.md.Expected Behavior
I am serving CodeLlama-13b-Instruct-hf with VLLM and using Open Webui to connect. This all works fine and I am able to interact with the model. However, If I add knowledge and create a custom model with CodeLlama-13b-Instruct-hf as the base and attach the knowledge to it, I am unable to select this model to use. However, if I open up the webui.db sqlite file, I can see that custom model is in there but I am still not able to select and use this model from within the UI.
Actual Behavior
I am unable to use my custom model.
Steps to Reproduce
At this point you can use code llama just fine
Go to workspace > knowledge and add the md files
Go to workspace > models and create the new model with code llama as the base model and add the knowledge
Save the model.
The model will now appear in the .../lib/python3.11/site-packages/open_webui/data/webui.db file but will not be accessible to use from the UI.
Logs & Screenshots
N/A
Additional Information
No response
@tjbck commented on GitHub (May 23, 2025):
Use system level connections instead of direct connections.
@nickeisenberg commented on GitHub (May 23, 2025):
Thanks for the reply. What do you mean by system level connections? I Turned off direct connections in the admin panel, but I do not see a system connections option.
@nickeisenberg commented on GitHub (May 23, 2025):
I got it working. In the admin panel under open api connections, I had to add http://localhost:8000/v1