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.

Fix asyncio event loop error in Python 3.10+ tests

chopratejas2320405348bd
diff --git a/tests/test_memory/test_easy.py b/tests/test_memory/test_easy.py
index 824deb5be..ec6051479 100644
--- a/tests/test_memory/test_easy.py
+++ b/tests/test_memory/test_easy.py
@@ -131,7 +131,7 @@ class TestMemoryInitialization:
# Initialization happens on first use
import asyncio
- asyncio.get_event_loop().run_until_complete(mem._ensure_initialized())
+ asyncio.run(mem._ensure_initialized())
def test_repr(self):
"""Test string representation."""