Skip to content

Commit

Permalink
fix: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
王丹 committed Feb 7, 2025
1 parent d3a6a60 commit 7d9afb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions ui/src/components/ai-chat/ExecutionDetailDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@
>
<h5 class="p-8-12">
{{ $t('views.application.applicationForm.form.roleSettings.label') }}
(System)
</h5>
<div class="p-8-12 border-t-dashed lighter">
{{ item.system || '-' }}
Expand Down Expand Up @@ -506,7 +505,6 @@
>
<h5 class="p-8-12">
{{ $t('views.application.applicationForm.form.roleSettings.label') }}
(System)
</h5>
<div class="p-8-12 border-t-dashed lighter">
{{ item.system || '-' }}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/locales/lang/en-US/ai-chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default {
title: 'Knowledge Source',
referenceParagraph: 'Quote',
consume: 'Tokens',
consumeTime: 'Time'
consumeTime: 'Run Time'
},
paragraphSource: {
title: 'Knowledge Reference',
Expand Down
4 changes: 2 additions & 2 deletions ui/src/locales/lang/en-US/views/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default {
placeholder: 'Please select an AI model'
},
roleSettings: {
label: 'Role settings',
label: 'System Role',
placeholder: 'You are xxx assistant'
},

Expand All @@ -75,7 +75,7 @@ export default {
`
},
historyRecord: {
label: 'Historical chat records'
label: 'Chat History'
},
relatedKnowledge: {
label: 'Related Knowledge',
Expand Down
2 changes: 1 addition & 1 deletion ui/src/locales/lang/zh-CN/views/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {
placeholder: '请选择 AI 模型'
},
roleSettings: {
label: '角色设定',
label: '系统角色',
placeholder: '你是 xxx 小助手'
},
prompt: {
Expand Down

0 comments on commit 7d9afb7

Please sign in to comment.