document.querySelector('aparte-chat-viewport').setMessages([
{ id: 'u1', role: 'user', content: 'How do I export my data?', timestamp: Date.now() },
{ id: 'a1', role: 'assistant', content: 'Open Settings, then Data, and choose Export. You get a ZIP of your conversations and files.', timestamp: Date.now() },
{
id: 'u2', role: 'user', content: 'Can I schedule it every week?', timestamp: Date.now(),
contextSummary: {
summary: 'The user asked how to export their data; the assistant explained Settings, then Data, then Export, which produces a ZIP of conversations and files.',
count: 2,
createdAt: Date.now(),
},
},
{ id: 'a2', role: 'assistant', content: 'Yes: under Export, turn on Weekly export and pick the day.', timestamp: Date.now() },
]);