mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-02 16:01:04 +02:00
copy notebook to result after mcts
This commit is contained in:
parent
32fc96cf71
commit
8dbcd46bfc
6 changed files with 47 additions and 17 deletions
|
|
@ -87,6 +87,9 @@ class Node:
|
|||
def get_depth(self):
|
||||
return self.depth
|
||||
|
||||
def get_node_dir(self):
|
||||
return self.state["node_dir"]
|
||||
|
||||
def generate_depth(self):
|
||||
if self.parent is None:
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue