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(