mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
cleanup
This commit is contained in:
parent
5542c57eff
commit
a9bda99368
|
@ -21,7 +21,6 @@ function adjustNewTarget(source: AddedNode, target: AddedNode) {
|
|||
PROMPT_PROVIDER_NODE_NAMES.includes(source.type)
|
||||
) {
|
||||
// Need to re-set text to support disabled parameter value for prompt text.
|
||||
// try: text: undefined or delete
|
||||
Object.assign<AddedNode, Partial<INode>>(target, {
|
||||
parameters: { ...target.parameters, promptType: 'auto', text: '={{ $json.chatInput }}' },
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue