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.

docs(model-trellis): name the right probe now that routing reads /health

nirholaseee6aeb4af2f
diff --git a/workers/model-trellis/README.md b/workers/model-trellis/README.md
index 43b795443..ea94d2303 100644
--- a/workers/model-trellis/README.md
+++ b/workers/model-trellis/README.md
@@ -19,10 +19,13 @@ served back as an `https://storage.googleapis.com/…` URL.
`POST /infer` and `GET /tasks/{id}` require `Authorization: Bearer $API_KEY`.
`GET /health` and `GET /` are unauthenticated: they carry no secrets, and the
-platform's warmth probe ([`api/_lib/forge-lane-health.js`](../../api/_lib/forge-lane-health.js),
-[`api/cron/gpu-keepwarm.js`](../../api/cron/gpu-keepwarm.js)) reads the root to
-decide whether this lane is up. Cloud Run's own startup probe is a TCP check on
-port 8080, not an HTTP one.
+platform reads them to decide whether this lane can take work. Routing
+([`api/_lib/forge-lane-health.js`](../../api/_lib/forge-lane-health.js),
+[`api/_lib/forge-health.js`](../../api/_lib/forge-health.js)) reads `/health`,
+because a worker whose weight load failed is reachable but unusable; the
+keep-warm cron ([`api/cron/gpu-keepwarm.js`](../../api/cron/gpu-keepwarm.js))
+pings the root. Cloud Run's own startup probe is a TCP check on port 8080, not
+an HTTP one.
### `POST /infer` → `202`
@@ -149,8 +152,9 @@ window wait for `ready` (up to 600 s) rather than failing.
### `GET /`
-Unauthenticated service descriptor, answered so the platform's warmth probe
-stops recording a 404 every minute in this service's log:
+Unauthenticated service descriptor. It exists so a root ping stops recording a
+404 in this service's log: there were 257 of those in the 24 h to 2026-08-11
+against two real error events, which is how a genuine failure goes unnoticed.
```json
{
diff --git a/workers/model-trellis/main.py b/workers/model-trellis/main.py
index f0d113919..50bc0fe2a 100644
--- a/workers/model-trellis/main.py
+++ b/workers/model-trellis/main.py
@@ -636,14 +636,15 @@ async def get_task(task_id: str, authorization: str = Header(...)) -> dict:
@app.get("/")
async def root() -> dict:
- """Service descriptor for the platform's warmth probe.
-
- api/_lib/forge-lane-health.js and api/cron/gpu-keepwarm.js keep this worker
- resident with an authenticated GET against the root, and treat any status
- below 500 as "the container is up". Without a route here every one of those
- probes logged a 404 at WARNING severity, roughly once a minute forever,
- which buried the real errors in this service's log. Answering 200 with the
- readiness the probe actually wants costs nothing and keeps the log honest.
+ """Service descriptor, and the answer to the platform's warmth ping.
+
+ api/cron/gpu-keepwarm.js holds a scale-to-zero lane resident with an
+ authenticated GET against the worker root and treats any status below 500 as
+ "the container is up". With no route here that ping, and every other probe
+ that ever hit the root, logged a 404 at WARNING severity: 257 of them in the
+ 24 h to 2026-08-11, against exactly two real error events, so the noise
+ buried the signal. Answering 200 costs nothing and keeps the log honest.
+ Routing itself reads /health, which carries the load state this cannot.
Unauthenticated, exposing exactly what /health already does.
"""
return {