This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import threading | |
import queue | |
import dspy | |
from mcp import ClientSession, StdioServerParameters | |
from mcp.client.stdio import stdio_client | |
class ToolManager: | |
def __init__(self, server_params): |