From 6d98780e19f962e7617add8082b18fb64814ff1a Mon Sep 17 00:00:00 2001 From: Raven95676 Date: Mon, 12 May 2025 18:22:02 +0800 Subject: [PATCH 1/3] =?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', From 5ff121e1edbf5b1978a3cabd573811220c29486a Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Wed, 14 May 2025 09:33:35 +0800 Subject: [PATCH 2/3] =?UTF-8?q?docs:=20PPIO=20=E6=B4=BE=E6=AC=A7=E4=BA=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ff3e70292..0d5c0be5f 100644 --- a/README.md +++ b/README.md @@ -132,10 +132,11 @@ uvx astrbot init | Claude API | ✔ | 文本生成 | | | Google Gemini API | ✔ | 文本生成 | | | Dify | ✔ | LLMOps | | -| DashScope(阿里云百炼应用) | ✔ | LLMOps | | +| 阿里云百炼应用 | ✔ | LLMOps | | | Ollama | ✔ | 模型加载器 | 本地部署 DeepSeek、Llama 等开源语言模型 | | LM Studio | ✔ | 模型加载器 | 本地部署 DeepSeek、Llama 等开源语言模型 | | LLMTuner | ✔ | 模型加载器 | 本地加载 lora 等微调模型 | +| PPIO 派欧云 | ✔ | 模型 API 服务平台 | | | OneAPI | ✔ | LLM 分发系统 | | | Whisper | ✔ | 语音转文本 | 支持 API、本地部署 | | SenseVoice | ✔ | 语音转文本 | 本地部署 | From b7ecdadb835e76b763ec8b3da8ff2906585fdd6e Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Wed, 14 May 2025 09:35:59 +0800 Subject: [PATCH 3/3] docs: update providers --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0d5c0be5f..24ae331f1 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ uvx astrbot init | 名称 | 支持性 | 类型 | 备注 | | -------- | ------- | ------- | ------- | -| OpenAI API | ✔ | 文本生成 | 也支持 DeepSeek、Google Gemini、GLM、Kimi、硅基流动、xAI 等兼容 OpenAI API 的服务 | +| OpenAI API | ✔ | 文本生成 | 也支持 DeepSeek、Google Gemini、GLM、Kimi、xAI 等兼容 OpenAI API 的服务 | | Claude API | ✔ | 文本生成 | | | Google Gemini API | ✔ | 文本生成 | | | Dify | ✔ | LLMOps | | @@ -136,14 +136,18 @@ uvx astrbot init | Ollama | ✔ | 模型加载器 | 本地部署 DeepSeek、Llama 等开源语言模型 | | LM Studio | ✔ | 模型加载器 | 本地部署 DeepSeek、Llama 等开源语言模型 | | LLMTuner | ✔ | 模型加载器 | 本地加载 lora 等微调模型 | +| 硅基流动 | ✔ | 模型 API 服务平台 | | | PPIO 派欧云 | ✔ | 模型 API 服务平台 | | | OneAPI | ✔ | LLM 分发系统 | | | Whisper | ✔ | 语音转文本 | 支持 API、本地部署 | | SenseVoice | ✔ | 语音转文本 | 本地部署 | | OpenAI TTS API | ✔ | 文本转语音 | | | GSVI | ✔ | 文本转语音 | GPT-Sovits-Inference | -| Fishaudio | ✔ | 文本转语音 | GPT-Sovits 作者参与的项目 | -| Edge-TTS | ✔ | 文本转语音 | Edge 浏览器的免费 TTS | +| FishAudio | ✔ | 文本转语音 | GPT-Sovits 作者参与的项目 | +| Edge TTS | ✔ | 文本转语音 | Edge 浏览器的免费 TTS | +| 阿里云百炼 TTS | ✔ | 文本转语音 | | +| Azure TTS | ✔ | 文本转语音 | Microsoft Azure TTS | + ## ❤️ 贡献