mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
Update litellm/proxy/utils.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
fceabeec15
commit
96f480af7c
1 changed files with 1 additions and 4 deletions
|
|
@ -1222,10 +1222,7 @@ class ProxyLogging:
|
|||
},
|
||||
}
|
||||
}
|
||||
if HTTPException is not None:
|
||||
raise HTTPException(status_code=400, detail=error_detail)
|
||||
else:
|
||||
raise Exception(str(error_detail))
|
||||
raise HTTPException(status_code=400, detail=error_detail)
|
||||
|
||||
if result.terminal_action == "modify_response":
|
||||
raise ModifyResponseException(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue