fix: MCP calls node, workflow error after form recall (#3738)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run

This commit is contained in:
shaohuzhang1 2025-07-25 10:34:51 +08:00 committed by GitHub
parent 5f50059443
commit ceea85e2d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,8 +14,6 @@ class BaseMcpNode(IMcpNode):
self.context['result'] = details.get('result')
self.context['tool_params'] = details.get('tool_params')
self.context['mcp_tool'] = details.get('mcp_tool')
if self.node_params.get('is_result', False):
self.answer_text = details.get('result')
def execute(self, mcp_servers, mcp_server, mcp_tool, tool_params, **kwargs) -> NodeResult:
servers = json.loads(mcp_servers)