Fixed invoke component parameters #4236 (#4237)
Browse files### 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
CHANGED
@@ -57,7 +57,7 @@ class Invoke(ComponentBase, ABC):
|
|
57 |
_, out = cpn.output(allow_partial=False)
|
58 |
args[para["key"]] = "\n".join(out["content"])
|
59 |
else:
|
60 |
-
args[para["key"]] =
|
61 |
|
62 |
url = self._param.url.strip()
|
63 |
if url.find("http") != 0:
|
|
|
57 |
_, out = cpn.output(allow_partial=False)
|
58 |
args[para["key"]] = "\n".join(out["content"])
|
59 |
else:
|
60 |
+
args[para["key"]] = para["value"]
|
61 |
|
62 |
url = self._param.url.strip()
|
63 |
if url.find("http") != 0:
|