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
Remove obsolete Ruff UP038 ignore to stabilize CI lint output
JerrettDavis0a8254d629cb
diff --git a/pyproject.toml b/pyproject.tomlindex 51c5cdd31..d1ae3846f 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -228,7 +228,6 @@ ignore = ["E501", # line too long (handled by formatter)"B008", # do not perform function calls in argument defaults"B905", # zip without strict parameter- "UP038", # isinstance(x, (A, B)) is clearer than isinstance(x, A | B)][tool.ruff.lint.isort]