Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Python agentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcpopenaiprompt-engineeringproxypythonragtoken-optimizationtokenstypescript
deps: bump tower-http from 0.6.11 to 0.7.0 (#1520)
dependabot[bot]98f7f1c2a36e
diff --git a/Cargo.lock b/Cargo.lockindex f831f63fc..071e7d4f7 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1935,7 +1935,7 @@ dependencies = ["tokio-tungstenite","tokio-util","tower",- "tower-http",+ "tower-http 0.7.0","tracing","tracing-subscriber","url",@@ -3610,7 +3610,7 @@ dependencies = ["tokio-rustls","tokio-util","tower",- "tower-http",+ "tower-http 0.6.11","tower-service","url","wasm-bindgen",@@ -4420,8 +4420,25 @@ dependencies = ["tower","tower-layer","tower-service",- "tracing","url",+]++[[package]]+name = "tower-http"+version = "0.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b11f75e912b0c2be01b63d8cf8057b8c3f97cf34abb3d431a3a4c8675498e233"+dependencies = [+ "bitflags",+ "bytes",+ "http 1.4.2",+ "http-body 1.0.1",+ "percent-encoding",+ "pin-project-lite",+ "tower",+ "tower-layer",+ "tower-service",+ "tracing","uuid",]diff --git a/crates/headroom-proxy/Cargo.toml b/crates/headroom-proxy/Cargo.tomlindex 49646e1e3..2b1cdab0a 100644--- a/crates/headroom-proxy/Cargo.toml+++ b/crates/headroom-proxy/Cargo.toml@@ -19,7 +19,7 @@ path = "src/lib.rs"axum = { workspace = true, features = ["ws", "http2", "macros"] }tokio = { workspace = true, features = ["macros", "rt-multi-thread", "signal", "net", "io-util", "time"] }tower = { workspace = true }-tower-http = { version = "0.6", features = ["trace", "request-id", "util"] }+tower-http = { version = "0.7", features = ["trace", "request-id", "util"] }tracing = { workspace = true }tracing-subscriber = { version = "0.3", features = ["json", "env-filter", "fmt"] }reqwest = { version = "0.12", default-features = false, features = ["stream", "rustls-tls", "http2"] }