diff --git a/litellm/llms/bedrock/chat/converse_handler.py b/litellm/llms/bedrock/chat/converse_handler.py index 3e6f7e4be7b..af93110e221 100644 --- a/litellm/llms/bedrock/chat/converse_handler.py +++ b/litellm/llms/bedrock/chat/converse_handler.py @@ -35,9 +35,6 @@ def make_sync_call( stream_chunk_size: int = 1024, timeout: Optional[Union[float, httpx.Timeout]] = None, ): - if timeout is not None and isinstance(timeout, (float, int)): - timeout = httpx.Timeout(timeout) - if client is None: _params: dict = {} if timeout is not None: diff --git a/litellm/llms/bedrock/chat/invoke_handler.py b/litellm/llms/bedrock/chat/invoke_handler.py index 518b21ac404..8b79a693087 100644 --- a/litellm/llms/bedrock/chat/invoke_handler.py +++ b/litellm/llms/bedrock/chat/invoke_handler.py @@ -197,9 +197,6 @@ async def make_call( timeout: Optional[Union[float, httpx.Timeout]] = None, ): try: - if timeout is not None and isinstance(timeout, (float, int)): - timeout = httpx.Timeout(timeout) - if client is None: _params: dict = {} if logging_obj and logging_obj.litellm_params and logging_obj.litellm_params.get("ssl_verify"): diff --git a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py index cc2fd24e906..32bb7528422 100644 --- a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py +++ b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py @@ -2370,9 +2370,6 @@ async def make_call( logging_obj, timeout: Optional[Union[float, httpx.Timeout]] = None, ): - if timeout is not None and isinstance(timeout, (float, int)): - timeout = httpx.Timeout(timeout) - if gemini_client is not None: client = gemini_client if client is None: