g1t/services/models/wrangler.jsonc

24 lines901 bytesCodeBlame
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": [
11 { "binding": "INTEGRATIONS", "service": "g1t-integrations" },
12 // Where each run's tokens are counted, for usage views.
13 { "binding": "BILLING", "service": "g1t-billing" }
14 ],
15 "vars": {
16 // g1t's own route, for runs g1t pays for: a Cloudflare AI Gateway,
17 // which holds g1t's key.
18 "AI_GATEWAY_ID": "g1t",
19 "CLOUDFLARE_ACCOUNT_ID": "1e6f2cffa3f445920836e8ebe446bb58"
20 },
21 // Secrets: AI_GATEWAY_TOKEN; ANTHROPIC_API_KEY only if the gateway does
22 // not hold g1t's key.
23 "observability": { "enabled": true }
24}