* feat(core,ui): support Gemini 3.1 Pro Preview and active model filtering
* fix(core,ui): use optional chaining for config methods to support mocks
* fix(core): clear stale authType in refreshAuth to avoid incorrect model resolution
* do not show gemini 3.1 model when users do not have access to gemini 3.1 in stats