| | |
| | | <template> |
| | | <NodeBasicLayout v-model:title="data.title" :type="NodeType.Output" :description="VueFlowHelper.getConfigValue(data, 'description', '可向用户发送消息,并且支持进行更丰富的交互,例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。')"> |
| | | <NodeBasicLayout |
| | | :maxWidth="520" |
| | | v-model:title="data.title" |
| | | :type="NodeType.Output" |
| | | :description=" |
| | | VueFlowHelper.getConfigValue( |
| | | data, |
| | | 'description', |
| | | '可向用户发送消息,并且支持进行更丰富的交互,例如请求用户批准进行某项敏感操作、允许用户在模型输出内容的基础上直接修改并提交。' |
| | | ) |
| | | " |
| | | > |
| | | <Handle :id="targetHandleId" type="target" :position="Position.Left" /> |
| | | <FieldLayout level="2" :title="VueFlowHelper.getParams(outputParams, 'output_msg').label"> |
| | | <el-input |
| | | v-model="VueFlowHelper.getParams(outputParams, 'output_msg').value.msg" |
| | | type="textarea" |
| | | :rows="4" |
| | | :autosize="{ minRows: 4, maxRows: 6 }" |
| | | :placeholder="VueFlowHelper.getParams(outputParams, 'output_msg').placeholder" |
| | | autocomplete="off" |
| | | > |
| | |
| | | <el-input |
| | | v-model="VueFlowHelper.getParams(outputParams, 'output_result').value.value" |
| | | type="textarea" |
| | | :rows="4" |
| | | :autosize="{ minRows: 4, maxRows: 6 }" |
| | | v-if="VueFlowHelper.getParams(outputParams, 'output_result').value.type === InteractionType.Input" |
| | | > |
| | | </el-input> |