From b4402af2c8579c0cb66e7f975879f704be82e1b8 Mon Sep 17 00:00:00 2001 From: FuQuan233 Date: Sat, 15 Feb 2025 18:03:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20fix=20#2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_llmchat/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot_plugin_llmchat/__init__.py b/nonebot_plugin_llmchat/__init__.py index 130f605..538f984 100644 --- a/nonebot_plugin_llmchat/__init__.py +++ b/nonebot_plugin_llmchat/__init__.py @@ -257,7 +257,7 @@ async def process_messages(group_id: int): if reasoning_content or think_content: await handler.send(Message(reasoning_content or think_content)) else: - reply = response.choices[0].message.content + reply, _ = filter_think(response.choices[0].message.content) assert reply is not None logger.info( From 25a51a6d056258b1455db73623588f7bbce886ad Mon Sep 17 00:00:00 2001 From: FuQuan233 Date: Sat, 15 Feb 2025 18:07:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=96=20bump=20llmchat=20version=200?= =?UTF-8?q?.1.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 19a6d66..5b89cac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nonebot-plugin-llmchat" -version = "0.1.4" +version = "0.1.5" description = "Nonebot AI group chat plugin supporting multiple API preset configurations" license = "GPL" authors = ["FuQuan i@fuquan.moe"]