From 5eb6a7b32d25c3782e78dad7b02f87a02ca633f3 Mon Sep 17 00:00:00 2001 From: Hugo Abonizio Date: Thu, 29 Feb 2024 11:35:15 -0300 Subject: [PATCH] Fix async client timeout --- clients/python/text_generation/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/python/text_generation/client.py b/clients/python/text_generation/client.py index 09660de3..e1de253b 100644 --- a/clients/python/text_generation/client.py +++ b/clients/python/text_generation/client.py @@ -424,7 +424,7 @@ class AsyncClient: self.base_url = base_url self.headers = headers self.cookies = cookies - self.timeout = ClientTimeout(timeout * 60) + self.timeout = ClientTimeout(timeout) async def chat( self,