Skip to content

Commit f6c72b4

Browse files
committed
refactor: simplify return statement in get_reference_content method
1 parent c8c26bb commit f6c72b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/application/flow/step_node/mcp_node/impl/base_mcp_node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ def handle_variables(self, tool_params):
5757
return tool_params
5858

5959
def get_reference_content(self, fields: List[str]):
60-
return str(self.workflow_manage.get_reference_field(
60+
return self.workflow_manage.get_reference_field(
6161
fields[0],
62-
fields[1:]))
62+
fields[1:])
6363

6464
def get_details(self, index: int, **kwargs):
6565
return {

0 commit comments

Comments
 (0)