litellm/litellm/rust/crates/python-compat
Nate Armstrong 8e92894ff2
feat(s3-log): replace the python s3_v2 logger with a rust callback (#51539)
The s3_v2 S3Logger is ported to a Rust callback, callbacks-s3-log, behind
the CustomLoggerV2 contract, with the bridge constructor NativeS3Log and the
Python glue in litellm/integrations/s3_v3.py. It is now the only
implementation: the Python logger is deleted, s3_v2.py re-exports the
Rust-backed S3Logger, and LITELLM_NATIVE_S3_V2 is removed. The callback keeps
its name, list position and settings, so no config changes.

The original s3_v2 tests are replicated against the Rust callback as
<original>_rust.py, and Python's outputs for the differential suite are
recorded in tests/unit/integrations/s3_v2_golden/python_s3_v2.json.
2026-11-14 23:03:58 +00:00
..
benches chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
generated feat(s3-log): replace the python s3_v2 logger with a rust callback (#51539) 2026-11-14 23:03:58 +00:00
scripts feat(s3-log): replace the python s3_v2 logger with a rust callback (#51539) 2026-11-14 23:03:58 +00:00
src feat(s3-log): replace the python s3_v2 logger with a rust callback (#51539) 2026-11-14 23:03:58 +00:00
tests chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
AGENTS.md chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
Cargo.toml chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00