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
fix: add optional chaining to router model accesses to prevent TypeError when switching providers
Fixes#9047 - When switching providers after selecting a model, the router models
for the new provider may not be loaded yet, causing a TypeError when trying to
access properties on undefined. Added optional chaining to safely handle these cases.
0 commit comments