From b7df91dff09576c115daf6ec9c56e5d33ffa7bc5 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 5 Jul 2026 10:52:28 +0800 Subject: [PATCH] fix: update docstring to clarify normalization of malformed tool call names --- astrbot/core/agent/runners/tool_loop_agent_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/core/agent/runners/tool_loop_agent_runner.py b/astrbot/core/agent/runners/tool_loop_agent_runner.py index 13e456f58..88038473a 100644 --- a/astrbot/core/agent/runners/tool_loop_agent_runner.py +++ b/astrbot/core/agent/runners/tool_loop_agent_runner.py @@ -695,7 +695,7 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]): self, llm_resp: LLMResponse, ) -> None: - """Normalize malformed tool call names while preserving list alignment. + """Normalize malformed tool call names. Args: llm_resp: The LLM response whose tool call lists should be sanitized.