mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-29 01:42:19 +00:00
fix(complexity_router.py): cleanup
This commit is contained in:
parent
2b816c33f0
commit
2f849e59a9
1 changed files with 1 additions and 5 deletions
|
|
@ -367,12 +367,8 @@ class ComplexityRouter(CustomLogger):
|
|||
call_type = ct
|
||||
break
|
||||
|
||||
# 2. Fall back to data-shape inference
|
||||
if call_type is None:
|
||||
if "input" in request_kwargs:
|
||||
call_type = CallTypes.responses
|
||||
else:
|
||||
return None
|
||||
return None
|
||||
|
||||
if call_type not in mappings:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue