mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
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:
parent
a6a09e6cfb
commit
55579445f8
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue