UNPKG

ai-persona-hub

Version:

AI Profile CLI - Create custom AI profiles run against dynamic LLM providers

14 lines 690 B
import { ChatHistory, ChatMessage, SavedConversation } from '../types'; export declare class ChatHistoryManager { private profilesDir; constructor(profilesDir?: string); private getHistoryDir; private getHistoryFilePath; private ensureHistoryDirectory; loadChatHistory(profileId: string): Promise<ChatHistory>; saveChatHistory(history: ChatHistory): Promise<void>; addUserMessage(profileId: string, message: string): Promise<void>; saveConversation(profileId: string, messages: ChatMessage[]): Promise<void>; getRecentConversations(profileId: string, limit?: number): Promise<SavedConversation[]>; } //# sourceMappingURL=chat-history-manager.d.ts.map