mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-14 05:02:01 -06:00
[GH-ISSUE #16999] issue: Endpoint models and models/ is called at the same time and returning different output #137858
Reference in New Issue
Block a user
Originally created by @alvarellos on GitHub (Aug 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16999
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.26
Ollama Version (if applicable)
No response
Operating System
macOS
Browser (if applicable)
chrome (checked in development tools - network)
Confirmation
README.md.Expected Behavior
Option 1: Only one endpoint
Option 2: If both endpoints are used the values of the models should match (using same methods to parse the response to the frontend)
Actual Behavior
The endpoint defined in the backend is
.get("/models")
but looks like the frontend is calling as well
.get("/models/")
Having different outputs which means
async def get_all_models(request, refresh: bool = False, user: UserModel = None):
is only applying to /models and not to /models/
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@tjbck commented on GitHub (Aug 28, 2025):
Unable to reproduce.