diff --git a/nonebot_plugin_llmchat/__init__.py b/nonebot_plugin_llmchat/__init__.py index 92a3060..1ac68dd 100755 --- a/nonebot_plugin_llmchat/__init__.py +++ b/nonebot_plugin_llmchat/__init__.py @@ -475,8 +475,6 @@ async def process_messages(context_id: int, is_group: bool = True): await send_split_messages(handler, message.content) # 处理每个工具调用 - new_messages.append(llm_reply) - for tool_call in message.tool_calls: tool_name = tool_call.function.name tool_args = json.loads(tool_call.function.arguments) diff --git a/pyproject.toml b/pyproject.toml index 5042eb3..7e4c03f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nonebot-plugin-llmchat" -version = "0.5.2" +version = "0.5.1" description = "Nonebot AI group chat plugin supporting multiple API preset configurations" license = "GPL" authors = ["FuQuan i@fuquan.moe"]