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.

Refactor code structure for improved readability and maintainability

nirholasd12d1e06190e
diff --git a/chat/src/Message.svelte b/chat/src/Message.svelte
index 3005156ad..abb29e7d2 100644
--- a/chat/src/Message.svelte
+++ b/chat/src/Message.svelte
@@ -124,7 +124,7 @@
<!-- svelte-ignore a11y-click-events-have-key-events a11y-no-noninteractive-element-interactions -->
<li
data-role={message.role}
- class="group relative flex {message.role === 'user' ? 'justify-end' : 'justify-start'} py-4"
+ class="group relative flex {message.role === 'user' ? 'justify-end' : 'justify-start'} pt-4 pb-10"
style="z-index: {convo.messages.length - i};"
on:touchstart={(event) => {
// Make click trigger hover on mobile:
diff --git a/public/chat/index.html b/public/chat/index.html
index a821bbfdb..094acb584 100644
--- a/public/chat/index.html
+++ b/public/chat/index.html
@@ -34,8 +34,8 @@
crossorigin="anonymous"
/>
<title>three.ws chat</title>
- <script type="module" crossorigin src="/chat/assets/index-CsEUjPUW.js"></script>
- <link rel="stylesheet" crossorigin href="/chat/assets/index-BBu-jFVK.css">
+ <script type="module" crossorigin src="/chat/assets/index-DtRh3XUY.js"></script>
+ <link rel="stylesheet" crossorigin href="/chat/assets/index-CVjzVYsZ.css">
</head>
<body>
<div id="app"></div>