n8n
Version:
n8n Workflow Automation Tool
10 lines (9 loc) • 496 B
TypeScript
import { N8nMemory } from './integrations/n8n-memory';
export declare function chatThreadId(agentId: string, userId?: string): string;
export declare class AgentTestChatService {
private readonly n8nMemory;
constructor(n8nMemory: N8nMemory);
getTestChatMessages(agentId: string, userId: string): Promise<import("@n8n/agents").AgentDbMessage[]>;
clearTestChatMessages(agentId: string, userId: string): Promise<void>;
clearAllTestChatMessages(agentId: string): Promise<void>;
}