5656 ></span >
5757 <span >{{ item.name }}</span >
5858 <el-tag v-if =" item.permission_type === 'PUBLIC'" type =" info" class =" info-tag ml-8"
59- >公用
59+ >公用
6060 </el-tag >
6161 </div >
6262 <el-icon class =" check-icon" v-if =" item.id === form_data.model_id" >
113113 </div >
114114 <el-tooltip effect =" dark" placement =" right" popper-class =" max-w-200" >
115115 <template #content
116- >通过调整提示词内容,可以引导大模型聊天方向,该提示词会被固定在上下文的开头,可以使用变量。
116+ >通过调整提示词内容,可以引导大模型聊天方向,该提示词会被固定在上下文的开头,可以使用变量。
117117 </template >
118118 <AppIcon iconName =" app-warning" class =" app-warning-icon" ></AppIcon >
119119 </el-tooltip >
131131 <template #label >
132132 <div class =" flex-between" >
133133 <div >历史聊天记录</div >
134- <el-select v-model =" form_data.dialogue_type" type =" small" style =" width : 100px ; " >
135- <el-option label =" 节点" value =" NODE" />
136- <el-option label =" 工作流" value =" WORKFLOW" />
134+ <el-select v-model =" form_data.dialogue_type" type =" small" style =" width : 100px " >
135+ <el-option label =" 节点" value =" NODE" />
136+ <el-option label =" 工作流" value =" WORKFLOW" />
137137 </el-select >
138138 </div >
139139 </template >
143143 :value-on-clear =" 0"
144144 controls-position =" right"
145145 class =" w-full"
146+ :step =" 1"
147+ :step-strictly =" true"
146148 />
147149 </el-form-item >
148- <el-form-item label =" 选择图片" :rules =" {
150+ <el-form-item
151+ label =" 选择图片"
152+ :rules =" {
149153 type: 'array',
150154 required: true,
151155 message: '请选择图片',
@@ -232,7 +236,7 @@ const form = {
232236 is_result: true ,
233237 temperature: null ,
234238 max_tokens: null ,
235- image_list: [" start-node" , " image" ]
239+ image_list: [' start-node' , ' image' ]
236240}
237241
238242const form_data = computed ({
@@ -249,7 +253,6 @@ const form_data = computed({
249253 }
250254})
251255
252-
253256function getModel() {
254257 if (id ) {
255258 applicationApi .getApplicationImageModel (id ).then ((res : any ) => {
@@ -268,9 +271,7 @@ function getProvider() {
268271 })
269272}
270273
271- const model_change = (model_id ? : string ) => {
272-
273- }
274+ const model_change = (model_id ? : string ) => {}
274275
275276function submitSystemDialog(val : string ) {
276277 set (props .nodeModel .properties .node_data , ' system' , val )
@@ -286,10 +287,6 @@ onMounted(() => {
286287
287288 set (props .nodeModel , ' validate' , validate )
288289})
289-
290290 </script >
291291
292-
293- <style scoped lang="scss">
294-
295- </style >
292+ <style scoped lang="scss"></style >
0 commit comments