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.

style(copilot): ruff-format test_copilot_auth.py

Tejas Chopra6ed43027b714
diff --git a/tests/test_copilot_auth.py b/tests/test_copilot_auth.py
index 42dba3051..3c8ed5388 100644
--- a/tests/test_copilot_auth.py
+++ b/tests/test_copilot_auth.py
@@ -75,9 +75,11 @@ def test_resolve_subscription_bearer_token_skips_invalid_generic_token(
monkeypatch.setattr(
copilot_auth,
"_fetch_copilot_user_info",
- lambda token: {"endpoints": {"api": "https://api.individual.githubcopilot.com"}}
- if token == "gho-copilot"
- else None,
+ lambda token: (
+ {"endpoints": {"api": "https://api.individual.githubcopilot.com"}}
+ if token == "gho-copilot"
+ else None
+ ),
)
assert copilot_auth.resolve_subscription_bearer_token() == "gho-copilot"