summaryrefslogtreecommitdiff
path: root/packages/core/src/config/config.ts
diff options
context:
space:
mode:
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