Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fixed invoke component parameters #4236 (#4237)

Hayden Zhou9fa73771eefa
diff --git a/agent/component/invoke.py b/agent/component/invoke.py
index 9b9053f577..a8be31f6fd 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: