Files
classroomio/apps/api/src/services/agent/chat-history.ts
T

25 lines
543 B
TypeScript
Raw Normal View History

2026-04-27 11:40:38 +01:00
import {
listChatConversations,
getChatConversation,
createChatConversation,
saveChatMessages,
deleteChatConversation,
updateConversationTitle,
getChatHistory,
saveChatHistory,
deleteChatHistory
} from '@cio/db/queries/agent';
export {
listChatConversations,
getChatConversation,
createChatConversation,
saveChatMessages,
deleteChatConversation,
updateConversationTitle,
// Legacy compat
getChatHistory as fetchChatHistory,
saveChatHistory as persistChatHistory,
deleteChatHistory as clearChatHistory
};