diff --git a/pilot/helpers/AgentConvo.py b/pilot/helpers/AgentConvo.py index 1a9b6f210..16397851e 100644 --- a/pilot/helpers/AgentConvo.py +++ b/pilot/helpers/AgentConvo.py @@ -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)