diff options
| author | sigoden <sigoden@gmail.com> | 2025-01-27 08:13:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-27 08:13:50 +0800 |
| commit | 20cada3d0ecfb3a63bd24138fa1ad329c778c8d1 (patch) | |
| tree | fef5fc6dc687c5802af716ffbdf68c8d021abac3 /config.example.yaml | |
| parent | fb8f117abad66d26b17e2e1a66be4ff48feba3fa (diff) | |
| download | aichat-20cada3d0ecfb3a63bd24138fa1ad329c778c8d1.tar.gz | |
feat: ernie migrates to v2 api (#1130)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 5 |
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 |
