Originally created by @lvickyj on GitHub (Nov 13, 2024).
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
Originally created by @lvickyj on GitHub (Nov 13, 2024).
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.
<img width="694" alt="Screenshot 2024-11-13 at 4 21 22 PM" src="https://github.com/user-attachments/assets/31e875b5-6014-4fa5-a64b-03c32234fd3c">
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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @lvickyj on GitHub (Nov 13, 2024).
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