Under the hood
Switching accounts now also clears a second cached-models store and adds another provider cache clear
What
When you switch accounts in Claude Code, it already cleared certain cached data. Now it also clears providerCache.validatedModels (moved to run earlier in the sequence, or duplicated there) and clears a second, previously-untouched cache.
Why
This helps ensure that stale cached data about validated models or providers from a previous account doesn't linger and affect behavior after you switch to a different account.