You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Manage models provider switch stalls on large catalogs #51480
In Manage models, the switch on a provider row updates every model in that provider one at a time. With a large catalog, OpenRouter has a few hundred models, the switch sits there for about a second before it moves.
The visibility result is right. The write is just one store update per model, and each one refreshes the open list.
Thanks for the clear report. I couldn't reproduce this here because it needs the Desktop app, which this environment can't run. A maintainer with the Desktop app and a large provider catalog will need to check it.
From reading the code, the provider switch in Manage models calls the visibility update once for each model in the provider, and nothing groups those updates. That fits what you're seeing: each update refreshes the open list, so with a few hundred OpenRouter models it adds up to a noticeable pause before the switch moves. I haven't been able to confirm this by running it.
Activity
opencodejr commentedon Oct 28, 2026
Thanks for the clear report. I couldn't reproduce this here because it needs the Desktop app, which this environment can't run. A maintainer with the Desktop app and a large provider catalog will need to check it.
From reading the code, the provider switch in Manage models calls the visibility update once for each model in the provider, and nothing groups those updates. That fits what you're seeing: each update refreshes the open list, so with a few hundred OpenRouter models it adds up to a noticeable pause before the switch moves. I haven't been able to confirm this by running it.