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.

test(agno): drop dead module-level Metrics import (#3269)

Tejas Chopraf4119c3bc047
diff --git a/tests/test_integrations/agno/test_model.py b/tests/test_integrations/agno/test_model.py
index a3fe45c40..d1aac8982 100644
--- a/tests/test_integrations/agno/test_model.py
+++ b/tests/test_integrations/agno/test_model.py
@@ -19,11 +19,6 @@ try:
AGNO_AVAILABLE = True
except ImportError:
AGNO_AVAILABLE = False
-else:
- try: # agno < 3: the per-message usage dataclass lived at agno.models.metrics
- from agno.models.metrics import Metrics
- except ImportError: # agno >= 3 moved it to agno.metrics, renamed MessageMetrics
- from agno.metrics import MessageMetrics as Metrics
from headroom import HeadroomConfig, HeadroomMode