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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(mcp-studio): caption a collected model with the user's words, not the generator's expanded brief
nirholas9a5f6d5ea08a
diff --git a/api/_mcp-studio/component.js b/api/_mcp-studio/component.jsindex d87563c45..23ce26aa8 100644--- a/api/_mcp-studio/component.js+++ b/api/_mcp-studio/component.js@@ -385,9 +385,11 @@ export const COMPONENT_HTML = `<!doctype html>if (out && out.status === 'pending') { paintPending(); schedule(); return; }if (out && out.glbUrl) {if (p.next === 'rig' && !out.rigged) { rigThenFinish(out); return; }- // A rig job knows only its input mesh, so its result carries the- // rigger's own label; keep the words the user asked for.- finish(p.stage === 'rig' ? Object.assign({}, out, { rigged: true, prompt: p.prompt || out.prompt }) : out);+ // A collected job reports the prompt the generator ran, which is the+ // director's long spec (or, for a rig, the rigger's own label). The+ // caption keeps the words the user asked for.+ var caption = { prompt: p.prompt || out.prompt };+ finish(Object.assign({}, out, caption, p.stage === 'rig' ? { rigged: true } : {}));return;}stopPolling();