fix: 修复历史聊天记录字段格式问题
This commit is contained in:
parent
5df4925dbe
commit
33ed8aa4ae
@ -131,7 +131,7 @@
|
||||
<template #label>
|
||||
<div class="flex-between">
|
||||
<div>历史聊天记录</div>
|
||||
<el-select v-model="form_data.dialogue_type" type="small" style="width: 100px;">
|
||||
<el-select v-model="form_data.dialogue_type" type="small" style="width: 100px">
|
||||
<el-option label="节点" value="NODE" />
|
||||
<el-option label="工作流" value="WORKFLOW" />
|
||||
</el-select>
|
||||
@ -143,9 +143,13 @@
|
||||
:value-on-clear="0"
|
||||
controls-position="right"
|
||||
class="w-full"
|
||||
:step="1"
|
||||
:step-strictly="true"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="选择图片" :rules="{
|
||||
<el-form-item
|
||||
label="选择图片"
|
||||
:rules="{
|
||||
type: 'array',
|
||||
required: true,
|
||||
message: '请选择图片',
|
||||
@ -232,7 +236,7 @@ const form = {
|
||||
is_result: true,
|
||||
temperature: null,
|
||||
max_tokens: null,
|
||||
image_list: ["start-node", "image"]
|
||||
image_list: ['start-node', 'image']
|
||||
}
|
||||
|
||||
const form_data = computed({
|
||||
@ -249,7 +253,6 @@ const form_data = computed({
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
function getModel() {
|
||||
if (id) {
|
||||
applicationApi.getApplicationImageModel(id).then((res: any) => {
|
||||
@ -268,9 +271,7 @@ function getProvider() {
|
||||
})
|
||||
}
|
||||
|
||||
const model_change = (model_id?: string) => {
|
||||
|
||||
}
|
||||
const model_change = (model_id?: string) => {}
|
||||
|
||||
function submitSystemDialog(val: string) {
|
||||
set(props.nodeModel.properties.node_data, 'system', val)
|
||||
@ -286,10 +287,6 @@ onMounted(() => {
|
||||
|
||||
set(props.nodeModel, 'validate', validate)
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user