mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Fix mypy error
This commit is contained in:
parent
f5de678f4d
commit
6571b6e73a
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ class UnifiedLLMGuardrails(CustomLogger):
|
|||
if call_type is None and 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:
|
||||
call_type = call_types[0]
|
||||
call_type = call_types[0].value
|
||||
|
||||
if call_type is None:
|
||||
call_type = _infer_call_type(call_type=None, completion_response=item) # type: ignore
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue