You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
auto format codes
This commit is contained in:
@@ -284,7 +284,9 @@ async def build_graph(
|
||||
|
||||
async def get_agent_graph(root_agent, highlights_pairs, image=False):
|
||||
print('build graph')
|
||||
graph = graphviz.Digraph(graph_attr={'rankdir': 'LR', 'bgcolor': '#333537'}, strict=True)
|
||||
graph = graphviz.Digraph(
|
||||
graph_attr={'rankdir': 'LR', 'bgcolor': '#333537'}, strict=True
|
||||
)
|
||||
await build_graph(graph, root_agent, highlights_pairs)
|
||||
if image:
|
||||
return graph.pipe(format='png')
|
||||
|
||||
Reference in New Issue
Block a user