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.

chore(api): write the memory-limiter key separator as an escape, not a raw NUL byte

fudjiacd060acfaac0
diff --git a/api/_lib/rate-limit.js b/api/_lib/rate-limit.js
index 4909e63c1..83468afe7 100644
--- a/api/_lib/rate-limit.js
+++ b/api/_lib/rate-limit.js
@@ -235,7 +235,7 @@ function memoryLimiter(name, { limit, window }) {
if (ms > maxMemoryWindowMs) maxMemoryWindowMs = ms;
return {
async limit(id) {
- const key = `${name}${id}`;
+ const key = `${name}\u0000${id}`;
const now = Date.now();
sweepMemoryBuckets(now);
const bucket = memoryBuckets.get(key) || [];