Skip to content

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.

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.py
index 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 instead
assert config.enable_kompress is True
assert config.enable_smart_crusher is True
assert 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 default
def test_init_with_custom_config(self, default_config):
"""Router initializes with custom config."""