修改了hello_world_plugin

This commit is contained in:
Windpicker-owo
2025-07-26 22:29:44 +08:00
parent 49a48d3902
commit 8aa8f0e6b7
4 changed files with 256 additions and 3 deletions

View File

@@ -6,8 +6,6 @@ install(extra_lines=3)
logger = get_logger("base_tool")
# 工具注册表
TOOL_REGISTRY = {}
class BaseTool:

View File

@@ -151,7 +151,7 @@ class ToolInfo(ComponentInfo):
"""工具组件信息"""
tool_parameters: Dict[str, Any] = field(default_factory=dict) # 工具参数定义
available_for_llm: bool = True # 是否可供LLM使用
available_for_llm: bool = False # 是否可供LLM使用
tool_description: str = "" # 工具描述
def __post_init__(self):