mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-01-22 01:58:10 +01:00
fix for #130
This commit is contained in:
@@ -108,6 +108,7 @@ def create_gpt_chat_completion(messages: List[dict], req_type, project,
|
||||
logger.error(f'The request to {os.getenv("ENDPOINT")} API failed: %s', e)
|
||||
print(f'The request to {os.getenv("ENDPOINT")} API failed. Here is the error message:')
|
||||
print(e)
|
||||
return {} # https://github.com/Pythagora-io/gpt-pilot/issues/130 - may need to revisit how we handle this
|
||||
|
||||
|
||||
def delete_last_n_lines(n):
|
||||
|
||||
Reference in New Issue
Block a user