diff --git a/nonebot_plugin_llmchat/__init__.py b/nonebot_plugin_llmchat/__init__.py index 1ac68dd..92a3060 100755 --- a/nonebot_plugin_llmchat/__init__.py +++ b/nonebot_plugin_llmchat/__init__.py @@ -475,6 +475,8 @@ 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 7e4c03f..5042eb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nonebot-plugin-llmchat" -version = "0.5.1" +version = "0.5.2" description = "Nonebot AI group chat plugin supporting multiple API preset configurations" license = "GPL" authors = ["FuQuan i@fuquan.moe"]