mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
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:
parent
13dbcb182c
commit
bbec0f7657
1 changed files with 1 additions and 1 deletions
|
|
@ -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"}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue