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 rate-limit call in oracle agent-stats endpoint

nirholasbd71226faeff
diff --git a/api/oracle/agent-stats.js b/api/oracle/agent-stats.js
index 8ea396ff4..538247bae 100644
--- a/api/oracle/agent-stats.js
+++ b/api/oracle/agent-stats.js
@@ -25,7 +25,8 @@ export default async function handleAgentStats(req, res) {
if (!method(req, res, ['GET'])) return;
const ip = clientIp(req);
- if (await rateLimited(res, limits.moderate, ip)) return;
+ const rl = await limits.publicIp(ip);
+ if (!rl.success) return rateLimited(res, rl);
const params = new URL(req.url, 'http://x').searchParams;
const agentId = params.get('agent_id') || '';