const agent = this._options.getAgent(sessionChannel);
if (!agent) {
type: ActionType.ChatError,
turnId: action.turnId,
duration: this._turnDuration(turnStopWatch),
error: { errorType: 'noAgent', message: 'No agent found for session' },
});
return;
}
const attachments = action.message.attachments;
this._telemetryReporter.userMessageSent(agent.id, channel, state, 'direct', attachments);