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(cache): declare quotaExhausted in cacheHealth's JSDoc return type

nirholasedbc831eac9f
diff --git a/api/_lib/cache.js b/api/_lib/cache.js
index 3033b3de3..941e6f8a0 100644
--- a/api/_lib/cache.js
+++ b/api/_lib/cache.js
@@ -440,7 +440,7 @@ export function cacheBackend() {
* @returns {{ backend: string, configured: boolean, degraded: boolean,
* circuitOpen: boolean, circuitReopensInMs: number, setSuppressed: boolean,
* consecutiveFailures: number, consecutiveSetFailures: number,
- * totalSetFailures: number, totalCircuitOpens: number }}
+ * totalSetFailures: number, totalCircuitOpens: number, quotaExhausted: boolean }}
*/
export function cacheHealth() {
const now = Date.now();