mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-21 08:20:44 +00:00
pop litellm_logging_obj from request_data before callback loop
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user