fix(docs): mkdocs configuration to build with correct folder (#543)

* fix(docs): mkdocs configuration to build with correct folder

* fix(format): fix ruff format for test file
This commit is contained in:
Devanshi Vyas 2026-06-02 18:07:11 -07:00 committed by GitHub
parent a6a09e6cfb
commit 55579445f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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