From b4402af2c8579c0cb66e7f975879f704be82e1b8 Mon Sep 17 00:00:00 2001 From: FuQuan233 Date: Sat, 15 Feb 2025 18:03:53 +0800 Subject: [PATCH] =?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(