Bavarder / baichat-py

Python wrapper for BAI Chat
https://bavarder.codeberg.page/code/baichat
14 stars 5 forks source link

Increase timeout to 120 seconds #6

Closed smurat closed 1 year ago

smurat commented 1 year ago

This pull request increases the timeout for the API request to 120 seconds in order to handle potential delays or slower response times.

Default timeout was set to a shorter duration, which could result in premature termination of the request if it took longer than expected. By specifying the timeout value of 120 seconds, the request will now wait for a maximum of two minutes before considering it as timed out.

0xMRTT commented 1 year ago

This has been fixed! Thanks for your contribution!