mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Fix mypy error
This commit is contained in:
parent
6571b6e73a
commit
8f573518ac
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class UnifiedLLMGuardrails(CustomLogger):
|
|||
if user_api_key_dict.request_route is not None:
|
||||
call_types = get_call_types_for_route(user_api_key_dict.request_route)
|
||||
if call_types is not None and len(call_types) > 0: # type: ignore
|
||||
call_type = call_types[0]
|
||||
call_type = call_types[0] # type: ignore
|
||||
if call_type is None:
|
||||
call_type = _infer_call_type(call_type=None, completion_response=response) # type: ignore
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue