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(asl-worker): cap in-instance concurrency so signing bursts scale out instead of queueing behind the interpreter lock

nirholasdc57ebdfb62b
diff --git a/workers/model-asl-recognition/cloudbuild.yaml b/workers/model-asl-recognition/cloudbuild.yaml
index d81309d94..415b33573 100644
--- a/workers/model-asl-recognition/cloudbuild.yaml
+++ b/workers/model-asl-recognition/cloudbuild.yaml
@@ -51,6 +51,12 @@ steps:
- --min-instances=0
- --max-instances=4
- --timeout=60
+ # One LiteRT interpreter per process, guarded by a lock in main.py, so
+ # inference is serialized inside an instance no matter how many requests
+ # land on it. Cloud Run's default (320) would queue hundreds behind that
+ # lock and blow the 60s timeout instead of scaling out; 8 keeps the
+ # in-instance wait to a few seconds and lets autoscaling add instances.
+ - --concurrency=8
- --allow-unauthenticated
- --set-secrets=API_KEY=avatar-reconstruction-key:latest