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(rpc): report an exhausted Solana failover chain as a retryable 503
nirholas0a68d6d8c1d9
diff --git a/api/_lib/solana/rpc-fallback.js b/api/_lib/solana/rpc-fallback.jsindex fdf09ec33..3df3f4c52 100644--- a/api/_lib/solana/rpc-fallback.js+++ b/api/_lib/solana/rpc-fallback.js@@ -185,7 +185,15 @@ export class RpcFallback {// actionable condition (the whole failover chain is down), so it warns where// the per-endpoint rotations above only log.console.warn(`[rpc-fallback] all ${this.urls.length} endpoints exhausted`);- throw new Error('All RPC endpoints exhausted');+ // Carry the contract fields wrap() looks for. Without them this surfaced to+ // callers as a bare 500 `internal_error` with a support ref, which reads as+ // "the endpoint is broken" when the truth is "every upstream provider is+ // rate limited, retry shortly": a 503 the client and CDN can act on.+ throw Object.assign(new Error('All RPC endpoints exhausted'), {+ status: 503,+ code: 'upstream_unavailable',+ expose: true,+ });}// Advance to the next endpoint without setting a local cooldown and without