From 20cada3d0ecfb3a63bd24138fa1ad329c778c8d1 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 27 Jan 2025 08:13:50 +0800 Subject: feat: ernie migrates to v2 api (#1130) --- config.example.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config.example.yaml') diff --git a/config.example.yaml b/config.example.yaml index fe41a61..8e81f8a 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -246,9 +246,10 @@ clients: api_key: xxx # See https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html - - type: ernie + - type: openai-compatible + name: ernie + api_base: https://qianfan.baidubce.com/v2 api_key: xxx - secret_key: xxx # See https://dashscope.aliyun.com/ - type: openai-compatible -- cgit v1.2.3