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(forge): carry the stylize worker's face count through to the panel

nirholas8511524a8848
diff --git a/api/_providers/gcp.js b/api/_providers/gcp.js
index 52c0a5352..6aea61142 100644
--- a/api/_providers/gcp.js
+++ b/api/_providers/gcp.js
@@ -601,6 +601,12 @@ export function createRegenProvider({ reconstructUrl } = {}) {
if (data.texture_url) result.textureUrl = data.texture_url;
if (data.mode) result.mode = data.mode;
}
+ // The stylize worker reports the rebuilt mesh's face count and the
+ // forge's stylize panel renders it beside the result, so it has to
+ // survive the hop: without this it arrived as null every time.
+ if (mode === 'stylize' && typeof data.face_count === 'number') {
+ result.faceCount = data.face_count;
+ }
// Surface the parts manifest so callers can render a selectable
// part list without a second fetch.
if (mode === 'segment') {