diff options
| author | sigoden <sigoden@gmail.com> | 2024-09-02 08:23:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-02 08:23:21 +0800 |
| commit | 2cba09c064b366ad91c7eda3acbc2030215a1842 (patch) | |
| tree | 467d550c12b2cab8172da7cc3af01903a5b5477a /config.example.yaml | |
| parent | 6462a587428c38c17cbb6bce440cbf10c966eecc (diff) | |
| download | aichat-2cba09c064b366ad91c7eda3acbc2030215a1842.tar.gz | |
feat: migrate `cloudflare` client to `openai-compatible` (#821)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.example.yaml b/config.example.yaml index f3a550b..f415d38 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -223,10 +223,10 @@ clients: region: xxx # See https://developers.cloudflare.com/workers-ai/ - - type: cloudflare - account_id: xxx + - type: openai-compatible + name: cloudflare + api_base: https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/v1 api_key: xxx - api_base: https://api.cloudflare.com/client/v4 # Optional # See https://replicate.com/docs - type: replicate |
