Skip to content

Commit 7694c5a

Browse files
authored
Update openai_models.py
1 parent 9be8b0f commit 7694c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree_of_thoughts/openai_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def evaluate_states(self, states, initial_prompt):
169169
f" state of reasoning achieveing {initial_prompt} and become"
170170
" very pessimistic very NOTHING ELSE"
171171
)
172-
response = self.openai_api_call_handler(prompt, 50, 1)
172+
response = self.model(prompt)
173173
print(f"state response: {response}")
174174
best_state_text = self.openai_choice2text_handler(
175175
response.choices[0]

0 commit comments

Comments
 (0)