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
Fix tests: update default assertions for disabled CodeCompressor
chopratejasb0ed0de37cdb
diff --git a/tests/test_transforms/test_content_router.py b/tests/test_transforms/test_content_router.pyindex 9da045597..b1547f4b5 100644--- a/tests/test_transforms/test_content_router.py+++ b/tests/test_transforms/test_content_router.py@@ -154,7 +154,7 @@ class TestContentRouterConfig:"""Default config values are sensible."""config = ContentRouterConfig()- assert config.enable_code_aware is True+ assert config.enable_code_aware is False # Disabled by default; use code graph MCP insteadassert config.enable_kompress is Trueassert config.enable_smart_crusher is Trueassert config.enable_search_compressor is True@@ -326,7 +326,7 @@ class TestContentRouter:"""Router initializes with default config."""router = ContentRouter()assert router.config is not None- assert router.config.enable_code_aware is True+ assert router.config.enable_code_aware is False # Disabled by defaultdef test_init_with_custom_config(self, default_config):"""Router initializes with custom config."""