});
for (const toolCall of toolCalls) {
type: ActionType.ChatToolCallAuthRequired,
turnId: toolCall.turnId,
toolCallId: toolCall.toolCallId,
auth,
}, toolCall.parentToolCallId);
}
this._logService.info(`[Copilot:${this.sessionId}] MCP server '${request.serverName}' requires authentication for ${resource.resource}`);
return deferred.p.finally(() => this._pendingMcpAuthRequests.delete(request.requestId));