I was trying tgpt today and encountered the following error as my wifi was off.
10:20:19 - ERROR : HTTPSConnectionPool(host='ai-chat.bsg.brave.com', port=443): Max retries exceeded with url: /v1/complete (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x8f61dd59rcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
When such an error occurs (when host can’t be reached) tgpt should not return an exit code of 0. This affected a script it was being used in.
I was trying tgpt today and encountered the following error as my wifi was off.
10:20:19 - ERROR : HTTPSConnectionPool(host='ai-chat.bsg.brave.com', port=443): Max retries exceeded with url: /v1/complete (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x8f61dd59rcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
When such an error occurs (when host can’t be reached) tgpt should not return an exit code of 0. This affected a script it was being used in.