jackkuo commited on
Commit
0f28af0
·
verified ·
1 Parent(s): a14835b

Update client/services/mcp_service.py

Browse files
Files changed (1) hide show
  1. client/services/mcp_service.py +2 -1
client/services/mcp_service.py CHANGED
@@ -16,7 +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
- return await client.get_tools()
 
20
 
21
  async def run_agent(agent, message: str) -> Dict:
22
  """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."""