From cae589b712ccc550bf3f64d4ece0272058e0a5c0 Mon Sep 17 00:00:00 2001 From: Souravrajvi0 <144546710+Souravrajvi0@users.noreply.github.com> Date: Mon, 20 Jul 2026 23:14:01 +0530 Subject: [PATCH] fix(openai): type connection checker input as object --- litellm/litellm_core_utils/exception_mapping_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/litellm_core_utils/exception_mapping_utils.py b/litellm/litellm_core_utils/exception_mapping_utils.py index 36eede6a257..ce20be69e13 100644 --- a/litellm/litellm_core_utils/exception_mapping_utils.py +++ b/litellm/litellm_core_utils/exception_mapping_utils.py @@ -101,7 +101,7 @@ class ExceptionCheckers: return False @staticmethod - def is_error_str_connection_error(error_str: str) -> bool: + def is_error_str_connection_error(error_str: object) -> bool: if not isinstance(error_str, str): return False _error_str_lower = error_str.lower()