From b58c6ba762e348a3f0ddfb5b406ff9dbf7444545 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Tue, 4 Mar 2025 23:38:33 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20add=20template=20of=20lmstu?= =?UTF-8?q?dio=20#691?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/config/default.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index 7e217ee1b..b6ee5c0a9 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -465,6 +465,16 @@ CONFIG_METADATA_2 = { "model": "llama3.1-8b", }, }, + "LM_Studio": { + "id": "lm_studio", + "type": "openai_chat_completion", + "enable": True, + "key": ["lmstudio"], + "api_base": "http://localhost:1234/v1", + "model_config": { + "model": "llama-3.1-8b", + }, + }, "Gemini(OpenAI兼容)": { "id": "gemini_default", "type": "openai_chat_completion",