From cf14f0bd0cbbb6ca09873a21d622f2a8f83dbf5c Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Sat, 19 Sep 2026 23:08:10 +0000 Subject: [PATCH] fix(rust): pass callback preparation settings Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm-rust/crates/python-bridge/src/callbacks.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm-rust/crates/python-bridge/src/callbacks.rs b/litellm-rust/crates/python-bridge/src/callbacks.rs index 26c42dce0f2..155808a8c42 100644 --- a/litellm-rust/crates/python-bridge/src/callbacks.rs +++ b/litellm-rust/crates/python-bridge/src/callbacks.rs @@ -19,6 +19,7 @@ pub(crate) struct CallSurface { /// Legacy only: how a streamed response is billed; `None` for a route that never /// streams. pub stream: Option, + pub updates_logging_before_preparation: bool, } impl CallSurface { @@ -27,6 +28,7 @@ impl CallSurface { call_type: self.call_type, input_description: self.input_description, stream: self.stream, + updates_logging_before_preparation: self.updates_logging_before_preparation, } }