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(docs): mkdocs configuration to build with correct folder (#543)
Devanshi Vyas55579445f84c
diff --git a/mkdocs.yml b/mkdocs.ymlindex 221cf9413..9b1c6e4cb 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -1,4 +1,5 @@site_name: Headroom+docs_dir: wikisite_description: "The Context Optimization Layer for LLM Applications — compress everything your AI agent reads."site_url: https://chopratejas.github.io/headroomrepo_url: https://github.com/chopratejas/headroomdiff --git a/tests/test_provider_proxy_routes.py b/tests/test_provider_proxy_routes.pyindex dc069b807..2f5d154c8 100644--- a/tests/test_provider_proxy_routes.py+++ b/tests/test_provider_proxy_routes.py@@ -422,6 +422,7 @@ def test_v1_models_falls_back_to_synthetic_list_under_chatgpt_auth(monkeypatch)synthesize an OpenAI-compatible response with the known-supportedCodex/ChatGPT model set instead, so Codex's model-picker refresh succeeds."""+class FakeAsyncClient:async def get(self, url, **kwargs): # type: ignore[no-untyped-def]return httpx.Response(403, json={"error": "forbidden"})@@ -458,6 +459,7 @@ def test_v1_models_get_single_dynamic_under_chatgpt_auth() -> None:"""The single-model variant (`/v1/models/{id}`) is also called byCodex for some flows. It should use the Codex registry first sodynamically exposed model slugs validate consistently."""+class FakeAsyncClient:def __init__(self) -> None:self.calls = 0