Fix name of template field on message
This commit is contained in:
parent
436966c5d6
commit
acc43aebb9
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
|
|||
const chatInputNode = nodes.find((node) => node.id === chatInput?.id);
|
||||
if (chatInputNode) {
|
||||
let newNode = cloneDeep(chatInputNode);
|
||||
newNode.data.node!.template["message"].value = chatValue;
|
||||
newNode.data.node!.template["input_value"].value = chatValue;
|
||||
setNode(chatInput!.id, newNode);
|
||||
}
|
||||
for (let i = 0; i < count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue