mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
fmt
This commit is contained in:
@@ -248,9 +248,7 @@ async fn process_chat_sse<S>(
|
||||
}],
|
||||
id: None,
|
||||
};
|
||||
let _ = tx_event
|
||||
.send(Ok(ResponseEvent::OutputItemDone(item)))
|
||||
.await;
|
||||
let _ = tx_event.send(Ok(ResponseEvent::OutputItemDone(item))).await;
|
||||
}
|
||||
|
||||
if !reasoning_text.is_empty() {
|
||||
@@ -262,9 +260,7 @@ async fn process_chat_sse<S>(
|
||||
}]),
|
||||
encrypted_content: None,
|
||||
};
|
||||
let _ = tx_event
|
||||
.send(Ok(ResponseEvent::OutputItemDone(item)))
|
||||
.await;
|
||||
let _ = tx_event.send(Ok(ResponseEvent::OutputItemDone(item))).await;
|
||||
}
|
||||
|
||||
let _ = tx_event
|
||||
@@ -374,9 +370,7 @@ async fn process_chat_sse<S>(
|
||||
}]),
|
||||
encrypted_content: None,
|
||||
};
|
||||
let _ = tx_event
|
||||
.send(Ok(ResponseEvent::OutputItemDone(item)))
|
||||
.await;
|
||||
let _ = tx_event.send(Ok(ResponseEvent::OutputItemDone(item))).await;
|
||||
}
|
||||
|
||||
// Then emit the FunctionCall response item.
|
||||
@@ -412,9 +406,7 @@ async fn process_chat_sse<S>(
|
||||
}]),
|
||||
encrypted_content: None,
|
||||
};
|
||||
let _ = tx_event
|
||||
.send(Ok(ResponseEvent::OutputItemDone(item)))
|
||||
.await;
|
||||
let _ = tx_event.send(Ok(ResponseEvent::OutputItemDone(item))).await;
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
@@ -645,4 +637,4 @@ impl<S> AggregatedChatStream<S> {
|
||||
pub(crate) fn streaming_mode(inner: S) -> Self {
|
||||
Self::new(inner, AggregateMode::Streaming)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user