Update client/services/mcp_service.py
Browse files
client/services/mcp_service.py
CHANGED
|
@@ -16,8 +16,8 @@ async def setup_mcp_client(server_config: Dict[str, Dict]) -> MultiServerMCPClie
|
|
| 16 |
|
| 17 |
async def get_tools_from_client(client: MultiServerMCPClient) -> List[BaseTool]:
|
| 18 |
"""Get tools from the MCP client."""
|
| 19 |
-
|
| 20 |
-
return client.get_tools()
|
| 21 |
|
| 22 |
async def run_agent(agent, message: str) -> Dict:
|
| 23 |
"""Run the agent with the provided message."""
|
|
|
|
| 16 |
|
| 17 |
async def get_tools_from_client(client: MultiServerMCPClient) -> List[BaseTool]:
|
| 18 |
"""Get tools from the MCP client."""
|
| 19 |
+
return await client.get_tools()
|
| 20 |
+
# return client.get_tools()
|
| 21 |
|
| 22 |
async def run_agent(agent, message: str) -> Dict:
|
| 23 |
"""Run the agent with the provided message."""
|