Channing Conger
4e59ceae06
Add feature for optional request compression ( #8767 )
...
Adds a new feature
`enable_request_compression` that will compress using zstd requests to
the codex-backend. Currently only enabled for codex-backend so only enabled for openai providers when using chatgpt::auth even when the feature is enabled
Added a new info log line too for evaluating the compression ratio and
overhead off compressing before requesting. You can enable with
`RUST_LOG=$RUST_LOG,codex_client::transport=info`
```
2026-01-06T00:09:48.272113Z INFO codex_client::transport: Compressed request body with zstd pre_compression_bytes=28914 post_compression_bytes=11485 compression_duration_ms=0
```
2026-01-09 11:37:11 +00:00
..
2026-01-09 11:37:07 +00:00
2025-10-27 12:10:11 -07:00
2025-12-18 17:02:03 -08:00
2026-01-09 11:37:11 +00:00
2026-01-09 11:29:55 +00:00
2026-01-09 11:37:08 +00:00
2026-01-09 11:37:10 +00:00
2025-12-12 22:07:03 +00:00
2026-01-09 11:37:11 +00:00
2026-01-09 11:37:07 +00:00
2025-12-18 17:02:03 -08:00
2026-01-09 11:29:53 +00:00
2026-01-09 11:37:06 +00:00
2026-01-09 11:37:10 +00:00
2026-01-09 11:37:11 +00:00
2026-01-09 11:37:06 +00:00
2025-12-03 11:35:56 +00:00
2026-01-09 11:37:11 +00:00
2026-01-09 11:37:09 +00:00
2025-12-22 19:59:27 +00:00
2026-01-09 11:37:08 +00:00
2026-01-09 11:37:11 +00:00
2026-01-09 11:37:07 +00:00
2026-01-09 11:37:07 +00:00
2026-01-09 11:37:11 +00:00
2025-11-25 16:12:14 +00:00
2026-01-09 11:37:07 +00:00
2025-11-04 17:44:02 -08:00
2025-12-17 08:13:59 -08:00
2025-12-11 15:09:00 -08:00
2025-12-18 17:02:03 -08:00
2026-01-09 11:37:11 +00:00
2025-12-10 13:59:17 -08:00
2025-12-18 14:28:30 -08:00
2026-01-09 11:29:53 +00:00
2025-12-18 17:02:03 -08:00
2026-01-09 11:37:11 +00:00
2025-09-24 14:29:51 -07:00
2025-10-20 20:57:37 +01:00
2025-12-02 17:54:02 +00:00
2025-10-20 20:57:37 +01:00
2026-01-09 11:37:07 +00:00
2026-01-09 11:29:50 +00:00
2025-10-27 17:55:57 -04:00
2026-01-09 11:37:07 +00:00
2025-12-12 10:05:02 -08:00
2025-12-12 17:07:17 -08:00
2025-12-09 18:30:16 -08:00
2025-12-18 08:50:13 -08:00
2025-12-22 09:36:44 -08:00
2026-01-09 11:29:52 +00:00
2025-11-28 11:34:57 +00:00
2025-12-02 11:26:27 +00:00
2026-01-09 11:37:11 +00:00
2025-12-04 17:58:58 +00:00
2025-11-06 12:47:20 -08:00
2025-12-15 22:54:43 -08:00
2025-12-11 13:46:43 +00:00
2025-12-11 13:46:43 +00:00
2025-11-07 17:54:35 -08:00
2025-12-16 16:53:15 +00:00
2025-12-18 12:50:00 -08:00
2025-11-20 11:04:11 -08:00
2026-01-09 11:37:10 +00:00
2025-10-20 08:50:54 -07:00
2026-01-09 11:37:11 +00:00
2025-09-22 17:16:02 +00:00
2025-12-10 13:59:17 -08:00
2025-10-20 23:53:03 +00:00
2025-12-18 16:12:52 -08:00
2026-01-02 16:51:03 -08:00