Small updates to prompts and logging

This commit is contained in:
Zvonimir Sabljic
2023-08-09 08:39:40 +02:00
parent d4a888600e
commit aba9d45d13
4 changed files with 8 additions and 4 deletions

View File

@@ -106,8 +106,7 @@ def create_gpt_chat_completion(messages: List[dict], req_type, min_tokens=MIN_TO
return response
except Exception as e:
print(
'The request to OpenAI API failed. Might be due to GPT being down or due to the too large message. It\'s '
'best if you try again.')
'The request to OpenAI API failed. Here is the error message:')
print(e)