feat: agent management

This commit is contained in:
Yeuoly
2024-12-10 00:22:41 +08:00
parent 296fd82bbf
commit a175d6b2d7
5 changed files with 71 additions and 8 deletions

View File

@ -99,9 +99,9 @@ class AgentNode(ToolNode):
Generate parameters based on the given tool parameters, variable pool, and node data.
Args:
tool_parameters (Sequence[ToolParameter]): The list of tool parameters.
agent_parameters (Sequence[AgentParameter]): The list of agent parameters.
variable_pool (VariablePool): The variable pool containing the variables.
node_data (ToolNodeData): The data associated with the tool node.
node_data (AgentNodeData): The data associated with the agent node.
Returns:
Mapping[str, Any]: A dictionary containing the generated parameters.