Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Log HTTP Version (#5475)

pakrym-oaicdd106b930f6
diff --git a/codex-rs/core/src/client.rs b/codex-rs/core/src/client.rs
index 2d614e3742..1bf1ad0d8b 100644
--- a/codex-rs/core/src/client.rs
+++ b/codex-rs/core/src/client.rs
@@ -336,10 +336,11 @@ impl ModelClient {
.get("cf-ray")
.map(|v| v.to_str().unwrap_or_default().to_string());
- trace!(
- "Response status: {}, cf-ray: {:?}",
+ debug!(
+ "Response status: {}, cf-ray: {:?}, version: {:?}",
resp.status(),
- request_id
+ request_id,
+ resp.version()
);
}