From c6069b5ab7915a63301e19331644a03bb6938d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=A4usler?= Date: Thu, 3 Jul 2025 01:34:46 +0200 Subject: [PATCH] fix: properly import AsyncExitStack --- llm_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm_processor.py b/llm_processor.py index 7558865..586b7d4 100644 --- a/llm_processor.py +++ b/llm_processor.py @@ -84,7 +84,7 @@ class LLMProcessor: env=None ) - self.exit_stack = asyncio.AsyncExitStack() + self.exit_stack = contextlib.AsyncExitStack() stdio_transport = await self.exit_stack.enter_async_context(stdio_client(server_params)) stdio, write = stdio_transport self.session = await self.exit_stack.enter_async_context(ClientSession(stdio, write))