This commit is contained in:
Charlie Kolb 2024-11-21 11:12:19 +01:00
parent 5542c57eff
commit a9bda99368
No known key found for this signature in database

View file

@ -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 }}' },
});