mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #6896] enhancement: lazy load models list #14523
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 @lvickyj on GitHub (Nov 13, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6896
Initial page load when having many api keys loaded, especially to api provders with many models is very slow. (5s)
I tried to do page load without any models enabled, it is much faster, less than 800ms.

analytics indicate that fetching models is taking upwards of 3s, which I'm guessing is due to querying /models for each provider at time. It would be faster to lazy load/eager load the full list of models and only load the default model(s) before initial page load and load the full list on clicking the dropdown menu or in the background after initial page load