mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
fix(rust): pass callback preparation settings
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
8b57953295
commit
cf14f0bd0c
1 changed files with 2 additions and 0 deletions
|
|
@ -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<PassThroughStream>,
|
||||
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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue