mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #12117] issue: v1//models 404 #32002
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 @danghaoyu on GitHub (Mar 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12117
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.5.20
Ollama Version (if applicable)
No response
Operating System
Windows 10,
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
use open-webui connect to the local vllm
Actual Behavior
When the open-webui interface is used to connect to the local vllm, the model is Not displayed on the open-webui interface. The vllm log displays "GET /v1//models HTTP/1.1" 404 Not Found
Steps to Reproduce
export HF_ENDPOINT=https://hf-mirror.com
export ENABLE_OLLAMA_API=False
export OPENAI_API_BASE_URL=http://127.0.0.1:8000/v1/
open-webui serve
Logs & Screenshots
2025-03-27 15:20:31.511 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:50762 - "GET /api/config HTTP/1.1" 200 - {}
2025-03-27 15:20:31.627 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:50762 - "GET /api/changelog HTTP/1.1" 200 - {}
2025-03-27 15:20:31.637 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:50784 - "GET /manifest.json HTTP/1.1" 200 - {}
2025-03-27 15:20:31.646 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:50738 - "GET /api/v1/users/user/settings HTTP/1.1" 200 - {}
2025-03-27 15:20:31.720 | INFO | open_webui.routers.openai:get_all_models:379 - get_all_models() - {}
2025-03-27 15:20:31.726 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:50762 - "GET /static/logo.png HTTP/1.1" 304 - {}
2025-03-27 15:20:31.732 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:50738 - "GET /api/models HTTP/1.1" 200 - {}
2025-03-27 15:20:31.796 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:50738 - "GET /api/v1/configs/banners HTTP/1.1" 200 - {}
Additional Information
No response