diff --git a/nonebot_plugin_llmchat/__init__.py b/nonebot_plugin_llmchat/__init__.py index 1ac68dd..76365ae 100755 --- a/nonebot_plugin_llmchat/__init__.py +++ b/nonebot_plugin_llmchat/__init__.py @@ -496,6 +496,8 @@ async def process_messages(context_id: int, is_group: bool = True): bot_id=str(event.self_id) ) + new_messages.append(llm_reply) + new_messages.append({ "role": "tool", "tool_call_id": tool_call.id,