fix: sync token among multiple qwen sessions (#443)

* fix: sync token among multiple qwen sessions

* fix: adjust cleanup function
This commit is contained in:
Mingholy 2025-08-27 13:17:28 +08:00 committed by GitHub
parent de279b56f3
commit 009e083b73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 3579 additions and 449 deletions

View file

@ -69,10 +69,6 @@ export function AuthDialog({
return item.value === AuthType.USE_GEMINI;
}
if (process.env.QWEN_OAUTH_TOKEN) {
return item.value === AuthType.QWEN_OAUTH;
}
return item.value === AuthType.LOGIN_WITH_GOOGLE;
}),
);