refactor(backend): 更新 agentscope 工具系统
This commit is contained in:
@@ -1,3 +1 @@
|
||||
from core.agentscope.tools.toolkit import build_stage_toolkit, build_toolkit
|
||||
|
||||
__all__ = ["build_toolkit", "build_stage_toolkit"]
|
||||
"""AgentScope tools package."""
|
||||
|
||||
@@ -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},
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user