The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
perf: skip dict copy for non-compression auxiliary calls
kshitijk4poor699bfcd026d2
diff --git a/agent/auxiliary_client.py b/agent/auxiliary_client.pyindex 3db92095cbf..9c0eedcad5c 100644--- a/agent/auxiliary_client.py+++ b/agent/auxiliary_client.py@@ -8531,9 +8531,9 @@ def _compression_fast_lane_controls(extra_body: Dict[str, Any],) -> tuple[int | None, Dict[str, Any]]:"""Apply the certified compression controls to one resolved route."""- body = dict(extra_body)if task != "compression" or max_tokens is not None:- return max_tokens, body+ return max_tokens, extra_body+ body = dict(extra_body)lane = resolve_compression_fast_lane(actual_provider,actual_model,