summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-01-27 08:13:50 +0800
committerGitHub <noreply@github.com>2025-01-27 08:13:50 +0800
commit20cada3d0ecfb3a63bd24138fa1ad329c778c8d1 (patch)
treefef5fc6dc687c5802af716ffbdf68c8d021abac3 /config.example.yaml
parentfb8f117abad66d26b17e2e1a66be4ff48feba3fa (diff)
downloadaichat-20cada3d0ecfb3a63bd24138fa1ad329c778c8d1.tar.gz
feat: ernie migrates to v2 api (#1130)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml5
1 files changed, 3 insertions, 2 deletions
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