mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
refactor: fixing linting issues
This commit is contained in:
parent
753c722c9f
commit
4b74ddcb17
25 changed files with 223 additions and 133 deletions
|
@ -17,10 +17,7 @@ from concurrent import futures
|
|||
from inspect import iscoroutinefunction
|
||||
from functools import wraps
|
||||
from threading import Thread
|
||||
try:
|
||||
from openai import Timeout
|
||||
except:
|
||||
from openai.error import Timeout
|
||||
from openai import Timeout
|
||||
|
||||
|
||||
def timeout(timeout_duration: float = 0.0, exception_to_raise=Timeout):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue