From 2cba09c064b366ad91c7eda3acbc2030215a1842 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 2 Sep 2024 08:23:21 +0800 Subject: feat: migrate `cloudflare` client to `openai-compatible` (#821) --- config.example.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config.example.yaml') 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 -- cgit v1.2.3