mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-06 06:12:39 +02:00
add task arg for tree visualization
This commit is contained in:
parent
7a38165e6b
commit
f97ad720b0
1 changed files with 1 additions and 1 deletions
|
|
@ -20,4 +20,4 @@ if __name__ == "__main__":
|
|||
root = mcts.root_node
|
||||
G = nx.DiGraph()
|
||||
build_tree_recursive(G, "0", root)
|
||||
visualize_tree(G, save_path="results/tree.png")
|
||||
visualize_tree(G, save_path=f"results/{args.task}-tree.png")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue