From 9fbb1f28e71695c2e836689443671e16a65ebe42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E9=9D=99=E8=BF=9C?= <837317210@qq.com> Date: Mon, 2 Jun 2025 21:10:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=E8=85=BE=E8=AE=AF?= =?UTF-8?q?=E4=BA=91=E5=BC=80=E5=8F=91AI=20Agent=20API=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/main/xiaozhi-server/config.yaml b/main/xiaozhi-server/config.yaml index 37a7309d9..97d34f0ac 100644 --- a/main/xiaozhi-server/config.yaml +++ b/main/xiaozhi-server/config.yaml @@ -388,6 +388,17 @@ LLM: model_name: "gemini-2.0-flash" http_proxy: "" #"http://127.0.0.1:10808" https_proxy: "" #http://127.0.0.1:10808" + TCBAiLLM: + # 腾讯云开发 - AI+ Agent 平台 + # 定义 Agent API 类型 + type: openai + # 1. 先创建开通云开发环境 https://tcb.cloud.tencent.com/dev + # 2. 进入环境->环境配置-> API Key配置,创建API Key (即 api_key 字段值) + # 3. 进入Ai+ 页面 -> 新建Agent,新建后获取 Agent ID (即 model_name 字段值) + # 4. Agent 详情页 -> 接入指引 -> 接口调用 -> OpenAI 协议调用示例,获取 base_url 字段(例:https://${您的环境ID}.api.tcloudbasegateway.com/v1/aibot/openai) + base_url: "" # https://${您的环境ID}.api.tcloudbasegateway.com/v1/aibot/openai + model_name: "你的腾讯云开发AI Agent的Agent ID" + api_key: 你的腾讯云开发环境的 API Key CozeLLM: # 定义LLM API类型 type: coze