Skip to content

Commit 79b64b1

Browse files
committed
Do not close mcp client session
1 parent 6613176 commit 79b64b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mcp_client_cli/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ async def handle_conversation(args: argparse.Namespace, query: HumanMessage,
266266

267267
await conversation_manager.save_id(thread_id, checkpointer.conn)
268268

269-
for toolkit in toolkits:
270-
await toolkit.close()
269+
# for toolkit in toolkits:
270+
# await toolkit.close()
271271

272272
def parse_query(args: argparse.Namespace) -> tuple[HumanMessage, bool]:
273273
"""

0 commit comments

Comments
 (0)