fix(complexity_router.py): cleanup

This commit is contained in:
Krrish Dholakia 2026-04-15 18:54:29 -07:00
parent 2b816c33f0
commit 2f849e59a9

View file

@ -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