gegef2009 commited on
Commit
8e24bf0
·
1 Parent(s): db17f34

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)

Files changed (1) hide show
  1. agent/component/invoke.py +1 -1
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"]] = "\n".join(para["value"])
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: