mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-04 07:47:12 -05:00
[GH-ISSUE #15111] feat: improve performance getting models #137200
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 @mknet3 on GitHub (Jun 18, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15111
Check Existing Issues
Problem Description
Hi! I'm experiencing a high latency in the application when there are many models (more than 30) enabled. There are many queries being executed just to load the models. Here an example of a trace in Datadog (more than 500 spans):
There are a lot of queries to get functions
Desired Solution you'd like
I would consider a fast query to get the models when loading the application and specific queries to get specific models when the user is going to use them.
Also consider cache models would be beneficial.
Alternatives Considered
No response
Additional Context
No response
@tjbck commented on GitHub (Jun 18, 2025):
PR welcome!