mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
Add privacy notice slash command (#2059)
This commit is contained in:
parent
4fbffdf617
commit
a2a46c7c67
13 changed files with 468 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue