@lobehub/chat 0.122.9 → 0.123.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +22 -2
- package/.eslintrc.js +1 -0
- package/CHANGELOG.md +59 -0
- package/Dockerfile +7 -1
- package/README.md +12 -10
- package/README.zh-CN.md +12 -10
- package/docs/Deployment/Docker-Deployment.md +1 -1
- package/docs/Deployment/Docker-Deployment.zh-CN.md +1 -1
- package/docs/Deployment/Environment-Variable.md +65 -23
- package/docs/Deployment/Environment-Variable.zh-CN.md +64 -22
- package/locales/ar/chat.json +12 -1
- package/locales/ar/common.json +16 -0
- package/locales/ar/error.json +35 -6
- package/locales/ar/setting.json +53 -6
- package/locales/de-DE/chat.json +12 -1
- package/locales/de-DE/common.json +16 -0
- package/locales/de-DE/error.json +35 -6
- package/locales/de-DE/setting.json +53 -6
- package/locales/en-US/chat.json +13 -2
- package/locales/en-US/common.json +16 -0
- package/locales/en-US/error.json +35 -6
- package/locales/en-US/setting.json +53 -6
- package/locales/es-ES/chat.json +12 -1
- package/locales/es-ES/common.json +16 -0
- package/locales/es-ES/error.json +35 -6
- package/locales/es-ES/setting.json +53 -6
- package/locales/fr-FR/chat.json +13 -2
- package/locales/fr-FR/common.json +16 -0
- package/locales/fr-FR/error.json +35 -6
- package/locales/fr-FR/setting.json +53 -6
- package/locales/it-IT/chat.json +12 -1
- package/locales/it-IT/common.json +16 -0
- package/locales/it-IT/error.json +35 -6
- package/locales/it-IT/setting.json +53 -6
- package/locales/ja-JP/chat.json +12 -1
- package/locales/ja-JP/common.json +16 -0
- package/locales/ja-JP/error.json +35 -6
- package/locales/ja-JP/setting.json +53 -6
- package/locales/ko-KR/chat.json +12 -1
- package/locales/ko-KR/common.json +16 -0
- package/locales/ko-KR/error.json +35 -6
- package/locales/ko-KR/setting.json +53 -6
- package/locales/nl-NL/chat.json +12 -1
- package/locales/nl-NL/common.json +16 -0
- package/locales/nl-NL/error.json +35 -6
- package/locales/nl-NL/setting.json +53 -6
- package/locales/pl-PL/chat.json +12 -1
- package/locales/pl-PL/common.json +16 -0
- package/locales/pl-PL/error.json +35 -6
- package/locales/pl-PL/setting.json +53 -6
- package/locales/pt-BR/chat.json +12 -1
- package/locales/pt-BR/common.json +16 -0
- package/locales/pt-BR/error.json +35 -6
- package/locales/pt-BR/setting.json +53 -6
- package/locales/ru-RU/chat.json +12 -1
- package/locales/ru-RU/common.json +16 -0
- package/locales/ru-RU/error.json +35 -6
- package/locales/ru-RU/setting.json +53 -6
- package/locales/tr-TR/chat.json +12 -1
- package/locales/tr-TR/common.json +16 -0
- package/locales/tr-TR/error.json +35 -6
- package/locales/tr-TR/setting.json +53 -6
- package/locales/vi-VN/chat.json +12 -1
- package/locales/vi-VN/common.json +16 -0
- package/locales/vi-VN/error.json +35 -6
- package/locales/vi-VN/setting.json +53 -6
- package/locales/zh-CN/chat.json +12 -1
- package/locales/zh-CN/common.json +16 -0
- package/locales/zh-CN/error.json +34 -5
- package/locales/zh-CN/setting.json +59 -12
- package/locales/zh-TW/chat.json +12 -1
- package/locales/zh-TW/common.json +16 -0
- package/locales/zh-TW/error.json +35 -6
- package/locales/zh-TW/setting.json +53 -6
- package/next.config.mjs +8 -2
- package/package.json +8 -2
- package/src/app/api/chat/[provider]/agentRuntime.ts +129 -0
- package/src/app/api/chat/[provider]/route.ts +64 -0
- package/src/app/api/chat/auth.ts +42 -0
- package/src/app/api/chat/google/route.ts +86 -0
- package/src/app/api/config/route.ts +6 -1
- package/src/app/api/config.ts +3 -3
- package/src/app/api/errorResponse.test.ts +8 -8
- package/src/app/api/errorResponse.ts +43 -6
- package/src/app/api/openai/createBizOpenAI/createAzureOpenai.ts +1 -1
- package/src/app/api/openai/createBizOpenAI/createOpenai.ts +1 -1
- package/src/app/api/openai/createBizOpenAI/index.ts +2 -2
- package/src/app/api/plugin/gateway/route.ts +4 -1
- package/src/app/chat/(desktop)/features/ChatHeader.tsx +6 -4
- package/src/app/chat/(desktop)/features/ChatInput/Footer/index.tsx +13 -3
- package/src/app/chat/(desktop)/features/ChatInput/Header/index.tsx +16 -24
- package/src/app/chat/(desktop)/features/SideBar/index.tsx +1 -0
- package/src/app/chat/features/ChatHeader/ShareButton/Preview.tsx +3 -3
- package/src/app/chat/features/SessionListContent/List/Item/index.tsx +2 -3
- package/src/app/settings/llm/Azure/index.tsx +145 -0
- package/src/app/settings/llm/Bedrock/index.tsx +109 -0
- package/src/app/settings/llm/{LLM/Checker.tsx → Checker.tsx} +11 -14
- package/src/app/settings/llm/Google/index.tsx +74 -0
- package/src/app/settings/llm/{LLM → OpenAI}/index.tsx +26 -44
- package/src/app/settings/llm/Zhipu/index.tsx +78 -0
- package/src/app/settings/llm/const.ts +13 -0
- package/src/app/settings/llm/page.tsx +42 -2
- package/src/app/settings/llm/useSyncSettings.ts +23 -0
- package/src/chains/__tests__/langDetect.test.ts +2 -2
- package/src/chains/__tests__/pickEmoji.test.ts +2 -2
- package/src/chains/langDetect.ts +2 -2
- package/src/chains/pickEmoji.ts +2 -2
- package/src/chains/summaryAgentName.ts +2 -2
- package/src/chains/summaryDescription.ts +2 -2
- package/src/chains/summaryTags.ts +2 -2
- package/src/chains/summaryTitle.ts +2 -2
- package/src/chains/translate.ts +2 -2
- package/src/components/ModelIcon/index.tsx +37 -0
- package/src/components/ModelProviderIcon/index.tsx +44 -0
- package/src/components/ModelSelect/index.tsx +133 -0
- package/src/components/ModelTag/ModelIcon.tsx +35 -0
- package/src/components/ModelTag/index.tsx +13 -0
- package/src/config/modelProviders/bedrock.ts +43 -0
- package/src/config/modelProviders/google.ts +20 -0
- package/src/config/modelProviders/index.ts +18 -0
- package/src/config/modelProviders/openai.ts +110 -0
- package/src/config/modelProviders/zhipu.ts +34 -0
- package/src/config/{server.ts → server/app.ts} +1 -24
- package/src/config/server/index.ts +13 -0
- package/src/config/server/provider.ts +78 -0
- package/src/const/auth.ts +30 -0
- package/src/const/fetch.ts +3 -0
- package/src/const/settings.ts +24 -4
- package/src/database/core/migrations/migrateSettingsToUser/index.test.ts +2 -1
- package/src/database/core/migrations/migrateSettingsToUser/index.ts +1 -18
- package/src/database/core/migrations/migrateSettingsToUser/type.ts +100 -0
- package/src/database/models/message.ts +3 -1
- package/src/database/schemas/message.ts +1 -0
- package/src/database/schemas/session.ts +1 -0
- package/src/features/AgentSetting/AgentConfig/ModelSelect.tsx +71 -0
- package/src/features/AgentSetting/AgentConfig/index.tsx +171 -161
- package/src/features/AgentSetting/AgentConfig/useSyncConfig.ts +23 -0
- package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +39 -0
- package/src/features/AgentSetting/AgentPrompt/index.tsx +4 -26
- package/src/features/AgentSetting/store/index.ts +10 -2
- package/src/features/ChatInput/ActionBar/FileUpload.tsx +15 -5
- package/src/features/ChatInput/ActionBar/ModelSwitch.tsx +56 -14
- package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +42 -7
- package/src/features/ChatInput/ActionBar/Token/index.tsx +5 -2
- package/src/features/ChatInput/ActionBar/Tools/index.tsx +11 -1
- package/src/features/ChatInput/useChatInput.ts +5 -1
- package/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx +80 -0
- package/src/features/Conversation/Error/APIKeyForm/Google.tsx +61 -0
- package/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx +63 -0
- package/src/features/Conversation/Error/APIKeyForm/Zhipu.tsx +62 -0
- package/src/features/Conversation/Error/APIKeyForm/index.tsx +72 -0
- package/src/features/Conversation/Error/AccessCodeForm.tsx +63 -0
- package/src/features/Conversation/Error/ErrorJsonViewer.tsx +26 -0
- package/src/features/Conversation/Error/InvalidAPIKey.tsx +16 -0
- package/src/features/Conversation/Error/InvalidAccessCode.tsx +50 -0
- package/src/features/Conversation/Error/OpenAiBizError.tsx +9 -17
- package/src/features/Conversation/Error/{Plugin/PluginSettings.tsx → PluginSettings.tsx} +8 -3
- package/src/features/Conversation/Error/index.tsx +75 -70
- package/src/features/Conversation/Error/style.tsx +9 -3
- package/src/features/Conversation/Extras/Assistant.tsx +2 -3
- package/src/features/Conversation/Plugins/Inspector/index.tsx +8 -2
- package/src/features/Conversation/components/ChatItem/index.tsx +9 -24
- package/src/features/Conversation/types/index.tsx +2 -5
- package/src/hooks/_header.ts +35 -0
- package/src/libs/agent-runtime/BaseAI.ts +9 -0
- package/src/libs/agent-runtime/azureOpenai/index.ts +72 -0
- package/src/libs/agent-runtime/bedrock/index.ts +134 -0
- package/src/libs/agent-runtime/error.ts +26 -0
- package/src/libs/agent-runtime/google/index.ts +160 -0
- package/src/libs/agent-runtime/index.ts +9 -0
- package/src/libs/agent-runtime/openai/index.test.ts +176 -0
- package/src/libs/agent-runtime/openai/index.ts +107 -0
- package/src/libs/agent-runtime/types/chat.ts +119 -0
- package/src/libs/agent-runtime/types/index.ts +2 -0
- package/src/libs/agent-runtime/types/type.ts +34 -0
- package/src/libs/agent-runtime/utils/createError.ts +10 -0
- package/src/libs/agent-runtime/utils/debugStream.ts +18 -0
- package/src/libs/agent-runtime/utils/env.ts +1 -0
- package/src/libs/agent-runtime/utils/handleOpenAIError.ts +39 -0
- package/src/libs/agent-runtime/utils/uriParser.ts +16 -0
- package/src/libs/agent-runtime/zhipu/authToken.ts +22 -0
- package/src/libs/agent-runtime/zhipu/index.ts +125 -0
- package/src/locales/default/chat.ts +12 -2
- package/src/locales/default/common.ts +16 -0
- package/src/locales/default/error.ts +42 -5
- package/src/locales/default/setting.ts +61 -12
- package/src/services/__tests__/chat.test.ts +8 -2
- package/src/services/__tests__/message.test.ts +1 -1
- package/src/services/_auth.ts +106 -0
- package/src/services/_header.ts +1 -0
- package/src/services/_url.ts +0 -2
- package/src/services/chat.ts +34 -14
- package/src/store/chat/slices/message/action.ts +9 -6
- package/src/store/global/slices/common/action.ts +8 -2
- package/src/store/global/slices/settings/action.test.ts +2 -2
- package/src/store/global/slices/settings/action.ts +11 -4
- package/src/store/global/slices/settings/selectors/__snapshots__/modelProvider.test.ts.snap +24 -92
- package/src/store/global/slices/settings/selectors/__snapshots__/selectors.test.ts.snap +2 -0
- package/src/store/global/slices/settings/selectors/modelProvider.test.ts +127 -50
- package/src/store/global/slices/settings/selectors/modelProvider.ts +145 -43
- package/src/store/session/slices/agent/selectors.test.ts +0 -48
- package/src/store/session/slices/agent/selectors.ts +7 -12
- package/src/types/agent/index.ts +6 -2
- package/src/types/fetch.ts +4 -2
- package/src/types/files.ts +3 -3
- package/src/types/llm.ts +34 -0
- package/src/types/message/index.ts +7 -3
- package/src/types/openai/chat.ts +6 -11
- package/src/types/settings/index.ts +1 -0
- package/src/types/settings/modelProvider.ts +37 -1
- package/src/utils/__snapshots__/parseModels.test.ts.snap +63 -0
- package/src/utils/parseModels.test.ts +24 -0
- package/src/utils/parseModels.ts +37 -0
- package/src/app/api/openai/chat/createChatCompletion.test.ts +0 -166
- package/src/app/api/openai/chat/createChatCompletion.ts +0 -76
- package/src/app/api/openai/chat/route.ts +0 -19
- package/src/app/api/openai/models/route.ts +0 -17
- package/src/app/settings/llm/LLM/ModelList.tsx +0 -51
- package/src/app/settings/llm/LLM/getModelList.ts +0 -9
- package/src/app/settings/llm/index.tsx +0 -36
- package/src/const/llm.ts +0 -32
- package/src/features/Conversation/Error/ApiKeyForm.tsx +0 -87
- package/src/features/Conversation/Error/ErrorActionContainer.tsx +0 -23
- package/src/features/Conversation/Error/InvalidAccess.tsx +0 -90
- package/src/features/Conversation/Error/OpenAPIKey.tsx +0 -13
- package/src/features/Conversation/Error/Plugin/PluginError.tsx +0 -30
- package/src/services/modelList.ts +0 -15
- /package/src/app/chat/(desktop)/features/ChatInput/{Header → Footer}/DragUpload.tsx +0 -0
- /package/src/{app/api/openai/chat → libs/agent-runtime/utils}/desensitizeUrl.test.ts +0 -0
- /package/src/{app/api/openai/chat → libs/agent-runtime/utils}/desensitizeUrl.ts +0 -0
- /package/src/types/{translate.ts → message/translate.ts} +0 -0
package/locales/ar/error.json
CHANGED
|
@@ -33,8 +33,17 @@
|
|
|
33
33
|
"502": "عذرًا، يبدو أن الخادم قد ضل الطريق ولا يمكنه حاليًا تقديم الخدمة، يرجى المحاولة مرة أخرى لاحقًا",
|
|
34
34
|
"503": "عذرًا، الخادم غير قادر حاليًا على معالجة طلبك، قد يكون بسبب الحمل الزائد أو الصيانة الجارية، يرجى المحاولة مرة أخرى لاحقًا",
|
|
35
35
|
"504": "عذرًا، الخادم لم ينتظر ردًا من الخادم الأصلي، يرجى المحاولة مرة أخرى لاحقًا",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"AgentRuntimeError": "حدث خطأ في تشغيل نموذج Lobe اللغوي، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
37
|
+
"AzureBizError": "حدث خطأ في طلب خدمة Azure AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
38
|
+
"BedrockBizError": "حدث خطأ في طلب خدمة Bedrock، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
39
|
+
"GoogleBizError": "حدث خطأ في طلب خدمة Google، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
40
|
+
"InvalidAccessCode": "كلمة المرور غير صحيحة أو فارغة، يرجى إدخال كلمة مرور الوصول الصحيحة أو إضافة مفتاح API مخصص",
|
|
41
|
+
"InvalidAzureAPIKey": "مفتاح Azure API غير صحيح أو فارغ، يرجى التحقق من مفتاح Azure API وإعادة المحاولة",
|
|
42
|
+
"InvalidBedrockCredentials": "فشلت مصادقة Bedrock، يرجى التحقق من AccessKeyId/SecretAccessKey وإعادة المحاولة",
|
|
43
|
+
"InvalidGoogleAPIKey": "مفتاح Google API غير صحيح أو فارغ، يرجى التحقق من مفتاح Google API وإعادة المحاولة",
|
|
44
|
+
"InvalidZhipuAPIKey": "مفتاح Zhipu API غير صحيح أو فارغ، يرجى التحقق من مفتاح Zhipu API وإعادة المحاولة",
|
|
45
|
+
"LocationNotSupportError": "عذرًا، لا يدعم موقعك الحالي خدمة هذا النموذج، قد يكون ذلك بسبب قيود المنطقة أو عدم توفر الخدمة. يرجى التحقق مما إذا كان الموقع الحالي يدعم استخدام هذه الخدمة، أو محاولة استخدام معلومات الموقع الأخرى.",
|
|
46
|
+
"NoOpenAIAPIKey": "مفتاح API الخاص بـ OpenAI فارغ، يرجى إضافة مفتاح API الخاص بـ OpenAI",
|
|
38
47
|
"OpenAIBizError": "حدث خطأ في طلب خدمة OpenAI، يرجى التحقق من المعلومات أدناه وإعادة المحاولة",
|
|
39
48
|
"PluginApiNotFound": "عذرًا، لا يوجد API للإضافة في وصف الإضافة، يرجى التحقق من تطابق طريقة الطلب الخاصة بك مع API الوصف",
|
|
40
49
|
"PluginApiParamsError": "عذرًا، فشلت التحقق من صحة معلمات الطلب للإضافة، يرجى التحقق من تطابق المعلمات مع معلومات الوصف",
|
|
@@ -47,7 +56,8 @@
|
|
|
47
56
|
"PluginMetaNotFound": "عذرًا، لم يتم العثور على معلومات تكوين الإضافة في الفهرس",
|
|
48
57
|
"PluginOpenApiInitError": "عذرًا، فشل تهيئة عميل OpenAPI، يرجى التحقق من معلومات تكوين OpenAPI",
|
|
49
58
|
"PluginServerError": "خطأ في استجابة الخادم لطلب الإضافة، يرجى التحقق من ملف وصف الإضافة وتكوين الإضافة وتنفيذ الخادم وفقًا لمعلومات الخطأ أدناه",
|
|
50
|
-
"PluginSettingsInvalid": "تحتاج هذه الإضافة إلى تكوين صحيح قبل الاستخدام، يرجى التحقق من صحة تكوينك"
|
|
59
|
+
"PluginSettingsInvalid": "تحتاج هذه الإضافة إلى تكوين صحيح قبل الاستخدام، يرجى التحقق من صحة تكوينك",
|
|
60
|
+
"ZhipuBizError": "حدث خطأ في طلب خدمة Zhipu، يرجى التحقق من المعلومات التالية أو إعادة المحاولة"
|
|
51
61
|
},
|
|
52
62
|
"stt": {
|
|
53
63
|
"responseError": "فشل طلب الخدمة، يرجى التحقق من الإعدادات أو إعادة المحاولة"
|
|
@@ -57,9 +67,24 @@
|
|
|
57
67
|
},
|
|
58
68
|
"unlock": {
|
|
59
69
|
"apikey": {
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
"Bedrock": {
|
|
71
|
+
"customRegion": "منطقة خدمة مخصصة",
|
|
72
|
+
"description": "أدخل مفتاح الوصول الخاص بك لـ Aws AccessKeyId / SecretAccessKey لبدء الجلسة. لن يقوم التطبيق بتسجيل تكوين المصادقة الخاص بك",
|
|
73
|
+
"title": "استخدام معلومات مصادقة Bedrock المخصصة"
|
|
74
|
+
},
|
|
75
|
+
"Google": {
|
|
76
|
+
"description": "أدخل مفتاح Google API الخاص بك لبدء الجلسة. لن يقوم التطبيق بتسجيل مفتاح الواجهة البرمجية الخاص بك",
|
|
77
|
+
"title": "استخدام مفتاح Google API المخصص"
|
|
78
|
+
},
|
|
79
|
+
"OpenAI": {
|
|
80
|
+
"addProxyUrl": "إضافة عنوان وكيل OpenAI (اختياري)",
|
|
81
|
+
"description": "أدخل مفتاح OpenAI API الخاص بك لبدء الجلسة. لن يقوم التطبيق بتسجيل مفتاح الواجهة البرمجية الخاص بك",
|
|
82
|
+
"title": "استخدام مفتاح OpenAI API المخصص"
|
|
83
|
+
},
|
|
84
|
+
"Zhipu": {
|
|
85
|
+
"description": "أدخل مفتاح Zhipu API الخاص بك لبدء الجلسة. لن يقوم التطبيق بتسجيل مفتاح الواجهة البرمجية الخاص بك",
|
|
86
|
+
"title": "استخدام مفتاح Zhipu API المخصص"
|
|
87
|
+
}
|
|
63
88
|
},
|
|
64
89
|
"closeMessage": "إغلاق الرسالة",
|
|
65
90
|
"confirm": "تأكيد وإعادة المحاولة",
|
|
@@ -67,6 +92,10 @@
|
|
|
67
92
|
"description": "قام المسؤول بتشفير التطبيق، قم بإدخال كلمة مرور التطبيق لفتح التطبيق. يتعين إدخال كلمة المرور مرة واحدة فقط",
|
|
68
93
|
"placeholder": "الرجاء إدخال كلمة المرور",
|
|
69
94
|
"title": "إدخال كلمة المرور لفتح التطبيق"
|
|
95
|
+
},
|
|
96
|
+
"tabs": {
|
|
97
|
+
"apiKey": "مفتاح واجهة برمجة التطبيقات المخصص",
|
|
98
|
+
"password": "كلمة المرور"
|
|
70
99
|
}
|
|
71
100
|
}
|
|
72
101
|
}
|
package/locales/ar/setting.json
CHANGED
|
@@ -22,6 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"llm": {
|
|
24
24
|
"AzureOpenAI": {
|
|
25
|
+
"azureApiVersion": {
|
|
26
|
+
"desc": "إصدار واجهة برمجة التطبيقات لـ Azure، يتبع تنسيق YYYY-MM-DD، راجع [أحدث الإصدار](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
|
|
27
|
+
"fetch": "الحصول على قائمة",
|
|
28
|
+
"title": "إصدار واجهة برمجة التطبيقات لـ Azure"
|
|
29
|
+
},
|
|
30
|
+
"deployments": {
|
|
31
|
+
"desc": "املأ نموذج نشرك باستخدام بنية id=name (مثل اسم النشر والنموذج متطابقان، يمكنك ملء اسم النموذج فقط)، استخدم فاصلة (,) للنماذج المتعددة",
|
|
32
|
+
"title": "قائمة نماذج النشر لـ Azure"
|
|
33
|
+
},
|
|
25
34
|
"endpoint": {
|
|
26
35
|
"desc": "يمكن العثور على هذه القيمة في قسم 'المفتاح والنقطة النهائية' عند التحقق من الموارد في بوابة Azure",
|
|
27
36
|
"placeholder": "https://docs-test-001.openai.azure.com",
|
|
@@ -38,18 +47,41 @@
|
|
|
38
47
|
"title": "مفتاح واجهة برمجة التطبيقات"
|
|
39
48
|
}
|
|
40
49
|
},
|
|
50
|
+
"Bedrock": {
|
|
51
|
+
"accessKeyId": {
|
|
52
|
+
"desc": "املأ معرف مفتاح الوصول لـ Aws",
|
|
53
|
+
"placeholder": "معرف مفتاح الوصول لـ Aws",
|
|
54
|
+
"title": "معرف مفتاح الوصول لـ Aws"
|
|
55
|
+
},
|
|
56
|
+
"checker": {
|
|
57
|
+
"desc": "اختبار ما إذا كان معرف الوصول / مفتاح الوصول السري مملوء بشكل صحيح"
|
|
58
|
+
},
|
|
59
|
+
"region": {
|
|
60
|
+
"desc": "املأ منطقة Aws",
|
|
61
|
+
"placeholder": "منطقة Aws",
|
|
62
|
+
"title": "منطقة Aws"
|
|
63
|
+
},
|
|
64
|
+
"secretAccessKey": {
|
|
65
|
+
"desc": "املأ مفتاح الوصول السري لـ Aws",
|
|
66
|
+
"placeholder": "مفتاح الوصول السري لـ Aws",
|
|
67
|
+
"title": "مفتاح الوصول السري لـ Aws"
|
|
68
|
+
},
|
|
69
|
+
"title": "Bedrock"
|
|
70
|
+
},
|
|
71
|
+
"Google": {
|
|
72
|
+
"title": "Google",
|
|
73
|
+
"token": {
|
|
74
|
+
"desc": "املأ مفتاح واجهة برمجة التطبيقات الخاص بك من Google",
|
|
75
|
+
"placeholder": "مفتاح واجهة برمجة التطبيقات الخاص بـ Google",
|
|
76
|
+
"title": "مفتاح واجهة برمجة التطبيقات"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
41
79
|
"OpenAI": {
|
|
42
80
|
"azureApiVersion": {
|
|
43
81
|
"desc": "إصدار واجهة برمجة التطبيقات لـ Azure، يتبع تنسيق YYYY-MM-DD، اطلع على [أحدث الإصدارات](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
|
|
44
82
|
"fetch": "الحصول على القائمة",
|
|
45
83
|
"title": "إصدار واجهة برمجة التطبيقات لـ Azure"
|
|
46
84
|
},
|
|
47
|
-
"check": {
|
|
48
|
-
"button": "فحص",
|
|
49
|
-
"desc": "اختبار مفتاح واجهة البرمجة التطبيقية وعنوان الوكيل للتأكد من ملئهما بشكل صحيح",
|
|
50
|
-
"pass": "تم الفحص بنجاح",
|
|
51
|
-
"title": "فحص الاتصال"
|
|
52
|
-
},
|
|
53
85
|
"customModelName": {
|
|
54
86
|
"desc": "إضافة نموذج مخصص، يمكن استخدام فاصلة (,) للنماذج المتعددة",
|
|
55
87
|
"placeholder": "نموذج1،نموذج2،نموذج3",
|
|
@@ -82,6 +114,20 @@
|
|
|
82
114
|
"title": "استخدام Azure OpenAI"
|
|
83
115
|
}
|
|
84
116
|
},
|
|
117
|
+
"Zhipu": {
|
|
118
|
+
"title": "智谱",
|
|
119
|
+
"token": {
|
|
120
|
+
"desc": "املأ مفتاح واجهة برمجة التطبيقات الخاص بـ Zhipu",
|
|
121
|
+
"placeholder": "مفتاح واجهة برمجة التطبيقات الخاص بـ Zhipu",
|
|
122
|
+
"title": "مفتاح واجهة برمجة التطبيقات"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"checker": {
|
|
126
|
+
"button": "فحص",
|
|
127
|
+
"desc": "اختبار ما إذا كان مفتاح واجهة البرمجة وعنوان الوكيل مملوء بشكل صحيح",
|
|
128
|
+
"pass": "تمت المراقبة",
|
|
129
|
+
"title": "فحص الاتصال"
|
|
130
|
+
},
|
|
85
131
|
"waitingForMore": "يتم <1>التخطيط لتوفير</1> المزيد من النماذج، ترقبوا المزيد ✨"
|
|
86
132
|
},
|
|
87
133
|
"plugin": {
|
|
@@ -293,6 +339,7 @@
|
|
|
293
339
|
"builtins": {
|
|
294
340
|
"groupName": "الامتدادات المدمجة"
|
|
295
341
|
},
|
|
342
|
+
"disabled": "النموذج الحالي لا يدعم استدعاء الوظائف، ولا يمكن استخدام الإضافة",
|
|
296
343
|
"plugins": {
|
|
297
344
|
"enabled": "ممكّنة {{num}}",
|
|
298
345
|
"groupName": "الإضافات",
|
package/locales/de-DE/chat.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSwitch": {
|
|
3
|
+
"title": "Modell"
|
|
4
|
+
},
|
|
2
5
|
"agentDefaultMessage": "Hallo, ich bin **{{name}}**. Du kannst sofort mit mir chatten oder gehe zu [Assistenteneinstellungen](/chat/settings#session={{id}}), um meine Informationen zu vervollständigen.",
|
|
3
6
|
"agentDefaultMessageWithSystemRole": "Hallo, ich bin **{{name}}**, {{systemRole}}. Lass uns chatten!",
|
|
4
7
|
"backToBottom": "Zurück zum Ende",
|
|
@@ -64,7 +67,14 @@
|
|
|
64
67
|
"prettifying": "Verschönern..."
|
|
65
68
|
},
|
|
66
69
|
"temp": "Temporär",
|
|
67
|
-
"
|
|
70
|
+
"tokenDetails": {
|
|
71
|
+
"chats": "Chats",
|
|
72
|
+
"rest": "Verbleibend",
|
|
73
|
+
"systemRole": "Systemrolle",
|
|
74
|
+
"tools": "Werkzeuge",
|
|
75
|
+
"total": "Insgesamt",
|
|
76
|
+
"used": "Verwendet"
|
|
77
|
+
},
|
|
68
78
|
"tokenTag": {
|
|
69
79
|
"overload": "Überlastung",
|
|
70
80
|
"remained": "Verbleibend",
|
|
@@ -102,6 +112,7 @@
|
|
|
102
112
|
"updateAgent": "Assistenteninformationen aktualisieren",
|
|
103
113
|
"upload": {
|
|
104
114
|
"actionTooltip": "Bild hochladen",
|
|
115
|
+
"disabled": "Das aktuelle Modell unterstützt keine visuelle Erkennung. Bitte wechseln Sie das Modell, um es zu verwenden.",
|
|
105
116
|
"dragDesc": "Dateien hierher ziehen, um mehrere Bilder hochzuladen. Halte die Umschalttaste gedrückt, um Bilder direkt zu senden.",
|
|
106
117
|
"dragTitle": "Bild hochladen"
|
|
107
118
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSelect": {
|
|
3
|
+
"featureTag": {
|
|
4
|
+
"custom": "Benutzerdefiniertes Modell, das standardmäßig sowohl Funktionsaufrufe als auch visuelle Erkennung unterstützt. Bitte überprüfen Sie die Verfügbarkeit dieser Fähigkeiten basierend auf den tatsächlichen Anforderungen.",
|
|
5
|
+
"functionCall": "Dieses Modell unterstützt Funktionsaufrufe (Function Call).",
|
|
6
|
+
"tokens": "Dieses Modell unterstützt maximal {{tokens}} Tokens pro einzelner Sitzung.",
|
|
7
|
+
"vision": "Dieses Modell unterstützt visuelle Erkennung."
|
|
8
|
+
}
|
|
9
|
+
},
|
|
2
10
|
"about": "Über",
|
|
3
11
|
"advanceSettings": "Erweiterte Einstellungen",
|
|
4
12
|
"agentMaxToken": "Maximale Sitzungslänge",
|
|
@@ -89,6 +97,14 @@
|
|
|
89
97
|
"zh-TW": "Chinesisch (traditionell)"
|
|
90
98
|
},
|
|
91
99
|
"layoutInitializing": "Layout wird geladen...",
|
|
100
|
+
"modelProvider": {
|
|
101
|
+
"azure": "Azure",
|
|
102
|
+
"bedrock": "AWS Bedrock",
|
|
103
|
+
"google": "Google",
|
|
104
|
+
"oneapi": "One API",
|
|
105
|
+
"openai": "OpenAI",
|
|
106
|
+
"zhipu": "Zhipu AI"
|
|
107
|
+
},
|
|
92
108
|
"noDescription": "Keine Beschreibung vorhanden",
|
|
93
109
|
"ok": "OK",
|
|
94
110
|
"password": "Passwort",
|
package/locales/de-DE/error.json
CHANGED
|
@@ -33,8 +33,17 @@
|
|
|
33
33
|
"502": "Entschuldigung, der Server scheint die Orientierung verloren zu haben und kann vorübergehend keinen Service bereitstellen. Bitte versuchen Sie es später erneut",
|
|
34
34
|
"503": "Entschuldigung, der Server kann Ihre Anfrage derzeit nicht verarbeiten. Möglicherweise aufgrund von Überlastung oder Wartungsarbeiten. Bitte versuchen Sie es später erneut",
|
|
35
35
|
"504": "Entschuldigung, der Server hat keine Antwort vom Upstream-Server erhalten. Bitte versuchen Sie es später erneut",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"AgentRuntimeError": "Es ist ein Fehler bei der Ausführung des Lobe-Sprachmodells aufgetreten. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
37
|
+
"AzureBizError": "Es ist ein Fehler bei der Anforderung des Azure AI-Dienstes aufgetreten. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
38
|
+
"BedrockBizError": "Es ist ein Fehler bei der Anforderung des Bedrock-Dienstes aufgetreten. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
39
|
+
"GoogleBizError": "Es ist ein Fehler bei der Anforderung des Google-Dienstes aufgetreten. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
40
|
+
"InvalidAccessCode": "Das Passwort ist ungültig oder leer. Bitte geben Sie das richtige Zugangspasswort ein oder fügen Sie einen benutzerdefinierten API-Schlüssel hinzu.",
|
|
41
|
+
"InvalidAzureAPIKey": "Der Azure API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Azure API-Schlüssel und versuchen Sie es erneut.",
|
|
42
|
+
"InvalidBedrockCredentials": "Die Bedrock-Authentifizierung ist fehlgeschlagen. Bitte überprüfen Sie AccessKeyId/SecretAccessKey und versuchen Sie es erneut.",
|
|
43
|
+
"InvalidGoogleAPIKey": "Der Google API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Google API-Schlüssel und versuchen Sie es erneut.",
|
|
44
|
+
"InvalidZhipuAPIKey": "Der Zhipu API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Zhipu API-Schlüssel und versuchen Sie es erneut.",
|
|
45
|
+
"LocationNotSupportError": "Entschuldigung, Ihr Standort unterstützt diesen Modellservice möglicherweise aufgrund von regionalen Einschränkungen oder nicht aktivierten Diensten nicht. Bitte überprüfen Sie, ob der aktuelle Standort die Verwendung dieses Dienstes unterstützt, oder versuchen Sie, andere Standortinformationen zu verwenden.",
|
|
46
|
+
"NoOpenAIAPIKey": "Der OpenAI-API-Schlüssel ist leer. Bitte fügen Sie einen benutzerdefinierten OpenAI-API-Schlüssel hinzu",
|
|
38
47
|
"OpenAIBizError": "Fehler bei der OpenAI-Serviceanfrage. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut",
|
|
39
48
|
"PluginApiNotFound": "Entschuldigung, das API des Plugins im Plugin-Manifest existiert nicht. Bitte überprüfen Sie, ob Ihre Anfragemethode mit dem Plugin-Manifest-API übereinstimmt",
|
|
40
49
|
"PluginApiParamsError": "Entschuldigung, die Eingabeüberprüfung der Plugin-Anfrage ist fehlgeschlagen. Bitte überprüfen Sie, ob die Eingabe mit den API-Beschreibungsinformationen übereinstimmt",
|
|
@@ -47,7 +56,8 @@
|
|
|
47
56
|
"PluginMetaNotFound": "Entschuldigung, das Plugin wurde im Index nicht gefunden. Bitte überprüfen Sie die Konfigurationsinformationen des Plugins im Index",
|
|
48
57
|
"PluginOpenApiInitError": "Entschuldigung, die Initialisierung des OpenAPI-Clients ist fehlgeschlagen. Bitte überprüfen Sie die Konfigurationsinformationen des OpenAPI auf Richtigkeit",
|
|
49
58
|
"PluginServerError": "Fehler bei der Serveranfrage des Plugins. Bitte überprüfen Sie die Fehlerinformationen unten in Ihrer Plugin-Beschreibungsdatei, Plugin-Konfiguration oder Serverimplementierung",
|
|
50
|
-
"PluginSettingsInvalid": "Das Plugin muss korrekt konfiguriert werden, um verwendet werden zu können. Bitte überprüfen Sie Ihre Konfiguration auf Richtigkeit"
|
|
59
|
+
"PluginSettingsInvalid": "Das Plugin muss korrekt konfiguriert werden, um verwendet werden zu können. Bitte überprüfen Sie Ihre Konfiguration auf Richtigkeit",
|
|
60
|
+
"ZhipuBizError": "Es ist ein Fehler bei der Anforderung des Zhipu-Dienstes aufgetreten. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut."
|
|
51
61
|
},
|
|
52
62
|
"stt": {
|
|
53
63
|
"responseError": "Serviceanfrage fehlgeschlagen. Bitte überprüfen Sie die Konfiguration oder versuchen Sie es erneut"
|
|
@@ -57,9 +67,24 @@
|
|
|
57
67
|
},
|
|
58
68
|
"unlock": {
|
|
59
69
|
"apikey": {
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
"Bedrock": {
|
|
71
|
+
"customRegion": "Benutzerdefinierte Region",
|
|
72
|
+
"description": "Geben Sie Ihre Aws AccessKeyId / SecretAccessKey ein, um die Sitzung zu starten. Die Anwendung speichert Ihre Authentifizierungsinformationen nicht.",
|
|
73
|
+
"title": "Verwenden von benutzerdefinierten Bedrock-Authentifizierungsinformationen"
|
|
74
|
+
},
|
|
75
|
+
"Google": {
|
|
76
|
+
"description": "Geben Sie Ihren Google API-Schlüssel ein, um die Sitzung zu starten. Die Anwendung speichert Ihren API-Schlüssel nicht.",
|
|
77
|
+
"title": "Verwenden von benutzerdefinierten Google API-Schlüssel"
|
|
78
|
+
},
|
|
79
|
+
"OpenAI": {
|
|
80
|
+
"addProxyUrl": "Proxy-URL hinzufügen (optional)",
|
|
81
|
+
"description": "Geben Sie Ihren OpenAI API-Schlüssel ein, um die Sitzung zu starten. Die Anwendung speichert Ihren API-Schlüssel nicht.",
|
|
82
|
+
"title": "Verwenden von benutzerdefinierten OpenAI API-Schlüssel"
|
|
83
|
+
},
|
|
84
|
+
"Zhipu": {
|
|
85
|
+
"description": "Geben Sie Ihren Zhipu API-Schlüssel ein, um die Sitzung zu starten. Die Anwendung speichert Ihren API-Schlüssel nicht.",
|
|
86
|
+
"title": "Verwenden von benutzerdefinierten Zhipu API-Schlüssel"
|
|
87
|
+
}
|
|
63
88
|
},
|
|
64
89
|
"closeMessage": "Hinweis schließen",
|
|
65
90
|
"confirm": "Bestätigen und erneut versuchen",
|
|
@@ -67,6 +92,10 @@
|
|
|
67
92
|
"description": "Der Administrator hat die App-Verschlüsselung aktiviert. Gib das App-Passwort ein, um die App zu entsperren. Das Passwort muss nur einmal eingegeben werden.",
|
|
68
93
|
"placeholder": "Passwort eingeben",
|
|
69
94
|
"title": "App entsperren durch Passworteingabe"
|
|
95
|
+
},
|
|
96
|
+
"tabs": {
|
|
97
|
+
"apiKey": "Benutzerdefinierter API-Schlüssel",
|
|
98
|
+
"password": "Passwort"
|
|
70
99
|
}
|
|
71
100
|
}
|
|
72
101
|
}
|
|
@@ -22,6 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"llm": {
|
|
24
24
|
"AzureOpenAI": {
|
|
25
|
+
"azureApiVersion": {
|
|
26
|
+
"desc": "Die API-Version von Azure, die dem Format JJJJ-MM-TT folgt. Siehe [Neueste Version](https://learn.microsoft.com/de-de/azure/ai-services/openai/reference#chat-completions)",
|
|
27
|
+
"fetch": "Abrufen",
|
|
28
|
+
"title": "Azure API-Version"
|
|
29
|
+
},
|
|
30
|
+
"deployments": {
|
|
31
|
+
"desc": "Geben Sie Ihre Bereitstellungsmodelle mit der Syntax id=name ein (z. B. wenn Bereitstellung und Modell den gleichen Namen haben, können Sie nur den Modellnamen eingeben). Verwenden Sie ein Komma (,) zur Trennung mehrerer Modelle.",
|
|
32
|
+
"title": "Azure Bereitstellungsmodelle"
|
|
33
|
+
},
|
|
25
34
|
"endpoint": {
|
|
26
35
|
"desc": "Diesen Wert finden Sie im Abschnitt „Schlüssel und Endpunkte“, wenn Sie Ressourcen im Azure-Portal überprüfen",
|
|
27
36
|
"placeholder": "https://docs-test-001.openai.azure.com",
|
|
@@ -38,18 +47,41 @@
|
|
|
38
47
|
"title": "API Schlüssel"
|
|
39
48
|
}
|
|
40
49
|
},
|
|
50
|
+
"Bedrock": {
|
|
51
|
+
"accessKeyId": {
|
|
52
|
+
"desc": "Geben Sie die AWS Access Key ID ein",
|
|
53
|
+
"placeholder": "AWS Access Key ID",
|
|
54
|
+
"title": "AWS Access Key ID"
|
|
55
|
+
},
|
|
56
|
+
"checker": {
|
|
57
|
+
"desc": "Überprüfen Sie, ob AccessKeyId / SecretAccessKey korrekt eingegeben wurden"
|
|
58
|
+
},
|
|
59
|
+
"region": {
|
|
60
|
+
"desc": "Geben Sie die AWS-Region ein",
|
|
61
|
+
"placeholder": "AWS-Region",
|
|
62
|
+
"title": "AWS-Region"
|
|
63
|
+
},
|
|
64
|
+
"secretAccessKey": {
|
|
65
|
+
"desc": "Geben Sie den AWS Secret Access Key ein",
|
|
66
|
+
"placeholder": "AWS Secret Access Key",
|
|
67
|
+
"title": "AWS Secret Access Key"
|
|
68
|
+
},
|
|
69
|
+
"title": "Bedrock"
|
|
70
|
+
},
|
|
71
|
+
"Google": {
|
|
72
|
+
"title": "Google",
|
|
73
|
+
"token": {
|
|
74
|
+
"desc": "Geben Sie den API-Schlüssel von Google ein",
|
|
75
|
+
"placeholder": "Google API Key",
|
|
76
|
+
"title": "API-Schlüssel"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
41
79
|
"OpenAI": {
|
|
42
80
|
"azureApiVersion": {
|
|
43
81
|
"desc": "Die API-Version von Azure, im Format YYYY-MM-DD. Siehe [Neueste Version](https://learn.microsoft.com/de-de/azure/ai-services/openai/reference#chat-completions)",
|
|
44
82
|
"fetch": "Liste abrufen",
|
|
45
83
|
"title": "Azure API Version"
|
|
46
84
|
},
|
|
47
|
-
"check": {
|
|
48
|
-
"button": "Überprüfen",
|
|
49
|
-
"desc": "Überprüfen Sie, ob der API-Schlüssel und die Proxy-Adresse korrekt eingegeben wurden",
|
|
50
|
-
"pass": "Überprüfung erfolgreich",
|
|
51
|
-
"title": "Verbindungstest"
|
|
52
|
-
},
|
|
53
85
|
"customModelName": {
|
|
54
86
|
"desc": "Fügen Sie benutzerdefinierte Modelle hinzu. Mehrere Modelle werden durch Kommas (,) getrennt",
|
|
55
87
|
"placeholder": "Modell1,Modell2,Modell3",
|
|
@@ -82,6 +114,20 @@
|
|
|
82
114
|
"title": "Azure OpenAI verwenden"
|
|
83
115
|
}
|
|
84
116
|
},
|
|
117
|
+
"Zhipu": {
|
|
118
|
+
"title": "智谱",
|
|
119
|
+
"token": {
|
|
120
|
+
"desc": "Geben Sie den API-Schlüssel von Zhipu ein",
|
|
121
|
+
"placeholder": "Zhipu API Key",
|
|
122
|
+
"title": "API-Schlüssel"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"checker": {
|
|
126
|
+
"button": "Überprüfen",
|
|
127
|
+
"desc": "Überprüfen Sie, ob der API-Schlüssel und die Proxy-Adresse korrekt eingegeben wurden",
|
|
128
|
+
"pass": "Überprüfung bestanden",
|
|
129
|
+
"title": "Konnektivitätsprüfung"
|
|
130
|
+
},
|
|
85
131
|
"waitingForMore": "Weitere Modelle werden <1>geplant</1>, bitte freuen Sie sich auf weitere Updates ✨"
|
|
86
132
|
},
|
|
87
133
|
"plugin": {
|
|
@@ -293,6 +339,7 @@
|
|
|
293
339
|
"builtins": {
|
|
294
340
|
"groupName": "Integriert"
|
|
295
341
|
},
|
|
342
|
+
"disabled": "Das aktuelle Modell unterstützt keine Funktionsaufrufe und kann keine Plugins verwenden",
|
|
296
343
|
"plugins": {
|
|
297
344
|
"enabled": "Aktiviert: {{num}}",
|
|
298
345
|
"groupName": "Plugins",
|
package/locales/en-US/chat.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSwitch": {
|
|
3
|
+
"title": "Model"
|
|
4
|
+
},
|
|
2
5
|
"agentDefaultMessage": "Hello, I'm **{{name}}**. You can start chatting with me right away, or go to [Agent Settings](/chat/settings#session={{id}}) to complete my information.",
|
|
3
6
|
"agentDefaultMessageWithSystemRole": "Hello, I'm **{{name}}**, {{systemRole}}. Let's start chatting!",
|
|
4
7
|
"backToBottom": "Back to bottom",
|
|
@@ -37,7 +40,7 @@
|
|
|
37
40
|
"sendPlaceholder": "Type your message here...",
|
|
38
41
|
"sessionGroup": {
|
|
39
42
|
"config": "Group Management",
|
|
40
|
-
"confirmRemoveGroupAlert": "This group is about to be deleted. After deletion, the
|
|
43
|
+
"confirmRemoveGroupAlert": "This group is about to be deleted. After deletion, the agents in this group will be moved to the default list. Please confirm your operation.",
|
|
41
44
|
"createGroup": "Add New Group",
|
|
42
45
|
"createSuccess": "Created successfully",
|
|
43
46
|
"inputPlaceholder": "Please enter group name...",
|
|
@@ -64,7 +67,14 @@
|
|
|
64
67
|
"prettifying": "Polishing..."
|
|
65
68
|
},
|
|
66
69
|
"temp": "Temporary",
|
|
67
|
-
"
|
|
70
|
+
"tokenDetails": {
|
|
71
|
+
"chats": "Chat Messages",
|
|
72
|
+
"rest": "Remaining",
|
|
73
|
+
"systemRole": "Role Settings",
|
|
74
|
+
"tools": "Plugin Settings",
|
|
75
|
+
"total": "Total Available",
|
|
76
|
+
"used": "Total Used"
|
|
77
|
+
},
|
|
68
78
|
"tokenTag": {
|
|
69
79
|
"overload": "Exceeded Limit",
|
|
70
80
|
"remained": "Remaining",
|
|
@@ -102,6 +112,7 @@
|
|
|
102
112
|
"updateAgent": "Update Agent Information",
|
|
103
113
|
"upload": {
|
|
104
114
|
"actionTooltip": "Upload Image",
|
|
115
|
+
"disabled": "The current model does not support visual recognition. Please switch models to use this feature.",
|
|
105
116
|
"dragDesc": "Drag and drop files here, support uploading multiple images. Hold down Shift to send images directly.",
|
|
106
117
|
"dragTitle": "Upload Image"
|
|
107
118
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSelect": {
|
|
3
|
+
"featureTag": {
|
|
4
|
+
"custom": "Custom model, by default, supports both function call and visual recognition. Please verify the availability of the above capabilities based on actual situations.",
|
|
5
|
+
"functionCall": "This model supports function call.",
|
|
6
|
+
"tokens": "This model supports a maximum of {{tokens}} tokens per session.",
|
|
7
|
+
"vision": "This model supports visual recognition."
|
|
8
|
+
}
|
|
9
|
+
},
|
|
2
10
|
"about": "About",
|
|
3
11
|
"advanceSettings": "Advanced Settings",
|
|
4
12
|
"agentMaxToken": "Max Session Length",
|
|
@@ -89,6 +97,14 @@
|
|
|
89
97
|
"zh-TW": "Traditional Chinese"
|
|
90
98
|
},
|
|
91
99
|
"layoutInitializing": "Initializing layout...",
|
|
100
|
+
"modelProvider": {
|
|
101
|
+
"azure": "Azure",
|
|
102
|
+
"bedrock": "AWS Bedrock",
|
|
103
|
+
"google": "Google",
|
|
104
|
+
"oneapi": "One API",
|
|
105
|
+
"openai": "OpenAI",
|
|
106
|
+
"zhipu": "Zhipu AI"
|
|
107
|
+
},
|
|
92
108
|
"noDescription": "No description available",
|
|
93
109
|
"ok": "OK",
|
|
94
110
|
"password": "Password",
|
package/locales/en-US/error.json
CHANGED
|
@@ -33,8 +33,17 @@
|
|
|
33
33
|
"502": "Sorry, the server seems to be lost and is temporarily unable to provide service. Please try again later.",
|
|
34
34
|
"503": "Sorry, the server is currently unable to process your request, possibly due to overload or maintenance. Please try again later.",
|
|
35
35
|
"504": "Sorry, the server did not receive a response from the upstream server. Please try again later.",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"AgentRuntimeError": "Lobe language model runtime execution error. Please troubleshoot or retry based on the following information.",
|
|
37
|
+
"AzureBizError": "Error requesting Azure AI service. Please troubleshoot or retry based on the following information.",
|
|
38
|
+
"BedrockBizError": "Error requesting Bedrock service. Please troubleshoot or retry based on the following information.",
|
|
39
|
+
"GoogleBizError": "Error requesting Google service. Please troubleshoot or retry based on the following information.",
|
|
40
|
+
"InvalidAccessCode": "Invalid access code or empty. Please enter the correct access code or add a custom API Key.",
|
|
41
|
+
"InvalidAzureAPIKey": "Azure API Key is incorrect or empty. Please check the Azure API Key and retry.",
|
|
42
|
+
"InvalidBedrockCredentials": "Bedrock authentication failed. Please check the AccessKeyId/SecretAccessKey and retry.",
|
|
43
|
+
"InvalidGoogleAPIKey": "Google API Key is incorrect or empty. Please check the Google API Key and retry.",
|
|
44
|
+
"InvalidZhipuAPIKey": "Zhipu API Key is incorrect or empty. Please check the Zhipu API Key and retry.",
|
|
45
|
+
"LocationNotSupportError": "We're sorry, your current location does not support this model service. This may be due to regional restrictions or the service not being available. Please confirm if the current location supports using this service, or try using a different location.",
|
|
46
|
+
"NoOpenAIAPIKey": "OpenAI API Key is empty, please add a custom OpenAI API Key",
|
|
38
47
|
"OpenAIBizError": "Error requesting OpenAI service. Please troubleshoot or retry based on the following information.",
|
|
39
48
|
"PluginApiNotFound": "Sorry, the API does not exist in the plugin's manifest. Please check if your request method matches the plugin manifest API",
|
|
40
49
|
"PluginApiParamsError": "Sorry, the input parameter validation for the plugin request failed. Please check if the input parameters match the API description",
|
|
@@ -47,7 +56,8 @@
|
|
|
47
56
|
"PluginMetaNotFound": "Sorry, the plugin was not found in the index. Please check the plugin's configuration information in the index",
|
|
48
57
|
"PluginOpenApiInitError": "Sorry, the OpenAPI client failed to initialize. Please check if the OpenAPI configuration information is correct.",
|
|
49
58
|
"PluginServerError": "Plugin server request returned an error. Please check your plugin manifest file, plugin configuration, or server implementation based on the error information below",
|
|
50
|
-
"PluginSettingsInvalid": "This plugin needs to be correctly configured before it can be used. Please check if your configuration is correct"
|
|
59
|
+
"PluginSettingsInvalid": "This plugin needs to be correctly configured before it can be used. Please check if your configuration is correct",
|
|
60
|
+
"ZhipuBizError": "Error requesting Zhipu service. Please troubleshoot or retry based on the following information."
|
|
51
61
|
},
|
|
52
62
|
"stt": {
|
|
53
63
|
"responseError": "Service request failed, please check the configuration or try again"
|
|
@@ -57,9 +67,24 @@
|
|
|
57
67
|
},
|
|
58
68
|
"unlock": {
|
|
59
69
|
"apikey": {
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
"Bedrock": {
|
|
71
|
+
"customRegion": "Custom service region",
|
|
72
|
+
"description": "Enter your Aws AccessKeyId / SecretAccessKey to start the session. The app will not store your authentication configuration.",
|
|
73
|
+
"title": "Use custom Bedrock authentication information"
|
|
74
|
+
},
|
|
75
|
+
"Google": {
|
|
76
|
+
"description": "Enter your Google API Key to start the session. The app will not store your API Key.",
|
|
77
|
+
"title": "Use custom Google API Key"
|
|
78
|
+
},
|
|
79
|
+
"OpenAI": {
|
|
80
|
+
"addProxyUrl": "Add OpenAI proxy address (optional)",
|
|
81
|
+
"description": "Enter your OpenAI API Key to start the session. The app will not store your API Key.",
|
|
82
|
+
"title": "Use custom OpenAI API Key"
|
|
83
|
+
},
|
|
84
|
+
"Zhipu": {
|
|
85
|
+
"description": "Enter your Zhipu API Key to start the session. The app will not store your API Key.",
|
|
86
|
+
"title": "Use custom Zhipu API Key"
|
|
87
|
+
}
|
|
63
88
|
},
|
|
64
89
|
"closeMessage": "Close message",
|
|
65
90
|
"confirm": "Confirm and Retry",
|
|
@@ -67,6 +92,10 @@
|
|
|
67
92
|
"description": "The application encryption has been enabled by the administrator. Enter the application password to unlock the application. The password only needs to be filled in once.",
|
|
68
93
|
"placeholder": "Please enter password",
|
|
69
94
|
"title": "Enter Password to Unlock Application"
|
|
95
|
+
},
|
|
96
|
+
"tabs": {
|
|
97
|
+
"apiKey": "Custom API Key",
|
|
98
|
+
"password": "Password"
|
|
70
99
|
}
|
|
71
100
|
}
|
|
72
101
|
}
|
|
@@ -22,6 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"llm": {
|
|
24
24
|
"AzureOpenAI": {
|
|
25
|
+
"azureApiVersion": {
|
|
26
|
+
"desc": "The API version of Azure, following the format YYYY-MM-DD. Check the [latest version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)",
|
|
27
|
+
"fetch": "Fetch List",
|
|
28
|
+
"title": "Azure API Version"
|
|
29
|
+
},
|
|
30
|
+
"deployments": {
|
|
31
|
+
"desc": "Fill in your deployment model using the syntax id=name (e.g. if the deployment name is the same as the model name, you can just fill in the model name). Use commas (,) to separate multiple models",
|
|
32
|
+
"title": "Azure Deployment Models List"
|
|
33
|
+
},
|
|
25
34
|
"endpoint": {
|
|
26
35
|
"desc": "This value can be found in the 'Keys and Endpoints' section when checking the resource on the Azure portal",
|
|
27
36
|
"placeholder": "https://docs-test-001.openai.azure.com",
|
|
@@ -38,18 +47,41 @@
|
|
|
38
47
|
"title": "API Key"
|
|
39
48
|
}
|
|
40
49
|
},
|
|
50
|
+
"Bedrock": {
|
|
51
|
+
"accessKeyId": {
|
|
52
|
+
"desc": "Enter your Aws Access Key Id",
|
|
53
|
+
"placeholder": "Aws Access Key Id",
|
|
54
|
+
"title": "Aws Access Key Id"
|
|
55
|
+
},
|
|
56
|
+
"checker": {
|
|
57
|
+
"desc": "Test if AccessKeyId / SecretAccessKey are filled in correctly"
|
|
58
|
+
},
|
|
59
|
+
"region": {
|
|
60
|
+
"desc": "Enter Aws Region",
|
|
61
|
+
"placeholder": "Aws Region",
|
|
62
|
+
"title": "Aws Region"
|
|
63
|
+
},
|
|
64
|
+
"secretAccessKey": {
|
|
65
|
+
"desc": "Enter Aws Secret Access Key",
|
|
66
|
+
"placeholder": "Aws Secret Access Key",
|
|
67
|
+
"title": "Aws Secret Access Key"
|
|
68
|
+
},
|
|
69
|
+
"title": "Bedrock"
|
|
70
|
+
},
|
|
71
|
+
"Google": {
|
|
72
|
+
"title": "Google",
|
|
73
|
+
"token": {
|
|
74
|
+
"desc": "Enter the API Key from Google",
|
|
75
|
+
"placeholder": "Google API Key",
|
|
76
|
+
"title": "API Key"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
41
79
|
"OpenAI": {
|
|
42
80
|
"azureApiVersion": {
|
|
43
81
|
"desc": "The API version for Azure, following the format YYYY-MM-DD, check the [latest version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)",
|
|
44
82
|
"fetch": "Fetch List",
|
|
45
83
|
"title": "Azure API Version"
|
|
46
84
|
},
|
|
47
|
-
"check": {
|
|
48
|
-
"button": "Check",
|
|
49
|
-
"desc": "Test if the Api Key and proxy address are filled in correctly",
|
|
50
|
-
"pass": "Check Passed",
|
|
51
|
-
"title": "Connectivity Check"
|
|
52
|
-
},
|
|
53
85
|
"customModelName": {
|
|
54
86
|
"desc": "Add custom models, separate multiple models with commas (,)",
|
|
55
87
|
"placeholder": "model1,model2,model3",
|
|
@@ -82,6 +114,20 @@
|
|
|
82
114
|
"title": "Azure OpenAI"
|
|
83
115
|
}
|
|
84
116
|
},
|
|
117
|
+
"Zhipu": {
|
|
118
|
+
"title": "Zhipu",
|
|
119
|
+
"token": {
|
|
120
|
+
"desc": "Enter the API Key from Zhipu",
|
|
121
|
+
"placeholder": "Zhipu API Key",
|
|
122
|
+
"title": "API Key"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"checker": {
|
|
126
|
+
"button": "Check",
|
|
127
|
+
"desc": "Test if the Api Key and proxy address are filled in correctly",
|
|
128
|
+
"pass": "Check Passed",
|
|
129
|
+
"title": "Connectivity Check"
|
|
130
|
+
},
|
|
85
131
|
"waitingForMore": "More models are <1>planned to be added</1>, stay tuned ✨"
|
|
86
132
|
},
|
|
87
133
|
"plugin": {
|
|
@@ -293,6 +339,7 @@
|
|
|
293
339
|
"builtins": {
|
|
294
340
|
"groupName": "Built-ins"
|
|
295
341
|
},
|
|
342
|
+
"disabled": "The current model does not support function calls and cannot use the plugin",
|
|
296
343
|
"plugins": {
|
|
297
344
|
"enabled": "Enabled: {{num}}",
|
|
298
345
|
"groupName": "Plugins",
|