mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 09:31:58 -05:00
[GH-ISSUE #15919] issue: Models loading stuck in infinite loop #17720
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 @eric-burel on GitHub (Jul 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15919
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.18
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04.2 LTS
Browser (if applicable)
Chromium Version 138.0.7204.157 (Build officiel) snap (64 bits)
Confirmation
README.md.Expected Behavior
List Mistral models
Actual Behavior
After adding an OpenAI API connection (on Mistral endpoint), going through the "models" tab will stay stuck to a loading spinner, changing tabs then stops working (the spinner stays there).
Steps to Reproduce
https://api.mistral.ai/v1+ API keyLogs & Screenshots
Browser logs :
Docker logs:
Additional Information
No response
@muka commented on GitHub (Aug 12, 2025):
To me happened just after adding antrophic openai api endpoint
@oboeglen commented on GitHub (Aug 12, 2025):
Bug seems remaining in 0.6.2, any solutions ?
Error : Uncaught (in promise) TypeError: can't access property "localeCompare", X.name is null
@rgaricano commented on GitHub (Aug 19, 2025):
(commented in https://discord.com/channels/1170866489302188073/1407314327257612308 )
If you want try this fix:
change
https://github.com/open-webui/open-webui/blob/main/src/lib/components/admin/Settings/Models.svelte#L66
by
return (a.name || '').localeCompare(b.name || '');and rebuild
EDITED,
In production images don't include source code - they only contain compiled files.
To apply this fix correctly, you need to use an image that includes source code (like :dev) or clone the repository and use docker-compose for development.
If docker you can try with this script for make the changes and rebuild frontend inside the docker:
(is a bash script, if you are in mswindows just run the commands by hand or make a bat)
(I'm not using docker, I didn't tried it)
@jtabox commented on GitHub (Aug 21, 2025):
Have been having the same issue... Read the comment in Discord but I'm not sure if a fix is live or not. On
v0.6.22via Docker. Will try the Docker script, it's just kinda impractical to do that every time I restart.@rgaricano commented on GitHub (Aug 21, 2025):
I edited my previous message, because the first script I posted used a build that doesn't include src, Node.js or development dependencies.