mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
fix(vscode-ide-companion): slight delay to ensure auth state settlement
This commit is contained in:
parent
c20df192a8
commit
25261ab88d
5 changed files with 93 additions and 175 deletions
|
|
@ -1222,6 +1222,7 @@ export class QwenAgentManager {
|
|||
if (effectiveAuth) {
|
||||
await effectiveAuth.saveAuthState(workingDir, authMethod);
|
||||
}
|
||||
await setTimeout(() => Promise.resolve(), 100); // slight delay to ensure auth state is settled
|
||||
await this.connection.newSession(workingDir);
|
||||
} catch (reauthErr) {
|
||||
// Clear potentially stale cache on failure and rethrow
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue