Commit

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.

syntaqxcommitted Parent58cb226Browse files
1 file+1−10/1 viewed
+1−1
5050 // g1t's own runs go through the proxy only once it holds g1t's
5151 // Anthropic key: npx wrangler secret put ANTHROPIC_API_KEY in
5252 // services/models, then set this to "true".
53− "MODELS_PROXY_HOSTED": "false",
53+ "MODELS_PROXY_HOSTED": "true",
5454 // Set to a Cloudflare AI Gateway id to route model traffic through it.
5555 // Used only when MODELS_URL is unset.
5656 "AI_GATEWAY_ID": "g1t",