Skip to content

agent_graph.py broken due to missing await #973

@halfpasttense

Description

@halfpasttense

Async function build_graph is not awaited when called recursively for the sub agents. This breaks the graph rendering in the web UI.

for sub_agent in agent.sub_agents:
await build_graph(graph, sub_agent, highlight_pairs) # add missing await
draw_edge(agent.name, sub_agent.name)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions