refactor(backend): 更新 agentscope 工具系统

This commit is contained in:
zl-q
2026-03-19 00:52:10 +08:00
parent 05096d22de
commit c8e51d1329
2 changed files with 2 additions and 4 deletions
@@ -1,3 +1 @@
from core.agentscope.tools.toolkit import build_stage_toolkit, build_toolkit
__all__ = ["build_toolkit", "build_stage_toolkit"]
"""AgentScope tools package."""
+1 -1
View File
@@ -29,8 +29,8 @@ TOOL_FUNCTIONS: dict[str, Any] = {
AGENT_TYPE_TO_GROUPS: dict[AgentType, set[ToolGroup]] = {
AgentType.ROUTER: {ToolGroup.READ},
AgentType.WORKER: {ToolGroup.READ, ToolGroup.WRITE},
AgentType.MEMORY: {ToolGroup.READ, ToolGroup.WRITE},
}