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.

create-review: tail-end polish

nirholas14847a36162c
diff --git a/src/create-review.js b/src/create-review.js
index c2feb3e11..ca2f5ec5e 100644
--- a/src/create-review.js
+++ b/src/create-review.js
@@ -78,12 +78,17 @@ async function renderPreview(record) {
$('#tag-size').textContent =
record.size > 0 ? `${Math.round(record.size / 1024)} KB` : '— KB';
+ // Keep an object URL around for downstream consumers (Voice preview hands
+ // it to talk-mode, which loads via URL). The viewer itself now mounts
+ // directly from the Blob — `loader.parse(buffer)` instead of fetching the
+ // object URL — which sidesteps the "Failed to fetch" race when the page
+ // reloads or unloads mid-mount.
objectUrl = URL.createObjectURL(record.blob);
const container = $('#mv-container');
viewerScene = new TalkScene();
try {
- await viewerScene.mount({ container, glbUrl: objectUrl, cameraPreset: 'full' });
+ await viewerScene.mount({ container, glbBlob: record.blob, cameraPreset: 'full' });
} catch (err) {
console.error('[create-review] failed to mount viewer', err);
$('#viewer-loading').innerHTML =