@n8n-plus/n8n-plus
Version:
n8n Workflow Automation Tool (plus edition)
32 lines (31 loc) • 883 B
TypeScript
import { ChatHubLLMProvider, AgentIconOrEmoji } from '@n8n/api-types';
import { User, CredentialsEntity, WithTimestamps } from '@n8n/db';
import { INode } from 'n8n-workflow';
export interface IChatHubAgent {
id: string;
createdAt: Date;
updatedAt: Date;
name: string;
description: string | null;
icon: AgentIconOrEmoji | null;
systemPrompt: string;
ownerId: string;
credentialId: string | null;
provider: ChatHubLLMProvider;
model: string;
tools: INode[];
}
export declare class ChatHubAgent extends WithTimestamps {
id: string;
name: string;
description: string | null;
icon: AgentIconOrEmoji | null;
systemPrompt: string;
ownerId: string;
owner?: User;
credentialId: string | null;
credential?: CredentialsEntity | null;
provider: ChatHubLLMProvider;
model: string;
tools: INode[];
}