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)
This commit is contained in:
Hayden Zhou 2024-12-26 16:06:19 +08:00 committed by GitHub
parent fe279754ac
commit 9fa73771ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: