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

Update client/services/mcp_service.py

Browse files
Files changed (1) hide show
  1. client/services/mcp_service.py +2 -2
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
- # 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."""
 
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."""