From 03cd87309b166d7f0524a721ce0e2c500b8c2e2e Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Fri, 1 Aug 2025 19:05:11 -0700 Subject: [PATCH] log --- codex-rs/core/src/chat_completions.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/codex-rs/core/src/chat_completions.rs b/codex-rs/core/src/chat_completions.rs index 5b4c1bfd3b..ffeaadd39f 100644 --- a/codex-rs/core/src/chat_completions.rs +++ b/codex-rs/core/src/chat_completions.rs @@ -14,6 +14,7 @@ use tokio::sync::mpsc; use tokio::time::timeout; use tracing::debug; use tracing::trace; +use tracing::warn; use crate::ModelProviderInfo; use crate::client_common::Prompt; @@ -250,7 +251,7 @@ async fn process_chat_sse( Ok(v) => v, Err(_) => continue, }; - trace!("chat_completions received SSE chunk: {chunk:?}"); + warn!("chat_completions received SSE chunk: {chunk:?}"); let choice_opt = chunk.get("choices").and_then(|c| c.get(0));