Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions codex-rs/codex-api/src/endpoint/responses_websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -515,10 +515,7 @@ async fn connect_websocket(

let (stream, response) = match response {
Ok((stream, response)) => {
info!(
"successfully connected to websocket: {url}, headers: {:?}",
response.headers()
);
info!("successfully connected to websocket: {url}");
(stream, response)
}
Err(err) => {
Expand Down
5 changes: 1 addition & 4 deletions codex-rs/core/src/stream_events_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use crate::session::turn_context::TurnContext;
use crate::tools::call_trace;
use crate::tools::parallel::ToolCallRuntime;
use crate::tools::router::ToolRouter;
use crate::tools::router::tool_log_payload;
use codex_memories_read::citations::parse_memory_citation;
use codex_memories_read::citations::thread_ids_from_memory_citation;
use codex_protocol::error::CodexErr;
Expand Down Expand Up @@ -338,12 +337,10 @@ pub(crate) async fn handle_output_item_done(
)
.await;

let payload_preview = tool_log_payload(&call.payload, &call.direct_source());
tracing::info!(
thread_id = %ctx.sess.thread_id,
"ToolCall: {} {}",
"ToolCall: {}",
call.tool_name,
payload_preview
);

record_completed_response_item(ctx.sess.as_ref(), ctx.step_context.as_ref(), &item)
Expand Down
Loading