Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbion committed Oct 6, 2023
1 parent 382a141 commit 2d6b7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilot/helpers/AgentConvo.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def send_message(self, prompt_path=None, prompt_data=None, function_calls: Funct

# TODO handle errors from OpenAI
if response == {}:
logger.error(f'Aborting with "OpenAI API error happened": {response}')
logger.error(f'Aborting with "OpenAI API error happened"')
raise Exception("OpenAI API error happened.")

response = parse_agent_response(response, function_calls)
Expand Down

0 comments on commit 2d6b7bb

Please sign in to comment.