n8n
Version:
n8n Workflow Automation Tool
21 lines (20 loc) • 638 B
TypeScript
import { Project, WithTimestampsAndStringId } from '@n8n/db';
import { AgentHistory } from './agent-history.entity';
import { Agent } from './agent.entity';
export declare class AgentExecutionThread extends WithTimestampsAndStringId {
agent: Agent;
agentId: string;
agentName: string;
title: string | null;
emoji: string | null;
project: Project;
projectId: string;
taskId: string | null;
taskVersion: AgentHistory | null;
taskVersionId: string | null;
sessionNumber: number;
totalPromptTokens: number;
totalCompletionTokens: number;
totalCost: number;
totalDuration: number;
}