Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix: update message component styling for latest assistant role

nirholas0d1a05c6a1fc
diff --git a/chat/src/Message.svelte b/chat/src/Message.svelte
index 05a5b1c18..8c4674b12 100644
--- a/chat/src/Message.svelte
+++ b/chat/src/Message.svelte
@@ -188,11 +188,11 @@
message.role = 'user';
}
}}
- class="shrink-0 rounded-md md:rounded-[6px] {message.role === 'assistant' && hasLogo
+ class="shrink-0 rounded-md md:rounded-[6px] {message.role === 'assistant' && hasLogo && isLatestAssistant
? 'flex h-[220px] w-[220px]'
: 'flex h-8 w-8 md:h-9 md:w-9'} {message.role === 'system'
? 'border border-teal-200 bg-teal-100'
- : message.role === 'assistant' && !hasLogo
+ : message.role === 'assistant' && (!hasLogo || !isLatestAssistant)
? 'border border-teal-200 bg-teal-100 pb-px'
: ''}"
>