From d8195394aae2067edfa03bba6cfb076d1e99a7d7 Mon Sep 17 00:00:00 2001 From: Sinyo <38577585+SinyoWong@users.noreply.github.com> Date: Tue, 18 Feb 2025 10:21:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9ELM=20Studio=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E5=A4=A7=E6=A8=A1=E5=9E=8BAPI=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.yaml b/config.yaml index 2e616e13a..bbcb13391 100644 --- a/config.yaml +++ b/config.yaml @@ -128,6 +128,12 @@ LLM: user_id: 你的user_id base_url: "https://api.coze.cn/open_api/v2/chat" # 服务地址 personal_access_token: 你的coze个人令牌 + LMStudioLLM: + # 定义LLM API类型 + type: openai + model_name: deepseek-r1-distill-llama-8b@q4_k_m # 使用的模型名称,需要预先在社区下载 + url: http://localhost:1234/v1 # LM Studio服务地址 + api_key: lm-studio # LM Studio服务的固定API Key TTS: # 当前支持的type为edge、doubao,可自行适配 EdgeTTS: