Closed jabowery closed 1 year ago
In example.py: solution = tree_of_thoughts.solve(input_problem, k, T, b, vth, timeout, confidence_threshold=confidence, max_iterations=max_iterations, convergence_threshold=convergence_threshold, convergence_count=convergence_count)
example.py
solution = tree_of_thoughts.solve(input_problem, k, T, b, vth, timeout, confidence_threshold=confidence, max_iterations=max_iterations, convergence_threshold=convergence_threshold, convergence_count=convergence_count)
but in treeofthoughts.py:
treeofthoughts.py
class TreeofThoughts ... def solve(self, x, k, T, b, vth, timeout=None)
I think i fixed it! Download the latest version again and try pls
With use_v2=False there is no execution path that sets solution.
use_v2=False
solution
In
example.py
:solution = tree_of_thoughts.solve(input_problem, k, T, b, vth, timeout, confidence_threshold=confidence, max_iterations=max_iterations, convergence_threshold=convergence_threshold, convergence_count=convergence_count)
but in
treeofthoughts.py
: