mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
fmt
This commit is contained in:
@@ -599,8 +599,6 @@ impl Session {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// Sends the given event to the client and swallows the send event, if
|
||||
/// any, logging it as an error.
|
||||
pub(crate) async fn send_event(&self, event: Event) {
|
||||
|
||||
@@ -74,10 +74,9 @@ pub(crate) async fn handle_mcp_tool_call(
|
||||
}
|
||||
|
||||
async fn notify_mcp_tool_call_event(sess: &Session, sub_id: &str, event: EventMsg) {
|
||||
sess
|
||||
.send_event(Event {
|
||||
id: sub_id.to_string(),
|
||||
msg: event,
|
||||
})
|
||||
.await;
|
||||
sess.send_event(Event {
|
||||
id: sub_id.to_string(),
|
||||
msg: event,
|
||||
})
|
||||
.await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user