Fix edge source attribute in AgentVertex
This commit is contained in:
parent
f3c72ea97d
commit
dec36dbfb9
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ class AgentVertex(Vertex):
|
|||
|
||||
def _set_tools_and_chains(self) -> None:
|
||||
for edge in self.edges:
|
||||
if not hasattr(edge, "source"):
|
||||
if not hasattr(edge, "source_id"):
|
||||
continue
|
||||
source_node = self.graph.get_vertex(edge.source_id)
|
||||
if isinstance(source_node, (ToolVertex, ToolkitVertex)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue