Closed AshVR closed 1 year ago
Same for me.
Seems like this bug was introduced in the latest commit from today. Reverting lines 144 and 157 in treeofthoughts.py seems to resolve the issue, even though i am not sure if that doesn't introduce more mistakes somewhere else. script is running now, waiting for a proper fix
Try now with git clone 😊
Getting this error from the example.py
\tree-of-thoughts\tree_of_thoughts\treeofthoughts.py", line 144, in evaluate_states prompt = f"Given the current state of reasoning: '{state_text}', evaluate its value as a float between 0 and 1, on the probability of this state of reasoning achieveing {prompt} and NOTHING ELSE:" UnboundLocalError: local variable 'prompt' referenced before assignment