Skip to content

Commit 09c5c9c

Browse files
feat: Variable Splitting Node and Parameter Extraction Node
1 parent 727c8bf commit 09c5c9c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+291
-318
lines changed

ui/src/components/dynamics-form/items/table/ProgressTableItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const view_card = computed(() => {
5555
</script>
5656
<style lang="scss" scoped>
5757
@mixin valueScss() {
58-
color: rgba(31, 35, 41, 1);
58+
color: var(--el-text-color-primary);
5959
font-weight: 500;
6060
font-size: 12px;
6161
line-height: 22px;

ui/src/components/folder-tree/CreateFolderDialog.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
@blur="folderForm.name = folderForm.name.trim()"
2525
/>
2626
</el-form-item>
27-
<el-form-item :label="$t('components.folder.description')" prop="desc">
27+
<el-form-item :label="$t('common.desc')" prop="desc">
2828
<el-input
2929
v-model="folderForm.desc"
3030
type="textarea"
31-
:placeholder="$t('components.folder.descriptionPlaceholder')"
31+
:placeholder="$t('common.descPlaceholder')"
3232
maxlength="128"
3333
show-word-limit
3434
:autosize="{ minRows: 3 }"
@@ -133,7 +133,7 @@ const submitHandle = async () => {
133133
.then((res) => {
134134
return user.profile().then(() => {
135135
return res
136-
})
136+
})
137137
})
138138
.then((res) => {
139139
MsgSuccess(t('common.createSuccess'))

ui/src/components/layout-container/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const showBack = computed(() => {
5656
position: absolute;
5757
top: 36px;
5858
right: -12px;
59-
box-shadow: 0px 5px 10px 0px rgba(31, 35, 41, 0.1);
59+
box-shadow: 0px 5px 10px 0px var(--app-text-color-light-1);
6060
z-index: 1;
6161
}
6262

ui/src/locales/lang/en-US/common.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ export default {
7878
selectPlaceholder: 'Please select',
7979
title: 'Title',
8080
content: 'Content',
81+
desc: 'Description',
82+
descPlaceholder: 'Please enter description',
8183
rename: 'Rename',
8284
renameSuccess: 'Successful',
8385
EditAvatarDialog: {
@@ -114,4 +116,5 @@ export default {
114116
label: 'Prompt',
115117
placeholder: 'Please enter prompt',
116118
},
119+
variable: 'Variable',
117120
}

ui/src/locales/lang/en-US/components.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ export default {
1515
addChildFolder: 'Add Child Folder',
1616
editFolder: 'Edit Folder',
1717
folderNamePlaceholder: 'Please enter a name',
18-
description: 'Description',
19-
descriptionPlaceholder: 'Please enter a description',
2018
requiredMessage: 'Please select a folder',
2119
deleteConfirmMessage: 'Folders with resources will be deleted, please be cautious.',
2220
},

ui/src/locales/lang/en-US/views/application-workflow.ts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -432,23 +432,21 @@ You are a master of problem optimization, adept at accurately inferring user int
432432
text: 'Used to split variables',
433433
result: 'Result',
434434
splitVariables: 'Split Variables',
435+
inputVariables: 'Input Variable',
436+
addVariables: 'Add Variables',
437+
editVariables: 'Edit Variables',
438+
variablePlaceholder: 'Please enter variable',
435439
expression: {
436440
label: 'Expression',
437441
placeholder: 'Please enter expression',
438442
},
439443
},
440444
parameterExtractionNode: {
441-
label: '參數提取',
442-
text: '利用 AI 模型提取結構化參數',
443-
result: '結果',
444-
selectVariables: {
445-
label: '選擇變數',
446-
placeholder: '請選擇變數',
447-
},
445+
label: 'Parameter Extraction',
446+
text: 'Use AI models to extract structured parameters',
448447
extractParameters: {
449-
label: '提取參數',
450-
desc: '描述',
451-
parameterType: '參數類型',
448+
label: 'Extract Parameters',
449+
parameterType: 'Parameter Type',
452450
},
453451
},
454452
},

ui/src/locales/lang/en-US/views/application.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export default {
4343
requiredMessage: 'APP name is required',
4444
},
4545
appDescription: {
46-
label: 'Description',
4746
placeholder:
4847
'Describe the APP scenario and use, e.g.: XXX assistant answering user questions about XXX product usage',
4948
},

ui/src/locales/lang/en-US/views/tool.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,9 @@ export default {
5454
requiredMessage: 'Please enter the MCP name',
5555
},
5656
toolDescription: {
57-
label: 'Description',
5857
placeholder: 'Please enter a description of the tool',
5958
},
6059
mcpDescription: {
61-
label: 'Description',
6260
placeholder: 'Please enter a description of the MCP',
6361
},
6462
paramName: {

ui/src/locales/lang/zh-CN/common.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ export default {
8282
selectPlaceholder: '请选择',
8383
title: '标题',
8484
content: '内容',
85+
desc: '描述',
86+
descPlaceholder: '请输入描述',
8587
rename: '重命名',
8688
renameSuccess: '重命名成功',
8789
EditAvatarDialog: {
@@ -117,4 +119,5 @@ export default {
117119
label: '提示词',
118120
placeholder: '请输入提示词',
119121
},
122+
variable: '变量',
120123
}

ui/src/locales/lang/zh-CN/components.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ export default {
1515
addChildFolder: '添加子文件夹',
1616
editFolder: '编辑文件夹',
1717
folderNamePlaceholder: '请输入名称',
18-
description: '描述',
19-
descriptionPlaceholder: '请输入描述',
2018
requiredMessage: '请选择文件夹',
21-
deleteConfirmMessage: '文件夹下的资源会被删除,请谨慎操作。'
19+
deleteConfirmMessage: '文件夹下的资源会被删除,请谨慎操作。',
2220
},
2321
}

0 commit comments

Comments
 (0)