From 9fa73771eefa6d751ffe52ad44cc07595818a086 Mon Sep 17 00:00:00 2001 From: Hayden Zhou Date: Thu, 26 Dec 2024 16:06:19 +0800 Subject: [PATCH] Fixed invoke component parameters #4236 (#4237) ### What problem does this PR solve? to fixed issue https://github.com/infiniflow/ragflow/issues/4236 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- agent/component/invoke.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/component/invoke.py b/agent/component/invoke.py index 9b9053f57..a8be31f6f 100644 --- a/agent/component/invoke.py +++ b/agent/component/invoke.py @@ -57,7 +57,7 @@ class Invoke(ComponentBase, ABC): _, out = cpn.output(allow_partial=False) args[para["key"]] = "\n".join(out["content"]) else: - args[para["key"]] = "\n".join(para["value"]) + args[para["key"]] = para["value"] url = self._param.url.strip() if url.find("http") != 0: