File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
components/common/Setting Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ async function chatReplyProcess(options: RequestOptions) {
130
130
131
131
export function initAuditService ( audit : AuditConfig ) {
132
132
if ( ! audit || ! audit . options || ! audit . options . apiKey || ! audit . options . apiSecret )
133
- throw new Error ( '未配置 | Not configured.' )
133
+ return
134
134
const Service = textAuditServices [ audit . provider ]
135
135
auditService = new Service ( audit . options )
136
136
}
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ onMounted(() => {
113
113
@input =" (val) => { if (config && config.options) config.options.label = val }"
114
114
/>
115
115
</div >
116
- <p v-if =" config && config.type === 'baidu'" >
116
+ <p v-if =" config && config.provider === 'baidu'" >
117
117
<a target =" _blank" href =" https://ai.baidu.com/ai-doc/ANTIPORN/Nk3h6xbb2#%E7%BB%86%E5%88%86%E6%A0%87%E7%AD%BE%E5%AF%B9%E7%85%A7%E8%A1%A8" >{{ $t('setting.auditBaiduLabelLink') }}</a >
118
118
</p >
119
119
</div >
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default {
73
73
name : '名称' ,
74
74
description : '描述' ,
75
75
role : '角色设定' ,
76
- temperature : 'Temperature ' ,
76
+ temperature : '思维发散程度 ' ,
77
77
saveUserInfo : '保存用户信息' ,
78
78
top_p : 'Top_p' ,
79
79
chatHistory : '聊天记录' ,
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default {
73
73
name : '名稱' ,
74
74
description : '描述' ,
75
75
role : '角色設定' ,
76
- temperature : 'Temperature ' ,
76
+ temperature : '思维发散程度 ' ,
77
77
top_p : 'Top_p' ,
78
78
saveUserInfo : '保存用户資訊' ,
79
79
chatHistory : '紀錄' ,
You can’t perform that action at this time.
0 commit comments