fix: raise chat agent execution timeout (#195575)

This commit is contained in:
Joyce Er
2023-10-13 19:18:48 +02:00
committed by GitHub
parent baafa5d537
commit 4efeb37cc3
@@ -63,7 +63,7 @@ export class ExtHostChatAgents2 implements ExtHostChatAgentsShape2 {
const commandExecution = new DeferredPromise<void>();
token.onCancellationRequested(() => commandExecution.complete());
setTimeout(() => commandExecution.complete(), 3 * 1000);
setTimeout(() => commandExecution.complete(), 10 * 1000);
this._extHostChatProvider.allowListExtensionWhile(agent.extension.identifier, commandExecution.p);
const slashCommand = request.command