From 6009cf5dfaf05a92de5f0659a3e96270b95c4568 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Mon, 10 Feb 2025 18:54:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20moonshot=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=A8=A1=E6=9D=BF=20#446?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/config/default.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 416f6a2ce..315635ef9 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -406,7 +406,7 @@ CONFIG_METADATA_2 = { "model": "glm-4-flash", }, }, - "硅基流动": { + "siliconflow": { "id": "siliconflow", "type": "openai_chat_completion", "enable": True, @@ -417,6 +417,17 @@ CONFIG_METADATA_2 = { "model": "deepseek-ai/DeepSeek-V3", }, }, + "moonshot(kimi)": { + "id": "moonshot", + "type": "openai_chat_completion", + "enable": True, + "key": [], + "timeout": 120, + "api_base": "https://api.moonshot.cn/v1", + "model_config": { + "model": "moonshot-v1-8k", + }, + }, "llmtuner": { "id": "llmtuner_default", "type": "llm_tuner",