From 5ea6fbbe1eb5393d3857e7b78c42fe32c2d40365 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 14 Jun 2024 21:23:13 -0700 Subject: [PATCH] fix cached httpx client --- litellm/llms/bedrock_httpx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litellm/llms/bedrock_httpx.py b/litellm/llms/bedrock_httpx.py index 123adedefaa..6752204088c 100644 --- a/litellm/llms/bedrock_httpx.py +++ b/litellm/llms/bedrock_httpx.py @@ -993,7 +993,7 @@ class BedrockLLM(BaseLLM): if isinstance(timeout, float) or isinstance(timeout, int): timeout = httpx.Timeout(timeout) _params["timeout"] = timeout - self.client = _get_httpx_client(**_params) # type: ignore + self.client = _get_httpx_client(_params) # type: ignore else: self.client = client if (stream is not None and stream == True) and provider != "ai21": @@ -1604,7 +1604,7 @@ class BedrockConverseLLM(BaseLLM): if isinstance(timeout, float) or isinstance(timeout, int): timeout = httpx.Timeout(timeout) _params["timeout"] = timeout - client = _get_async_httpx_client(**_params) # type: ignore + client = _get_async_httpx_client(_params) # type: ignore else: client = client # type: ignore @@ -1876,7 +1876,7 @@ class BedrockConverseLLM(BaseLLM): if isinstance(timeout, float) or isinstance(timeout, int): timeout = httpx.Timeout(timeout) _params["timeout"] = timeout - client = _get_httpx_client(**_params) # type: ignore + client = _get_httpx_client(_params) # type: ignore else: client = client try: