nodeUpdatePrompt

A node that adds messages to the LLM prompt using the provided prompt builder.

Parameters

name

Optional node name, defaults to delegate's property name.

body

Lambda to modify the prompt using PromptBuilder.