diff --git a/docs/en/other/community.md b/docs/en/other/community.md index bb2096a0..9951fbb1 100644 --- a/docs/en/other/community.md +++ b/docs/en/other/community.md @@ -8,7 +8,7 @@ Reach out via community channels or email to get updates and share feedback. ## Twitter (X) -[https://x.com/chatlabfun](https://x.com/chatlabfun) +[https://x.com/openchatlab](https://x.com/openchatlab) ## Contact Developer diff --git a/src/i18n/locales/en-US/settings.json b/src/i18n/locales/en-US/settings.json index 3fba58d9..f055f15a 100644 --- a/src/i18n/locales/en-US/settings.json +++ b/src/i18n/locales/en-US/settings.json @@ -126,6 +126,7 @@ "customModelIdHint": "The model identifier used in API calls", "customModelDisplayName": "Display Name", "customModelDisplayNamePlaceholder": "Custom display name", + "modelRequired": "Add at least one model to save", "modelCapabilities": "Model Capabilities" }, "providerKind": { diff --git a/src/i18n/locales/ja-JP/settings.json b/src/i18n/locales/ja-JP/settings.json index 13703474..c7a3b2a0 100644 --- a/src/i18n/locales/ja-JP/settings.json +++ b/src/i18n/locales/ja-JP/settings.json @@ -126,6 +126,7 @@ "customModelIdHint": "API呼び出しで使用されるモデル識別子", "customModelDisplayName": "表示名", "customModelDisplayNamePlaceholder": "カスタム表示名", + "modelRequired": "少なくとも 1 つのモデルを追加してから保存してください", "modelCapabilities": "モデル能力ラベル" }, "providerKind": { diff --git a/src/i18n/locales/zh-CN/settings.json b/src/i18n/locales/zh-CN/settings.json index 006c8697..564cbc2e 100644 --- a/src/i18n/locales/zh-CN/settings.json +++ b/src/i18n/locales/zh-CN/settings.json @@ -126,7 +126,8 @@ "customModelIdHint": "API 调用时使用的模型标识符", "customModelDisplayName": "显示名称", "customModelDisplayNamePlaceholder": "自定义显示名", - "modelCapabilities": "模型能力标注" + "modelCapabilities": "模型能力标注", + "modelRequired": "至少添加一个模型才能保存" }, "providerKind": { "official": "官方", diff --git a/src/i18n/locales/zh-TW/settings.json b/src/i18n/locales/zh-TW/settings.json index 24234b11..cc67be12 100644 --- a/src/i18n/locales/zh-TW/settings.json +++ b/src/i18n/locales/zh-TW/settings.json @@ -126,6 +126,7 @@ "customModelIdHint": "API 呼叫時使用的模型識別碼", "customModelDisplayName": "顯示名稱", "customModelDisplayNamePlaceholder": "自訂顯示名稱", + "modelRequired": "至少新增一個模型才能儲存", "modelCapabilities": "模型能力標註" }, "providerKind": { diff --git a/src/pages/settings/components/AI/AIModelEditModal.vue b/src/pages/settings/components/AI/AIModelEditModal.vue index cfcfdd35..456fd360 100644 --- a/src/pages/settings/components/AI/AIModelEditModal.vue +++ b/src/pages/settings/components/AI/AIModelEditModal.vue @@ -233,6 +233,10 @@ function closeModal() { +

+ + {{ t('settings.aiConfig.modal.modelRequired') }} +

{{ t('settings.aiConfig.modal.customModelId') }}: {{ formData.model }}

@@ -310,6 +314,10 @@ function closeModal() { +

+ + {{ t('settings.aiConfig.modal.modelRequired') }} +

{{ t('settings.aiConfig.modal.customModelId') }}: {{ formData.model }}

@@ -333,6 +341,25 @@ function closeModal() { + + +