Kilnhouse supportUsually answers in a minute
// The chat inside is an ordinary <aparte-chat>: here a script answers it; in a page, AparteClient.
const chat = document.getElementById('help');
let n = 0;
chat.addEventListener('aparte-send', (event) => {
// The greeting is already a message, so the starters go with the first question.
chat.querySelector('aparte-suggestions').hidden = true;
chat.viewport.appendMessage({ id: 'u' + ++n, role: 'user', content: event.detail.content, timestamp: Date.now() });
chat.viewport.appendMessage({ id: 'a' + ++n, role: 'assistant', content: 'Your order left the warehouse this morning.', timestamp: Date.now() });
});