refactor: simplify return statement in get_reference_content method
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
CaptainB 2025-10-21 11:59:07 +08:00
parent c8c26bb6d3
commit f6c72b44c2

View File

@ -57,9 +57,9 @@ class BaseMcpNode(IMcpNode):
return tool_params
def get_reference_content(self, fields: List[str]):
return str(self.workflow_manage.get_reference_field(
return self.workflow_manage.get_reference_field(
fields[0],
fields[1:]))
fields[1:])
def get_details(self, index: int, **kwargs):
return {