[GH-ISSUE #12117] issue: v1//models 404 #16473

Closed
opened 2026-04-19 22:23:09 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @danghaoyu on GitHub (Mar 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12117

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

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

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

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

Originally created by @danghaoyu on GitHub (Mar 27, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12117 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### 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 - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### 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_
GiteaMirror added the bug label 2026-04-19 22:23:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16473