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(docs): mkdocs configuration to build with correct folder (#543)

Devanshi Vyas55579445f84c
diff --git a/mkdocs.yml b/mkdocs.yml
index 221cf9413..9b1c6e4cb 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -1,4 +1,5 @@
site_name: Headroom
+docs_dir: wiki
site_description: "The Context Optimization Layer for LLM Applications — compress everything your AI agent reads."
site_url: https://chopratejas.github.io/headroom
repo_url: https://github.com/chopratejas/headroom
diff --git a/tests/test_provider_proxy_routes.py b/tests/test_provider_proxy_routes.py
index 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-supported
Codex/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 by
Codex for some flows. It should use the Codex registry first so
dynamically exposed model slugs validate consistently."""
+
class FakeAsyncClient:
def __init__(self) -> None:
self.calls = 0