Skip to content

Commit dc56b41

Browse files
committed
🎨 fix formatting
1 parent cf67518 commit dc56b41

File tree

1 file changed

+4
-2
lines changed
  • src/orchestrator/handlers/chat_completions_detection

1 file changed

+4
-2
lines changed

src/orchestrator/handlers/chat_completions_detection/streaming.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,8 @@ async fn process_detection_batch_stream(
723723
match result {
724724
Ok((choice_index, chunk, detections)) => {
725725
let input_end_index = chunk.input_end_index;
726-
match output_detection_response(&completion_state, choice_index, chunk, detections).await
726+
match output_detection_response(&completion_state, choice_index, chunk, detections)
727+
.await
727728
{
728729
Ok(chat_completion) => {
729730
// Send chat completion to response channel
@@ -737,7 +738,8 @@ async fn process_detection_batch_stream(
737738
let chat_completions = {
738739
let mut attempts = 0;
739740
loop {
740-
if let Some(entry) = completion_state.completions.get(&choice_index) {
741+
if let Some(entry) = completion_state.completions.get(&choice_index)
742+
{
741743
break entry;
742744
}
743745
if attempts > 1000 {

0 commit comments

Comments
 (0)