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
style: apply ruff format to server.py
JerrettDavisddf4655b6630
diff --git a/headroom/proxy/server.py b/headroom/proxy/server.pyindex 3b5729337..4b74034da 100644--- a/headroom/proxy/server.py+++ b/headroom/proxy/server.py@@ -2532,7 +2532,8 @@ if __name__ == "__main__":"--openai-api-url", help=f"Custom OpenAI API URL (default: {HeadroomProxy.OPENAI_API_URL})")parser.add_argument(- "--anthropic-api-url", help=f"Custom Anthropic API URL (default: {HeadroomProxy.ANTHROPIC_API_URL})"+ "--anthropic-api-url",+ help=f"Custom Anthropic API URL (default: {HeadroomProxy.ANTHROPIC_API_URL})",)# Backend (anthropic direct, bedrock, openrouter, anyllm, or litellm-<provider>)