Skip to content

Commit 9e61b49

Browse files
committed
fix: fmt
Signed-off-by: ayushag <[email protected]>
1 parent 726407a commit 9e61b49

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

lib/llm/src/preprocessor.rs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -833,11 +833,10 @@ impl
833833
if !original_stream_flag {
834834
// If stream_options doesn't exist, create it
835835
if request.inner.stream_options.is_none() {
836-
request.inner.stream_options = Some(
837-
dynamo_async_openai::types::ChatCompletionStreamOptions {
836+
request.inner.stream_options =
837+
Some(dynamo_async_openai::types::ChatCompletionStreamOptions {
838838
include_usage: true,
839-
}
840-
);
839+
});
841840
} else if let Some(ref mut opts) = request.inner.stream_options {
842841
// If stream_options exists, ensure include_usage is true for non-streaming
843842
opts.include_usage = true;
@@ -979,11 +978,10 @@ impl
979978
if !original_stream_flag {
980979
// If stream_options doesn't exist, create it
981980
if request.inner.stream_options.is_none() {
982-
request.inner.stream_options = Some(
983-
dynamo_async_openai::types::ChatCompletionStreamOptions {
981+
request.inner.stream_options =
982+
Some(dynamo_async_openai::types::ChatCompletionStreamOptions {
984983
include_usage: true,
985-
}
986-
);
984+
});
987985
} else if let Some(ref mut opts) = request.inner.stream_options {
988986
// If stream_options exists, ensure include_usage is true for non-streaming
989987
opts.include_usage = true;

0 commit comments

Comments
 (0)