summaryrefslogtreecommitdiff
path: root/packages/core/src/config/config.ts
diff options
context:
space:
mode:
authorTommaso Sciortino <[email protected]>2025-06-27 12:07:38 -0700
committerGitHub <[email protected]>2025-06-27 19:07:38 +0000
commita2a46c7c6700edc6840faa2675d92695d2d3104d (patch)
treee0a10e0e5f83f9c55d8a4b459077822626937405 /packages/core/src/config/config.ts
parent4fbffdf617b2fb87c1b663391fbe488c5c81beb8 (diff)
Add privacy notice slash command (#2059)
Diffstat (limited to 'packages/core/src/config/config.ts')
-rw-r--r--packages/core/src/config/config.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts
index b266512c..75b73a85 100644
--- a/packages/core/src/config/config.ts
+++ b/packages/core/src/config/config.ts
@@ -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