From 774d991144915368f9eee9740091448b92c17e62 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 25 Mar 2024 08:23:54 +0800 Subject: feat: support moonshot (#369) --- config.example.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.example.yaml') 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 -- cgit v1.2.3