pr_01m47d24b0e6n91zwymwxg0vpx/services/models/wrangler.jsonc
| 1 | { |
| 2 | "$schema": "../../node_modules/wrangler/config-schema.json", |
| 3 | "name": "g1t-models", |
| 4 | "account_id": "1e6f2cffa3f445920836e8ebe446bb58", |
| 5 | "compatibility_date": "2026-09-26", |
| 6 | "main": "./src/index.ts", |
| 7 | "workers_dev": false, |
| 8 | // Sandboxes reach models only through here, with a token for their run. |
| 9 | "routes": [{ "pattern": "models.g1t.sh", "custom_domain": true }], |
| 10 | "services": [{ "binding": "INTEGRATIONS", "service": "g1t-integrations" }], |
| 11 | "vars": { |
| 12 | // g1t's own route, for runs g1t pays for: a Cloudflare AI Gateway, |
| 13 | // which holds g1t's key. |
| 14 | "AI_GATEWAY_ID": "g1t", |
| 15 | "CLOUDFLARE_ACCOUNT_ID": "1e6f2cffa3f445920836e8ebe446bb58" |
| 16 | }, |
| 17 | // Secrets: AI_GATEWAY_TOKEN; ANTHROPIC_API_KEY only if the gateway does |
| 18 | // not hold g1t's key. |
| 19 | "observability": { "enabled": true } |
| 20 | } |