const { aparteGlobalConfig } = window.aparte;
// Avatars are a function that fills the avatar's element: initials here.
aparteGlobalConfig.setAvatarProvider({
render(role, host) { host.textContent = role === 'user' ? 'MO' : 'AI'; },
});
// An icon set is an object of SVG strings, one per glyph it replaces.
aparteGlobalConfig.setIconProvider({
send: () => '<svg class="aparte-icon" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M3.4 20.4 21 12 3.4 3.6 3.3 10l12.6 2-12.6 2z"/></svg>',
});