Problems with timeout in requests - BUG

Even configuring a timeout of 60 seconds, when the request reaches 10 seconds, it returns a timeout error. I am trying to communicate with my API, which makes a request to Gemini AI that takes around 11 to 17 seconds to respond, when it is less than 10 seconds the request occurs without problems, I believe this is a BUG in the system.
No description
4 Replies
Baptiste
Baptiste12mo ago
Yes, it was indeed a bug It will be fixed in next release. To fix it earlier you have 2 options: - Add a CHAT_API_TIMEOUT variable with the value: 60000 for 60 seconds for example - Pull the next docker images
Mateus Carvalho
Mateus CarvalhoOP12mo ago
thanks
Antonio Araujo
Antonio Araujo12mo ago
I was having a bad time with this. is correct?
Baptiste
Baptiste12mo ago
No CHAT_API_TIMEOUT is an environment variable that can be set on your docker containers

Did you find this page helpful?