From 6d98780e19f962e7617add8082b18fb64814ff1a Mon Sep 17 00:00:00 2001 From: Raven95676 Date: Mon, 12 May 2025 18:22:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=A5=E5=85=A5PPIO=E6=B4=BE?= =?UTF-8?q?=E6=AC=A7=E4=BA=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/config/default.py | 12 ++++++++++++ dashboard/src/views/ProviderPage.vue | 1 + 2 files changed, 13 insertions(+) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 7a8985242..56bdd5bac 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -650,6 +650,18 @@ CONFIG_METADATA_2 = { "model": "moonshot-v1-8k", }, }, + "PPIO派欧云": { + "id": "ppio", + "type": "openai_chat_completion", + "provider_type": "chat_completion", + "enable": True, + "key": [], + "api_base": "https://api.ppinfra.com/v3/openai", + "timeout": 120, + "model_config": { + "model": "deepseek/deepseek-r1", + }, + }, "LLMTuner": { "id": "llmtuner_default", "type": "llm_tuner", diff --git a/dashboard/src/views/ProviderPage.vue b/dashboard/src/views/ProviderPage.vue index 9f27854d6..a5219457b 100644 --- a/dashboard/src/views/ProviderPage.vue +++ b/dashboard/src/views/ProviderPage.vue @@ -272,6 +272,7 @@ export default { '智谱 AI': 'https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/zhipu.svg', '硅基流动': 'https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/siliconcloud.svg', 'Kimi': 'https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/kimi.svg', + 'PPIO派欧云': 'https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/ppio.svg', 'Dify': 'https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/dify-color.svg', '阿里云百炼': 'https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/alibabacloud-color.svg', 'FastGPT': 'https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/fastgpt-color.svg',