Commit fb689e36 authored by 何家明's avatar 何家明

优化mcp问答功能

parent ec76005c
...@@ -89,7 +89,7 @@ class McpClient: ...@@ -89,7 +89,7 @@ class McpClient:
try: try:
while True: while True:
logger.info("Loop to keep session alive...") logger.info("Loop to keep session alive...")
await asyncio.sleep(60) await asyncio.sleep(10)
await session.send_ping() await session.send_ping()
except Exception as e: except Exception as e:
logger.exception(e) logger.exception(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment