fix accidentally using httpxTimeout
This commit is contained in:
parent
38bc54d37f
commit
3a3804fc18
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ class OllamaClient:
|
|||
timeout = 10800
|
||||
timeout = aiohttp.ClientTimeout(timeout)
|
||||
else:
|
||||
timeout = timeout or httpx.Timeout(60)
|
||||
timeout = timeout or aiohttp.ClientTimeout(120)
|
||||
return aiohttp.ClientSession(self.base_url, timeout=timeout, auth=self.authorisation)
|
||||
|
||||
async def get_tags(self) -> dict[typing.Literal["models"], dict[str, str, int, dict[str, str, None]]]:
|
||||
|
|
Loading…
Reference in a new issue