mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix(vscode-ide-companion): slight delay to ensure auth state settlement
This commit is contained in:
@@ -119,11 +119,6 @@ export class QwenConnectionHandler {
|
||||
|
||||
// Save auth state
|
||||
if (authStateManager) {
|
||||
console.log(
|
||||
'[QwenAgentManager] Saving auth state after successful authentication',
|
||||
);
|
||||
console.log('[QwenAgentManager] Working dir for save:', workingDir);
|
||||
console.log('[QwenAgentManager] Auth method for save:', authMethod);
|
||||
await authStateManager.saveAuthState(workingDir, authMethod);
|
||||
console.log('[QwenAgentManager] Auth state save completed');
|
||||
}
|
||||
@@ -145,6 +140,7 @@ export class QwenConnectionHandler {
|
||||
}
|
||||
|
||||
try {
|
||||
await setTimeout(() => Promise.resolve(), 100); // slight delay to ensure auth state is settled
|
||||
console.log(
|
||||
'[QwenAgentManager] Creating new session after authentication...',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user