n8n
Version:
n8n Workflow Automation Tool
9 lines (8 loc) • 389 B
TypeScript
import type { AgentExecutionCounter } from '@n8n/agents';
import type { AgentRunTelemetryType } from '../../../interfaces';
import type { Telemetry } from '../../../telemetry';
export declare function createAgentExecutionCounter(telemetry: Telemetry, { agentId, userId, runType, }: {
agentId: string;
userId?: string;
runType: AgentRunTelemetryType;
}): AgentExecutionCounter;