mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
Fix NameError: get_coroutine_checker not defined in check_coroutine function
This commit is contained in:
parent
64242d216a
commit
da7af8a152
1 changed files with 1 additions and 0 deletions
|
|
@ -1184,6 +1184,7 @@ def _get_wrapper_timeout(
|
|||
|
||||
|
||||
def check_coroutine(value) -> bool:
|
||||
get_coroutine_checker = getattr(sys.modules[__name__], 'get_coroutine_checker')
|
||||
return get_coroutine_checker().is_async_callable(value)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue