Update litellm/proxy/response_api_endpoints/endpoints.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Cesar Garcia 2026-03-04 20:57:05 -03:00 committed by GitHub
parent 13dbcb182c
commit bbec0f7657
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -456,7 +456,7 @@ async def count_response_input_tokens(
status_code=400, detail={"error": "model parameter is required"}
)
if not input_data:
if input_data is None:
raise HTTPException(
status_code=400, detail={"error": "input parameter is required"}
)