mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
pop litellm_logging_obj from request_data before callback loop
This commit is contained in:
parent
583bdb279b
commit
bfcba21564
1 changed files with 3 additions and 0 deletions
|
|
@ -1729,6 +1729,9 @@ class ProxyLogging:
|
|||
original_exception=original_exception,
|
||||
)
|
||||
|
||||
# Remove before callbacks iterate — not serialisable
|
||||
request_data.pop("litellm_logging_obj", None)
|
||||
|
||||
# Track the first HTTPException returned or raised by any callback
|
||||
transformed_exception: Optional[HTTPException] = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue