This commit is contained in:
Nicholas Albion
2023-10-06 23:20:54 +11:00
parent 382a1414f1
commit 2d6b7bbe8f

View File

@@ -83,7 +83,7 @@ class AgentConvo:
# 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)