Fix async client timeout (#1617)

# What does this PR do?

Fixes #1616

According to the [aiohttp.ClientTimeout
docs](https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.ClientTimeout),
the arguments should be in seconds. This PR removes the multiplication
by 60.

@OlivierDehaene OR @Narsil
This commit is contained in:
Hugo Abonizio 2024-02-29 11:41:49 -03:00 committed by Karol Damaszke
parent 0390b28b85
commit 0a5755eb7a

View File

@ -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,