diff --git a/src/lang/enUS.ts b/src/lang/enUS.ts index e37d3e9b..456f8c93 100644 --- a/src/lang/enUS.ts +++ b/src/lang/enUS.ts @@ -20,7 +20,9 @@ export const enUS = { title: 'GPTs', others: 'Other GPTs', model: 'Model', + modelPlaceholder: 'Please enter the GPT model name', apiKey: 'API Key', + apiKeyPlaceholder: 'Please enter the API Key', prompt: 'Prompt', proxy: 'Network Proxy', form: { @@ -60,6 +62,7 @@ export const enUS = { edit: 'Edit', remove: 'Remove', }, + selectIndex: 'No collection/index selected', validationFailed: 'Form validation failed!', unAuthorized: 'Authorization failed, ensure your username and password are correct', }, diff --git a/src/lang/zhCN.ts b/src/lang/zhCN.ts index 2b0f3884..f900317b 100644 --- a/src/lang/zhCN.ts +++ b/src/lang/zhCN.ts @@ -20,7 +20,9 @@ export const zhCN = { title: 'GPTs配置', others: '其他GPTs', model: '模型', + modelPlaceholder: '请输入GPT模型名称', apiKey: 'API密钥', + apiKeyPlaceholder: '请输入API密钥', prompt: '提示词', proxy: '网络代理', form: { @@ -60,6 +62,7 @@ export const zhCN = { edit: '编辑', remove: '删除', }, + selectIndex: '未选择集合/索引', validationFailed: '表单验证失败!', unAuthorized: '认证失败,请输入正确的用户名和密码!', }, diff --git a/src/layout/components/chatbot-box.vue b/src/layout/components/chatbot-box.vue index a20205a5..ae8921e8 100644 --- a/src/layout/components/chatbot-box.vue +++ b/src/layout/components/chatbot-box.vue @@ -68,7 +68,6 @@ const chatBotNotification = ref({ }); // 提交消息 const submitMsg = () => { - console.log(chatMsg.value); chatBotNotification.value = { enabled: false, level: '', message: '' }; if (!chatMsg.value.trim().length) return; sendMessage(chatMsg.value) diff --git a/src/layout/components/tool-bar-right.vue b/src/layout/components/tool-bar-right.vue index 5e88489a..2d947070 100644 --- a/src/layout/components/tool-bar-right.vue +++ b/src/layout/components/tool-bar-right.vue @@ -22,14 +22,25 @@