Skip to content

Commit

Permalink
Update openai_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kyegomez authored Feb 23, 2024
1 parent 9be8b0f commit 7694c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree_of_thoughts/openai_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def evaluate_states(self, states, initial_prompt):
f" state of reasoning achieveing {initial_prompt} and become"
" very pessimistic very NOTHING ELSE"
)
response = self.openai_api_call_handler(prompt, 50, 1)
response = self.model(prompt)
print(f"state response: {response}")
best_state_text = self.openai_choice2text_handler(
response.choices[0]
Expand Down

0 comments on commit 7694c5a

Please sign in to comment.