From 0d850d7b22b7e2630dd7259e5b8ff30326f1b47a Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Wed, 29 Oct 2025 20:16:27 +0800 Subject: [PATCH] fix: refine docstring for add_llm_tools method in Context class --- astrbot/core/star/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/core/star/context.py b/astrbot/core/star/context.py index f7480793a..d878a64c5 100644 --- a/astrbot/core/star/context.py +++ b/astrbot/core/star/context.py @@ -257,7 +257,7 @@ class Context: return False def add_llm_tools(self, *tools: FunctionTool) -> None: - """添加一个 LLM 工具。""" + """添加 LLM 工具。""" for tool in tools: self.provider_manager.llm_tools.func_list.append(tool)