mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-30 06:43:27 +00:00
fix(openai): type connection checker input as object
This commit is contained in:
parent
15cd995494
commit
cae589b712
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue