Send g1t's own runs through the model proxy too
The proxy now holds g1t's Anthropic key, so no sandbox holds a key at all: every run carries only a token for itself.
1 file+1−10/1 viewed
| 50 | 50 | // g1t's own runs go through the proxy only once it holds g1t's | |
| 51 | 51 | // Anthropic key: npx wrangler secret put ANTHROPIC_API_KEY in | |
| 52 | 52 | // services/models, then set this to "true". | |
| 53 | − | "MODELS_PROXY_HOSTED": "false", | |
| 53 | + | "MODELS_PROXY_HOSTED": "true", | |
| 54 | 54 | // Set to a Cloudflare AI Gateway id to route model traffic through it. | |
| 55 | 55 | // Used only when MODELS_URL is unset. | |
| 56 | 56 | "AI_GATEWAY_ID": "g1t", |