mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
fix exception triggered only when not logging (#15982)
This commit is contained in:
parent
17f6238d2b
commit
65afdda3ef
1 changed files with 0 additions and 4 deletions
|
|
@ -186,10 +186,6 @@ class _ProxyDBLogger(CustomLogger):
|
|||
response_cost=response_cost,
|
||||
max_budget=end_user_max_budget,
|
||||
)
|
||||
else:
|
||||
raise Exception(
|
||||
"User API key and team id and user id missing from custom callback."
|
||||
)
|
||||
else:
|
||||
if kwargs["stream"] is not True or (
|
||||
kwargs["stream"] is True and "complete_streaming_response" in kwargs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue