8000 fix: build_graph is not awaited. · SVendittelli/adk-python@f4c7d78 · GitHub
[go: up one dir, main page]

Skip to content

Commit f4c7d78

Browse files
Jacksunweicopybara-github
authored andcommitted
fix: build_graph is not awaited.
Fixes google#927 PiperOrigin-RevId: 764113488
1 parent 15109c6 commit f4c7d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google/adk/cli/agent_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def draw_edge(from_name, to_name):
130130

131131
draw_node(agent)
132132
for sub_agent in agent.sub_agents:
133-
build_graph(graph, sub_agent, highlight_pairs)
133+
await build_graph(graph, sub_agent, highlight_pairs)
134134
draw_edge(agent.name, sub_agent.name)
135135
if isinstance(agent, LlmAgent):
136136
for tool in await agent.canonical_tools():

0 commit comments

Comments
 (0)
0