From 2d6b7bbe8f3eb39edb3847cff03fd9eef10d4129 Mon Sep 17 00:00:00 2001 From: Nicholas Albion Date: Fri, 6 Oct 2023 23:20:54 +1100 Subject: [PATCH] clean up --- pilot/helpers/AgentConvo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)