Skip to content

Commit ac7da23

Browse files
committed
Merge remote-tracking branch 'upstream/main' into chore/i18n-patch-1
2 parents c27b56e + dd80d86 commit ac7da23

File tree

6 files changed

+38
-41
lines changed

6 files changed

+38
-41
lines changed

apps/setting/models_provider/impl/siliconCloud_model_provider/icon/siliconCloud_icon_svg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
1+
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
22
<g clip-path="url(#clip0_10835_2)">
33
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.4785 0H18.7463C13.203 0 10.0078 3.54162 10.0078 8.96931V9.9C9.36946 9.71693 8.70867 9.62403 8.04462 9.624C4.11139 9.62377 0.92308 12.8123 0.92308 16.7453C0.92308 20.6785 4.11139 23.8668 8.04462 23.8668C11.9779 23.8668 15.1662 20.6785 15.1662 16.7453C15.1662 16.2669 15.1179 15.7899 15.0224 15.321H20.4785C21.915 15.3157 23.0769 14.1496 23.0769 12.7131C23.0769 11.2763 21.915 10.1102 20.4785 10.1049H15.0508V8.73831C15.0508 6.65954 16.5519 5.15838 18.7463 5.15838H20.4785C21.8878 5.13692 23.0192 3.98862 23.0192 2.57908C23.0192 1.16977 21.8878 0.0212308 20.4785 0ZM10.1619 16.7453C10.1619 16.1838 9.93885 15.6452 9.54178 15.2481C9.14471 14.8511 8.60616 14.628 8.04462 14.628C7.48307 14.628 6.94453 14.8511 6.54746 15.2481C6.15038 15.6452 5.92731 16.1838 5.92731 16.7453C5.92731 17.3069 6.15038 17.8454 6.54746 18.2425C6.94453 18.6395 7.48307 18.8626 8.04462 18.8626C8.60616 18.8626 9.14471 18.6395 9.54178 18.2425C9.93885 17.8454 10.1619 17.3069 10.1619 16.7453Z" fill="#8358F6"/>
44
</g>

ui/src/components/ai-chat/component/chat-input-operate/index.vue

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -51,40 +51,7 @@
5151
</div>
5252
</el-card>
5353
</el-col>
54-
<el-col
55-
:xs="24"
56-
:sm="12"
57-
:md="12"
58-
:lg="12"
59-
:xl="12"
60-
class="mb-8"
61-
v-for="(item, index) in uploadImageList"
62-
:key="index"
63-
>
64-
<div
65-
class="file cursor border border-r-4"
66-
v-if="item.url"
67-
@mouseenter.stop="mouseenter(item)"
68-
@mouseleave.stop="mouseleave()"
69-
>
70-
<div
71-
@click="deleteFile(index, 'image')"
72-
class="delete-icon color-secondary"
73-
v-if="showDelete === item.url"
74-
>
75-
<el-icon>
76-
<CircleCloseFilled />
77-
</el-icon>
78-
</div>
79-
<el-image
80-
:src="item.url"
81-
alt=""
82-
fit="cover"
83-
style="width: 40px; height: 40px; display: block"
84-
class="border-r-4"
85-
/>
86-
</div>
87-
</el-col>
54+
8855
<el-col
8956
:xs="24"
9057
:sm="12"
@@ -118,6 +85,33 @@
11885
</el-card>
11986
</el-col>
12087
</el-row>
88+
<div class="flex">
89+
<template v-for="(item, index) in uploadImageList" :key="index">
90+
<div
91+
class="file cursor border border-r-4 mr-8"
92+
v-if="item.url"
93+
@mouseenter.stop="mouseenter(item)"
94+
@mouseleave.stop="mouseleave()"
95+
>
96+
<div
97+
@click="deleteFile(index, 'image')"
98+
class="delete-icon color-secondary"
99+
v-if="showDelete === item.url"
100+
>
101+
<el-icon>
102+
<CircleCloseFilled />
103+
</el-icon>
104+
</div>
105+
<el-image
106+
:src="item.url"
107+
alt=""
108+
fit="cover"
109+
style="width: 40px; height: 40px; display: block"
110+
class="border-r-4"
111+
/>
112+
</div>
113+
</template>
114+
</div>
121115
</div>
122116
</el-scrollbar>
123117
<div class="flex">

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
22
node: 'Node',
3-
baseComponent: 'Base Component',
3+
baseComponent: 'Base',
44
nodeSetting: 'Node Settings',
55
workflow: 'Workflow',
66
searchBar: {
@@ -18,7 +18,8 @@ export default {
1818
releaseHistory: 'Release History',
1919
autoSave: 'Auto Save',
2020
latestRelease: 'Latest Release',
21-
copyParam: 'Copy Parameters'
21+
copyParam: 'Copy Parameters',
22+
debug: 'Run',
2223
},
2324
tip: {
2425
publicSuccess: 'Published successfully',
@@ -114,7 +115,7 @@ export default {
114115
is_hit_handling_method_list: 'List of segments that meet direct response criteria',
115116
result: 'Search Result',
116117
directly_return: 'Content of segments that meet direct response criteria',
117-
selectDatasetText: 'Associated knowledge displayed here',
118+
selectDatasetText: 'Related knowledge displayed here',
118119
searchParam: 'Search Parameters',
119120
searchQuestion: {
120121
label: 'Search Question',

ui/src/locales/lang/zh-CN/views/application-workflow.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ export default {
1818
releaseHistory: '发布历史',
1919
autoSave: '自动保存',
2020
latestRelease: '最近发布',
21-
copyParam: '复制参数'
21+
copyParam: '复制参数',
22+
debug: '调试',
2223
},
2324
tip: {
2425
publicSuccess: '发布成功',

ui/src/locales/lang/zh-Hant/views/application-workflow.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ export default {
1818
releaseHistory: '發布歷史',
1919
autoSave: '自動保存',
2020
latestRelease: '最近發布',
21-
copyParam: '複製參數'
21+
copyParam: '複製參數',
22+
debug: '調試',
2223
},
2324
tip: {
2425
publicSuccess: '發布成功',

ui/src/views/application-workflow/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<el-button icon="Plus" @click="showPopover = !showPopover"> {{ $t('views.applicationWorkflow.setting.addComponent') }} </el-button>
3131
<el-button @click="clickShowDebug" :disabled="showDebug">
3232
<AppIcon iconName="app-play-outlined" class="mr-4"></AppIcon>
33-
{{ $t('common.debug') }}</el-button
33+
{{ $t('views.applicationWorkflow.setting.debug') }}</el-button
3434
>
3535
<el-button @click="saveApplication(true)">
3636
<AppIcon iconName="app-save-outlined" class="mr-4"></AppIcon>

0 commit comments

Comments
 (0)