Add privacy notice slash command (#2059)

This commit is contained in:
Tommaso Sciortino 2025-06-27 12:07:38 -07:00 committed by GitHub
parent 4fbffdf617
commit a2a46c7c67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 468 additions and 15 deletions

View file

@ -226,11 +226,6 @@ export class Config {
}
async refreshAuth(authMethod: AuthType) {
// Check if this is actually a switch to a different auth method
const previousAuthType = this.contentGeneratorConfig?.authType;
const _isAuthMethodSwitch =
previousAuthType && previousAuthType !== authMethod;
// Always use the original default model when switching auth methods
// This ensures users don't stay on Flash after switching between auth types
// and allows API key users to get proper fallback behavior from getEffectiveModel