MCPcopy Create free account
hub / github.com/MARIO-Math-Reasoning/Super_MARIO / create_node

Method create_node

mcts_math/agents/react.py:63–67  ·  view source on GitHub ↗
(self, parent: Optional[Type[BaseNode]] = None)

Source from the content-addressed store, hash-verified

61 return cfg
62
63 def create_node(self, parent: Optional[Type[BaseNode]] = None) -> Type[BaseNode]:
64 return BaseNode(
65 parent=parent,
66 additional_state_keys=self.REACT_NODE_KEYS,
67 )
68
69 def create_llm(self) -> Callable[[...], List[str]]:
70 GPUS = os.environ.get('CUDA_VISIBLE_DEVICES', "0").split(',')

Callers 1

_update_current_nodeMethod · 0.95

Calls 1

BaseNodeClass · 0.90

Tested by

no test coverage detected