mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2025-12-26 16:57:23 +01:00
clean up
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user