providers: update CF provider docs

This commit is contained in:
Matt Silverlock 2025-12-15 08:34:38 -05:00
parent f3364a8b28
commit dbc5ebbda5

View file

@ -329,17 +329,17 @@ Cloudflare AI Gateway lets you proxy requests to AI providers through Cloudflare
1. Head over to the [Cloudflare dashboard](https://dash.cloudflare.com/), navigate to **AI** > **AI Gateway**, and create a new gateway.
2. Set your Account ID and Gateway name as environment variables:
2. Set your Account ID and Gateway ID as environment variables:
```bash
CLOUDFLARE_ACCOUNT_ID=your-account-id CLOUDFLARE_GATEWAY_NAME=your-gateway-name opencode
export CLOUDFLARE_ACCOUNT_ID=your-32-character-account-id && export CLOUDFLARE_GATEWAY_ID=your-gateway-id
```
Or add them to your bash profile:
```bash title="~/.bash_profile"
export CLOUDFLARE_ACCOUNT_ID=your-account-id
export CLOUDFLARE_GATEWAY_NAME=your-gateway-name
export CLOUDFLARE_ACCOUNT_ID=your-32-character-account-id
export CLOUDFLARE_GATEWAY_ID=your-gateway-id
```
3. If your gateway has authentication enabled, also set your API token: