@lobehub/chat 0.122.9 → 0.123.0

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.
Files changed (227) hide show
  1. package/.env.example +22 -2
  2. package/.eslintrc.js +1 -0
  3. package/CHANGELOG.md +25 -0
  4. package/README.md +11 -9
  5. package/README.zh-CN.md +11 -9
  6. package/docs/Deployment/Environment-Variable.md +65 -23
  7. package/docs/Deployment/Environment-Variable.zh-CN.md +64 -22
  8. package/locales/ar/chat.json +12 -1
  9. package/locales/ar/common.json +16 -0
  10. package/locales/ar/error.json +35 -6
  11. package/locales/ar/setting.json +53 -6
  12. package/locales/de-DE/chat.json +12 -1
  13. package/locales/de-DE/common.json +16 -0
  14. package/locales/de-DE/error.json +35 -6
  15. package/locales/de-DE/setting.json +53 -6
  16. package/locales/en-US/chat.json +13 -2
  17. package/locales/en-US/common.json +16 -0
  18. package/locales/en-US/error.json +35 -6
  19. package/locales/en-US/setting.json +53 -6
  20. package/locales/es-ES/chat.json +12 -1
  21. package/locales/es-ES/common.json +16 -0
  22. package/locales/es-ES/error.json +35 -6
  23. package/locales/es-ES/setting.json +53 -6
  24. package/locales/fr-FR/chat.json +13 -2
  25. package/locales/fr-FR/common.json +16 -0
  26. package/locales/fr-FR/error.json +35 -6
  27. package/locales/fr-FR/setting.json +53 -6
  28. package/locales/it-IT/chat.json +12 -1
  29. package/locales/it-IT/common.json +16 -0
  30. package/locales/it-IT/error.json +35 -6
  31. package/locales/it-IT/setting.json +53 -6
  32. package/locales/ja-JP/chat.json +12 -1
  33. package/locales/ja-JP/common.json +16 -0
  34. package/locales/ja-JP/error.json +35 -6
  35. package/locales/ja-JP/setting.json +53 -6
  36. package/locales/ko-KR/chat.json +12 -1
  37. package/locales/ko-KR/common.json +16 -0
  38. package/locales/ko-KR/error.json +35 -6
  39. package/locales/ko-KR/setting.json +53 -6
  40. package/locales/nl-NL/chat.json +12 -1
  41. package/locales/nl-NL/common.json +16 -0
  42. package/locales/nl-NL/error.json +35 -6
  43. package/locales/nl-NL/setting.json +53 -6
  44. package/locales/pl-PL/chat.json +12 -1
  45. package/locales/pl-PL/common.json +16 -0
  46. package/locales/pl-PL/error.json +35 -6
  47. package/locales/pl-PL/setting.json +53 -6
  48. package/locales/pt-BR/chat.json +12 -1
  49. package/locales/pt-BR/common.json +16 -0
  50. package/locales/pt-BR/error.json +35 -6
  51. package/locales/pt-BR/setting.json +53 -6
  52. package/locales/ru-RU/chat.json +12 -1
  53. package/locales/ru-RU/common.json +16 -0
  54. package/locales/ru-RU/error.json +35 -6
  55. package/locales/ru-RU/setting.json +53 -6
  56. package/locales/tr-TR/chat.json +12 -1
  57. package/locales/tr-TR/common.json +16 -0
  58. package/locales/tr-TR/error.json +35 -6
  59. package/locales/tr-TR/setting.json +53 -6
  60. package/locales/vi-VN/chat.json +12 -1
  61. package/locales/vi-VN/common.json +16 -0
  62. package/locales/vi-VN/error.json +35 -6
  63. package/locales/vi-VN/setting.json +53 -6
  64. package/locales/zh-CN/chat.json +12 -1
  65. package/locales/zh-CN/common.json +16 -0
  66. package/locales/zh-CN/error.json +34 -5
  67. package/locales/zh-CN/setting.json +59 -12
  68. package/locales/zh-TW/chat.json +12 -1
  69. package/locales/zh-TW/common.json +16 -0
  70. package/locales/zh-TW/error.json +35 -6
  71. package/locales/zh-TW/setting.json +53 -6
  72. package/next.config.mjs +8 -2
  73. package/package.json +8 -1
  74. package/src/app/api/chat/[provider]/agentRuntime.ts +129 -0
  75. package/src/app/api/chat/[provider]/route.ts +64 -0
  76. package/src/app/api/chat/auth.ts +42 -0
  77. package/src/app/api/chat/google/route.ts +86 -0
  78. package/src/app/api/config/route.ts +6 -1
  79. package/src/app/api/config.ts +3 -3
  80. package/src/app/api/errorResponse.test.ts +8 -8
  81. package/src/app/api/errorResponse.ts +43 -6
  82. package/src/app/api/openai/createBizOpenAI/createAzureOpenai.ts +1 -1
  83. package/src/app/api/openai/createBizOpenAI/createOpenai.ts +1 -1
  84. package/src/app/api/openai/createBizOpenAI/index.ts +2 -2
  85. package/src/app/chat/(desktop)/features/ChatHeader.tsx +6 -4
  86. package/src/app/chat/(desktop)/features/ChatInput/Footer/index.tsx +13 -3
  87. package/src/app/chat/(desktop)/features/ChatInput/Header/index.tsx +16 -24
  88. package/src/app/chat/(desktop)/features/SideBar/index.tsx +1 -0
  89. package/src/app/chat/features/ChatHeader/ShareButton/Preview.tsx +3 -3
  90. package/src/app/chat/features/SessionListContent/List/Item/index.tsx +2 -3
  91. package/src/app/settings/llm/Azure/index.tsx +145 -0
  92. package/src/app/settings/llm/Bedrock/index.tsx +109 -0
  93. package/src/app/settings/llm/{LLM/Checker.tsx → Checker.tsx} +11 -14
  94. package/src/app/settings/llm/Google/index.tsx +74 -0
  95. package/src/app/settings/llm/{LLM → OpenAI}/index.tsx +26 -44
  96. package/src/app/settings/llm/Zhipu/index.tsx +78 -0
  97. package/src/app/settings/llm/const.ts +13 -0
  98. package/src/app/settings/llm/page.tsx +42 -2
  99. package/src/app/settings/llm/useSyncSettings.ts +23 -0
  100. package/src/chains/__tests__/langDetect.test.ts +2 -2
  101. package/src/chains/__tests__/pickEmoji.test.ts +2 -2
  102. package/src/chains/langDetect.ts +2 -2
  103. package/src/chains/pickEmoji.ts +2 -2
  104. package/src/chains/summaryAgentName.ts +2 -2
  105. package/src/chains/summaryDescription.ts +2 -2
  106. package/src/chains/summaryTags.ts +2 -2
  107. package/src/chains/summaryTitle.ts +2 -2
  108. package/src/chains/translate.ts +2 -2
  109. package/src/components/ModelIcon/index.tsx +37 -0
  110. package/src/components/ModelProviderIcon/index.tsx +44 -0
  111. package/src/components/ModelSelect/index.tsx +133 -0
  112. package/src/components/ModelTag/ModelIcon.tsx +35 -0
  113. package/src/components/ModelTag/index.tsx +13 -0
  114. package/src/config/modelProviders/bedrock.ts +43 -0
  115. package/src/config/modelProviders/google.ts +20 -0
  116. package/src/config/modelProviders/index.ts +18 -0
  117. package/src/config/modelProviders/openai.ts +102 -0
  118. package/src/config/modelProviders/zhipu.ts +34 -0
  119. package/src/config/{server.ts → server/app.ts} +1 -24
  120. package/src/config/server/index.ts +13 -0
  121. package/src/config/server/provider.ts +78 -0
  122. package/src/const/auth.ts +30 -0
  123. package/src/const/fetch.ts +3 -0
  124. package/src/const/settings.ts +24 -4
  125. package/src/database/core/migrations/migrateSettingsToUser/index.test.ts +2 -1
  126. package/src/database/core/migrations/migrateSettingsToUser/index.ts +1 -18
  127. package/src/database/core/migrations/migrateSettingsToUser/type.ts +100 -0
  128. package/src/database/models/message.ts +3 -1
  129. package/src/database/schemas/message.ts +1 -0
  130. package/src/database/schemas/session.ts +1 -0
  131. package/src/features/AgentSetting/AgentConfig/ModelSelect.tsx +71 -0
  132. package/src/features/AgentSetting/AgentConfig/index.tsx +171 -161
  133. package/src/features/AgentSetting/AgentConfig/useSyncConfig.ts +23 -0
  134. package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +39 -0
  135. package/src/features/AgentSetting/AgentPrompt/index.tsx +4 -26
  136. package/src/features/AgentSetting/store/index.ts +10 -2
  137. package/src/features/ChatInput/ActionBar/FileUpload.tsx +11 -4
  138. package/src/features/ChatInput/ActionBar/ModelSwitch.tsx +56 -14
  139. package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +42 -7
  140. package/src/features/ChatInput/ActionBar/Token/index.tsx +5 -2
  141. package/src/features/ChatInput/ActionBar/Tools/index.tsx +11 -1
  142. package/src/features/ChatInput/useChatInput.ts +5 -1
  143. package/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx +80 -0
  144. package/src/features/Conversation/Error/APIKeyForm/Google.tsx +61 -0
  145. package/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx +63 -0
  146. package/src/features/Conversation/Error/APIKeyForm/Zhipu.tsx +62 -0
  147. package/src/features/Conversation/Error/APIKeyForm/index.tsx +72 -0
  148. package/src/features/Conversation/Error/AccessCodeForm.tsx +63 -0
  149. package/src/features/Conversation/Error/ErrorJsonViewer.tsx +26 -0
  150. package/src/features/Conversation/Error/InvalidAPIKey.tsx +16 -0
  151. package/src/features/Conversation/Error/InvalidAccessCode.tsx +50 -0
  152. package/src/features/Conversation/Error/OpenAiBizError.tsx +9 -17
  153. package/src/features/Conversation/Error/{Plugin/PluginSettings.tsx → PluginSettings.tsx} +8 -3
  154. package/src/features/Conversation/Error/index.tsx +75 -70
  155. package/src/features/Conversation/Error/style.tsx +9 -3
  156. package/src/features/Conversation/Extras/Assistant.tsx +2 -3
  157. package/src/features/Conversation/Plugins/Inspector/index.tsx +8 -2
  158. package/src/features/Conversation/components/ChatItem/index.tsx +9 -24
  159. package/src/features/Conversation/types/index.tsx +2 -5
  160. package/src/hooks/_header.ts +35 -0
  161. package/src/libs/agent-runtime/BaseAI.ts +9 -0
  162. package/src/libs/agent-runtime/azureOpenai/index.ts +72 -0
  163. package/src/libs/agent-runtime/bedrock/index.ts +134 -0
  164. package/src/libs/agent-runtime/error.ts +26 -0
  165. package/src/libs/agent-runtime/google/index.ts +160 -0
  166. package/src/libs/agent-runtime/index.ts +9 -0
  167. package/src/libs/agent-runtime/openai/index.test.ts +176 -0
  168. package/src/libs/agent-runtime/openai/index.ts +107 -0
  169. package/src/libs/agent-runtime/types/chat.ts +119 -0
  170. package/src/libs/agent-runtime/types/index.ts +2 -0
  171. package/src/libs/agent-runtime/types/type.ts +34 -0
  172. package/src/libs/agent-runtime/utils/createError.ts +10 -0
  173. package/src/libs/agent-runtime/utils/debugStream.ts +18 -0
  174. package/src/libs/agent-runtime/utils/env.ts +1 -0
  175. package/src/libs/agent-runtime/utils/handleOpenAIError.ts +39 -0
  176. package/src/libs/agent-runtime/utils/uriParser.ts +16 -0
  177. package/src/libs/agent-runtime/zhipu/authToken.ts +22 -0
  178. package/src/libs/agent-runtime/zhipu/index.ts +125 -0
  179. package/src/locales/default/chat.ts +12 -2
  180. package/src/locales/default/common.ts +16 -0
  181. package/src/locales/default/error.ts +42 -5
  182. package/src/locales/default/setting.ts +61 -12
  183. package/src/services/__tests__/chat.test.ts +8 -2
  184. package/src/services/__tests__/message.test.ts +1 -1
  185. package/src/services/_auth.ts +106 -0
  186. package/src/services/_header.ts +1 -0
  187. package/src/services/_url.ts +0 -2
  188. package/src/services/chat.ts +32 -14
  189. package/src/store/chat/slices/message/action.ts +9 -6
  190. package/src/store/global/slices/common/action.ts +8 -2
  191. package/src/store/global/slices/settings/action.test.ts +2 -2
  192. package/src/store/global/slices/settings/action.ts +11 -4
  193. package/src/store/global/slices/settings/selectors/__snapshots__/modelProvider.test.ts.snap +242 -78
  194. package/src/store/global/slices/settings/selectors/__snapshots__/selectors.test.ts.snap +2 -0
  195. package/src/store/global/slices/settings/selectors/modelProvider.test.ts +171 -47
  196. package/src/store/global/slices/settings/selectors/modelProvider.ts +136 -43
  197. package/src/store/session/slices/agent/selectors.test.ts +0 -48
  198. package/src/store/session/slices/agent/selectors.ts +7 -12
  199. package/src/types/agent/index.ts +6 -2
  200. package/src/types/fetch.ts +4 -2
  201. package/src/types/files.ts +3 -3
  202. package/src/types/llm.ts +27 -0
  203. package/src/types/message/index.ts +7 -3
  204. package/src/types/openai/chat.ts +6 -11
  205. package/src/types/settings/index.ts +1 -0
  206. package/src/types/settings/modelProvider.ts +37 -1
  207. package/src/utils/__snapshots__/parseModels.test.ts.snap +63 -0
  208. package/src/utils/parseModels.test.ts +24 -0
  209. package/src/utils/parseModels.ts +37 -0
  210. package/src/app/api/openai/chat/createChatCompletion.test.ts +0 -166
  211. package/src/app/api/openai/chat/createChatCompletion.ts +0 -76
  212. package/src/app/api/openai/chat/route.ts +0 -19
  213. package/src/app/api/openai/models/route.ts +0 -17
  214. package/src/app/settings/llm/LLM/ModelList.tsx +0 -51
  215. package/src/app/settings/llm/LLM/getModelList.ts +0 -9
  216. package/src/app/settings/llm/index.tsx +0 -36
  217. package/src/const/llm.ts +0 -32
  218. package/src/features/Conversation/Error/ApiKeyForm.tsx +0 -87
  219. package/src/features/Conversation/Error/ErrorActionContainer.tsx +0 -23
  220. package/src/features/Conversation/Error/InvalidAccess.tsx +0 -90
  221. package/src/features/Conversation/Error/OpenAPIKey.tsx +0 -13
  222. package/src/features/Conversation/Error/Plugin/PluginError.tsx +0 -30
  223. package/src/services/modelList.ts +0 -15
  224. /package/src/app/chat/(desktop)/features/ChatInput/{Header → Footer}/DragUpload.tsx +0 -0
  225. /package/src/{app/api/openai/chat → libs/agent-runtime/utils}/desensitizeUrl.test.ts +0 -0
  226. /package/src/{app/api/openai/chat → libs/agent-runtime/utils}/desensitizeUrl.ts +0 -0
  227. /package/src/types/{translate.ts → message/translate.ts} +0 -0
@@ -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": "الإضافات",
@@ -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
- "tokenDetail": "Rollen-Einstellung: {{systemRoleToken}} · Chat-Nachrichten: {{chatsToken}}",
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",
@@ -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
- "InvalidAccessCode": "Falsches oder leeres Passwort. Bitte geben Sie das richtige Zugangspasswort ein oder fügen Sie einen benutzerdefinierten OpenAI-API-Schlüssel hinzu",
37
- "NoAPIKey": "Der OpenAI-API-Schlüssel ist leer. Bitte fügen Sie einen benutzerdefinierten OpenAI-API-Schlüssel hinzu",
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
- "addProxyUrl": "Proxy-URL hinzufügen (optional)",
61
- "description": "Gib deinen OpenAI API-Schlüssel ein, um eine Sitzung zu starten. Die App speichert deinen API-Schlüssel nicht.",
62
- "title": "Benutzerdefinierten API-Schlüssel verwenden"
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",
@@ -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 assistants in this group will be moved to the default list. Please confirm your operation.",
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
- "tokenDetail": "Role Setting: {{systemRoleToken}} · Chat History: {{chatsToken}}",
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",
@@ -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
- "InvalidAccessCode": "The password is incorrect or empty. Please enter the correct access password or add a custom OpenAI API Key.",
37
- "NoAPIKey": "OpenAI API Key is empty, please add a custom OpenAI API Key",
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
- "addProxyUrl": "Add OpenAI Proxy URL (optional)",
61
- "description": "Enter your OpenAI API Key to start the conversation. The application will not record your API Key.",
62
- "title": "Use Custom API Key"
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",
@@ -1,4 +1,7 @@
1
1
  {
2
+ "ModelSwitch": {
3
+ "title": "Cambiar modelo"
4
+ },
2
5
  "agentDefaultMessage": "Hola, soy **{{name}}**, puedes comenzar a chatear conmigo de inmediato o ir a [Configuración del asistente](/chat/settings#session={{id}}) para completar mi información.",
3
6
  "agentDefaultMessageWithSystemRole": "Hola, soy **{{name}}**, {{systemRole}}, ¡comencemos a chatear!",
4
7
  "backToBottom": "Volver al fondo",
@@ -64,7 +67,14 @@
64
67
  "prettifying": "Embelleciendo..."
65
68
  },
66
69
  "temp": "Temporal",
67
- "tokenDetail": "Configuración de rol: {{systemRoleToken}} · Mensajes de sesión: {{chatsToken}}",
70
+ "tokenDetails": {
71
+ "chats": "Mensajes de chat",
72
+ "rest": "Restante",
73
+ "systemRole": "Rol del sistema",
74
+ "tools": "Herramientas",
75
+ "total": "Total",
76
+ "used": "Utilizado"
77
+ },
68
78
  "tokenTag": {
69
79
  "overload": "Excedido",
70
80
  "remained": "Restante",
@@ -102,6 +112,7 @@
102
112
  "updateAgent": "Actualizar información del asistente",
103
113
  "upload": {
104
114
  "actionTooltip": "Subir imagen",
115
+ "disabled": "El modelo actual no admite reconocimiento visual. Por favor, cambia de modelo para usar esta función",
105
116
  "dragDesc": "Arrastra y suelta archivos aquí, admite la carga de varias imágenes. Mantén presionada la tecla Shift para enviar las imágenes directamente.",
106
117
  "dragTitle": "Subir imagen"
107
118
  }
@@ -1,4 +1,12 @@
1
1
  {
2
+ "ModelSelect": {
3
+ "featureTag": {
4
+ "custom": "Modelo personalizado: admite tanto la llamada de funciones como el reconocimiento visual. Por favor, verifique la disponibilidad de estas capacidades según sea necesario.",
5
+ "functionCall": "Este modelo admite la llamada de funciones (Function Call).",
6
+ "tokens": "Este modelo admite un máximo de {{tokens}} tokens por sesión.",
7
+ "vision": "Este modelo admite el reconocimiento visual."
8
+ }
9
+ },
2
10
  "about": "Acerca de",
3
11
  "advanceSettings": "Configuración avanzada",
4
12
  "agentMaxToken": "Máximo de tokens de sesión",
@@ -89,6 +97,14 @@
89
97
  "zh-TW": "Chino tradicional"
90
98
  },
91
99
  "layoutInitializing": "Inicializando diseño...",
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": "Sin descripción",
93
109
  "ok": "Aceptar",
94
110
  "password": "Contraseña",