From 802265ca2246cba28b9430b9923fe44b23e5f9e9 Mon Sep 17 00:00:00 2001 From: FuQuan233 Date: Mon, 1 Jun 2026 14:54:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E6=B7=BB=E5=8A=A0=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E6=97=A5=E5=BF=97=E4=BB=A5=E8=AE=B0=E5=BD=95=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E8=B0=83=E7=94=A8=E5=8F=8A=E5=85=B6=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_llmchat/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nonebot_plugin_llmchat/__init__.py b/nonebot_plugin_llmchat/__init__.py index ba4c353..cbca006 100755 --- a/nonebot_plugin_llmchat/__init__.py +++ b/nonebot_plugin_llmchat/__init__.py @@ -480,6 +480,8 @@ async def process_messages(context_id: int, is_group: bool = True): new_messages.append(llm_reply) for tool_call in message.tool_calls: + logger.debug(f"处理工具调用:{tool_call.function.name} 参数:{tool_call.function.arguments}") + tool_name = tool_call.function.name try: tool_args = json.loads(tool_call.function.arguments)