fix: remove format_instructions from input_v extrac
This commit is contained in:
parent
e28c3dc18e
commit
b0615e9a4e
1 changed files with 3 additions and 1 deletions
|
|
@ -68,7 +68,9 @@ class PromptNode(Node):
|
||||||
)
|
)
|
||||||
self.params["tools"] = tools
|
self.params["tools"] = tools
|
||||||
prompt_params = [
|
prompt_params = [
|
||||||
key for key, value in self.params.items() if value["type"] == "str"
|
key
|
||||||
|
for key, value in self.params.items()
|
||||||
|
if isinstance(value, str) and key != "format_instructions"
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
prompt_params = ["template"]
|
prompt_params = ["template"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue