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) {
130130
131131export function initAuditService ( audit : AuditConfig ) {
132132 if ( ! audit || ! audit . options || ! audit . options . apiKey || ! audit . options . apiSecret )
133- throw new Error ( '未配置 | Not configured.' )
133+ return
134134 const Service = textAuditServices [ audit . provider ]
135135 auditService = new Service ( audit . options )
136136}
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ onMounted(() => {
113113 @input =" (val) => { if (config && config.options) config.options.label = val }"
114114 />
115115 </div >
116- <p v-if =" config && config.type === 'baidu'" >
116+ <p v-if =" config && config.provider === 'baidu'" >
117117 <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 >
118118 </p >
119119 </div >
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default {
7373 name : '名称' ,
7474 description : '描述' ,
7575 role : '角色设定' ,
76- temperature : 'Temperature ' ,
76+ temperature : '思维发散程度 ' ,
7777 saveUserInfo : '保存用户信息' ,
7878 top_p : 'Top_p' ,
7979 chatHistory : '聊天记录' ,
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default {
7373 name : '名稱' ,
7474 description : '描述' ,
7575 role : '角色設定' ,
76- temperature : 'Temperature ' ,
76+ temperature : '思维发散程度 ' ,
7777 top_p : 'Top_p' ,
7878 saveUserInfo : '保存用户資訊' ,
7979 chatHistory : '紀錄' ,
You can’t perform that action at this time.
0 commit comments