summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-03-25 08:23:54 +0800
committerGitHub <noreply@github.com>2024-03-25 08:23:54 +0800
commit774d991144915368f9eee9740091448b92c17e62 (patch)
tree78db542fa09efc687fe6e562047cd3b8d0824e30 /config.example.yaml
parent527da63d18def9cec29c89387de988b43acb7d24 (diff)
downloadaichat-774d991144915368f9eee9740091448b92c17e62.tar.gz
feat: support moonshot (#369)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 2d5cba0..8f8e22a 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -65,7 +65,7 @@ clients:
api_key: Basic xxx # Set authorization header
chat_endpoint: /chat # Optional field
models:
- - name: mistral
+ - name: llama2
max_input_tokens: 8192
# See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart
@@ -92,3 +92,7 @@ clients:
# See https://help.aliyun.com/zh/dashscope/
- type: qianwen
api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+
+ # See https://platform.moonshot.cn/docs/intro
+ - type: moonshot
+ api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \ No newline at end of file