chore(api): fix the issue that `version` method is not defined for `AgentNode`

pull/21443/head
QuantumGhost 11 months ago
parent 8365524fc8
commit e4af883cf2

@ -39,6 +39,10 @@ class AgentNode(ToolNode):
_node_data_cls = AgentNodeData # type: ignore
_node_type = NodeType.AGENT
@classmethod
def version(cls) -> str:
return "1"
def _run(self) -> Generator:
"""
Run the agent node

Loading…
Cancel
Save