mirror of
https://github.com/openai/codex.git
synced 2026-04-28 16:45:54 +00:00
Do not double encode request bodies in logging (#6558)
This commit is contained in:
@@ -338,7 +338,7 @@ pub(crate) async fn stream_chat_completions(
|
||||
debug!(
|
||||
"POST to {}: {}",
|
||||
provider.get_full_url(&None),
|
||||
serde_json::to_string_pretty(&payload).unwrap_or_default()
|
||||
payload.to_string()
|
||||
);
|
||||
|
||||
let mut attempt = 0;
|
||||
|
||||
Reference in New Issue
Block a user