chore(vscode-ide-companion): change comments and delays

This commit is contained in:
yiliang114 2025-12-12 01:17:38 +08:00
parent 25261ab88d
commit 02234f5434
3 changed files with 4 additions and 4 deletions

View file

@ -1222,7 +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 setTimeout(() => Promise.resolve(), 300); // slight delay to ensure auth state is settled
await this.connection.newSession(workingDir);
} catch (reauthErr) {
// Clear potentially stale cache on failure and rethrow