mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-24 14:44:46 +08:00
fix: langchain-mcp-adapters version conflict (#500)
* fix: langchain-mcp-adapters version conflict * fix the lint error
This commit is contained in:
@@ -1110,7 +1110,7 @@ def patch_multiserver_mcp_client():
|
||||
async def __aexit__(self, exc_type, exc, tb):
|
||||
pass
|
||||
|
||||
def get_tools(self):
|
||||
async def get_tools(self):
|
||||
return [
|
||||
FakeTool("toolA", "descA"),
|
||||
FakeTool("toolB", "descB"),
|
||||
@@ -1244,7 +1244,7 @@ async def test_setup_and_execute_agent_step_with_mcp_tools_description_update(
|
||||
async def __aexit__(self, exc_type, exc, tb):
|
||||
pass
|
||||
|
||||
def get_tools(self):
|
||||
async def get_tools(self):
|
||||
return [FakeTool("toolA", "descA")]
|
||||
|
||||
with patch("src.graph.nodes.MultiServerMCPClient", return_value=FakeClient()):
|
||||
|
||||
Reference in New Issue
Block a user