Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Demote function call payload log to debug to avoid noisy error-level stderr (#6808)

cassirer-openai8465f1f2f4d6
diff --git a/codex-rs/protocol/src/models.rs b/codex-rs/protocol/src/models.rs
index 755b59f535..e97000c5c2 100644
--- a/codex-rs/protocol/src/models.rs
+++ b/codex-rs/protocol/src/models.rs
@@ -379,7 +379,7 @@ impl Serialize for FunctionCallOutputPayload {
where
S: Serializer,
{
- tracing::error!("Payload: {:?}", self);
+ tracing::debug!("Function call output payload: {:?}", self);
if let Some(items) = &self.content_items {
items.serialize(serializer)
} else {