@lobehub/chat 0.132.1 → 0.133.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.
- package/.env.example +5 -0
- package/CHANGELOG.md +50 -0
- package/Dockerfile +3 -0
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/docs/self-hosting/environment-variables/model-provider.mdx +6 -3
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +8 -6
- package/locales/ar/common.json +1 -0
- package/locales/ar/error.json +6 -0
- package/locales/ar/setting.json +8 -0
- package/locales/de-DE/common.json +1 -0
- package/locales/de-DE/error.json +6 -0
- package/locales/de-DE/setting.json +8 -0
- package/locales/en-US/common.json +1 -0
- package/locales/en-US/error.json +6 -0
- package/locales/en-US/setting.json +8 -0
- package/locales/es-ES/common.json +1 -0
- package/locales/es-ES/error.json +6 -0
- package/locales/es-ES/setting.json +8 -0
- package/locales/fr-FR/common.json +1 -0
- package/locales/fr-FR/error.json +6 -0
- package/locales/fr-FR/setting.json +8 -0
- package/locales/it-IT/common.json +1 -0
- package/locales/it-IT/error.json +6 -0
- package/locales/it-IT/setting.json +8 -0
- package/locales/ja-JP/common.json +1 -0
- package/locales/ja-JP/error.json +6 -0
- package/locales/ja-JP/setting.json +8 -0
- package/locales/ko-KR/common.json +1 -0
- package/locales/ko-KR/error.json +6 -0
- package/locales/ko-KR/setting.json +8 -0
- package/locales/nl-NL/common.json +1 -0
- package/locales/nl-NL/error.json +6 -0
- package/locales/nl-NL/setting.json +8 -0
- package/locales/pl-PL/common.json +1 -0
- package/locales/pl-PL/error.json +6 -0
- package/locales/pl-PL/setting.json +8 -0
- package/locales/pt-BR/common.json +1 -0
- package/locales/pt-BR/error.json +6 -0
- package/locales/pt-BR/setting.json +8 -0
- package/locales/ru-RU/common.json +1 -0
- package/locales/ru-RU/error.json +6 -0
- package/locales/ru-RU/setting.json +8 -0
- package/locales/tr-TR/common.json +1 -0
- package/locales/tr-TR/error.json +6 -0
- package/locales/tr-TR/setting.json +8 -0
- package/locales/vi-VN/common.json +1 -0
- package/locales/vi-VN/error.json +6 -0
- package/locales/vi-VN/setting.json +8 -0
- package/locales/zh-CN/common.json +1 -0
- package/locales/zh-CN/error.json +6 -0
- package/locales/zh-CN/setting.json +8 -0
- package/locales/zh-TW/common.json +1 -0
- package/locales/zh-TW/error.json +6 -0
- package/locales/zh-TW/setting.json +8 -0
- package/package.json +2 -2
- package/src/app/api/chat/[provider]/agentRuntime.test.ts +52 -0
- package/src/app/api/chat/[provider]/agentRuntime.ts +13 -0
- package/src/app/api/config/route.ts +2 -0
- package/src/app/api/errorResponse.test.ts +15 -0
- package/src/app/api/errorResponse.ts +3 -0
- package/src/app/settings/llm/Mistral/index.tsx +52 -0
- package/src/app/settings/llm/index.tsx +2 -0
- package/src/config/modelProviders/index.ts +3 -0
- package/src/config/modelProviders/mistral.ts +34 -0
- package/src/config/server/provider.ts +8 -0
- package/src/const/settings.ts +4 -0
- package/src/features/Conversation/Error/APIKeyForm/Mistral.tsx +60 -0
- package/src/features/Conversation/Error/APIKeyForm/index.tsx +5 -0
- package/src/features/Conversation/Error/index.tsx +1 -0
- package/src/libs/agent-runtime/anthropic/index.test.ts +78 -0
- package/src/libs/agent-runtime/error.ts +3 -0
- package/src/libs/agent-runtime/index.ts +1 -0
- package/src/libs/agent-runtime/mistral/index.test.ts +378 -0
- package/src/libs/agent-runtime/mistral/index.ts +87 -0
- package/src/locales/default/common.ts +1 -0
- package/src/locales/default/error.ts +7 -0
- package/src/locales/default/setting.ts +8 -0
- package/src/services/_auth.test.ts +20 -0
- package/src/services/_auth.ts +4 -0
- package/src/store/global/slices/settings/selectors/modelProvider.ts +9 -0
- package/src/types/settings/modelProvider.ts +6 -0
package/.env.example
CHANGED
|
@@ -70,6 +70,11 @@ OPENAI_API_KEY=sk-xxxxxxxxx
|
|
|
70
70
|
# The local/remote ollama service url
|
|
71
71
|
# OLLAMA_PROXY_URL=http://127.0.0.1:11434/v1
|
|
72
72
|
|
|
73
|
+
########### Mistral AI Service ##########
|
|
74
|
+
########################################
|
|
75
|
+
|
|
76
|
+
#MISTRAL_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
77
|
+
|
|
73
78
|
########################################
|
|
74
79
|
######### Perplexity Service ##########
|
|
75
80
|
########################################
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 0.133.0](https://github.com/lobehub/lobe-chat/compare/v0.132.2...v0.133.0)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-03-07**</sup>
|
|
8
|
+
|
|
9
|
+
#### ✨ Features
|
|
10
|
+
|
|
11
|
+
- **misc**: Support Mistral model provider.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's improved
|
|
19
|
+
|
|
20
|
+
- **misc**: Support Mistral model provider, closes [#1455](https://github.com/lobehub/lobe-chat/issues/1455) ([4f94bfe](https://github.com/lobehub/lobe-chat/commit/4f94bfe))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 0.132.2](https://github.com/lobehub/lobe-chat/compare/v0.132.1...v0.132.2)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2024-03-07**</sup>
|
|
33
|
+
|
|
34
|
+
#### 🐛 Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **misc**: Fix anthropic streaming on Vercel/Cloudflare.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### What's fixed
|
|
44
|
+
|
|
45
|
+
- **misc**: Fix anthropic streaming on Vercel/Cloudflare, closes [#1480](https://github.com/lobehub/lobe-chat/issues/1480) ([227101a](https://github.com/lobehub/lobe-chat/commit/227101a))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
### [Version 0.132.1](https://github.com/lobehub/lobe-chat/compare/v0.132.0...v0.132.1)
|
|
6
56
|
|
|
7
57
|
<sup>Released on **2024-03-06**</sup>
|
package/Dockerfile
CHANGED
package/README.md
CHANGED
|
@@ -255,14 +255,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
|
|
|
255
255
|
|
|
256
256
|
<!-- AGENT LIST -->
|
|
257
257
|
|
|
258
|
-
| Recent Submits
|
|
259
|
-
|
|
|
260
|
-
| [
|
|
261
|
-
| [
|
|
262
|
-
| [
|
|
263
|
-
| [
|
|
264
|
-
|
|
265
|
-
> 📊 Total agents: [<kbd>**
|
|
258
|
+
| Recent Submits | Description |
|
|
259
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
260
|
+
| [Business Email Writing Expert](https://chat-preview.lobehub.com/market?agent=business-email)<br/><sup>By **[canisminor1990](https://github.com/canisminor1990)** on **2024-03-06**</sup> | Business email writing expert specializing in bilingual business emails in Chinese and English, cross-cultural communication, and engagement in the GitHub open-source community.<br/>`business-email-writing` `business-cooperation` `business-authorization` `cross-cultural-communication` `git-hub-and-open-source-community` |
|
|
261
|
+
| [Discord Style Copywriting Expert](https://chat-preview.lobehub.com/market?agent=discord-copywriting)<br/><sup>By **[canisminor1990](https://github.com/canisminor1990)** on **2024-03-06**</sup> | A copywriting expert in Discord style, prioritizing humor and user experience, specializing in personalized software copywriting.<br/>`copywriting` `creation` `user-experience` `humor` `software-system` |
|
|
262
|
+
| [AI Image Prompt Architect](https://chat-preview.lobehub.com/market?agent=9-somboon)<br/><sup>By **[9Somboon](https://github.com/9Somboon)** on **2024-03-05**</sup> | Specialises in creating detailed prompts for AI image generation.<br/>`stable-diffusion` `ai-image-generation` `prompts` `photography` `creative` `art` |
|
|
263
|
+
| [F1 Data Analyst](https://chat-preview.lobehub.com/market?agent=f-1-bot)<br/><sup>By **[SpaceX-Vision](https://github.com/SpaceX-Vision)** on **2024-03-05**</sup> | Specializes in F1 race data analysis and predictive commentary<br/>`f-1` `data-analysis` `race-prediction` |
|
|
264
|
+
|
|
265
|
+
> 📊 Total agents: [<kbd>**199**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
266
266
|
|
|
267
267
|
<!-- AGENT LIST -->
|
|
268
268
|
|
package/README.zh-CN.md
CHANGED
|
@@ -243,14 +243,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
243
243
|
|
|
244
244
|
<!-- AGENT LIST -->
|
|
245
245
|
|
|
246
|
-
| 最近新增
|
|
247
|
-
|
|
|
248
|
-
| [
|
|
249
|
-
| [
|
|
250
|
-
| [
|
|
251
|
-
| [
|
|
252
|
-
|
|
253
|
-
> 📊 Total agents: [<kbd>**
|
|
246
|
+
| 最近新增 | 助手说明 |
|
|
247
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
248
|
+
| [商务邮件撰写专家](https://chat-preview.lobehub.com/market?agent=business-email)<br/><sup>By **[canisminor1990](https://github.com/canisminor1990)** on **2024-03-06**</sup> | 商务邮件撰写专家,擅长中英文商务邮件,跨文化沟通,GitHub 开源社区交流。<br/>`商务邮件撰写` `商业合作` `商务授权` `跨文化沟通` `git-hub和开源社区` |
|
|
249
|
+
| [Discord 风格文案大师](https://chat-preview.lobehub.com/market?agent=discord-copywriting)<br/><sup>By **[canisminor1990](https://github.com/canisminor1990)** on **2024-03-06**</sup> | Discord 风格文案专家,幽默风趣、用户体验优先,个性化设计软件文案。<br/>`文案生成` `创作` `用户体验` `幽默风趣` `软件系统` |
|
|
250
|
+
| [AI 图像提示建筑师](https://chat-preview.lobehub.com/market?agent=9-somboon)<br/><sup>By **[9Somboon](https://github.com/9Somboon)** on **2024-03-05**</sup> | 专门为 AI 图像生成创建详细提示。<br/>`stable-diffusion` `ai-image-generation` `prompts` `photography` `creative` `art` |
|
|
251
|
+
| [F1 数据分析师](https://chat-preview.lobehub.com/market?agent=f-1-bot)<br/><sup>By **[SpaceX-Vision](https://github.com/SpaceX-Vision)** on **2024-03-05**</sup> | 擅长 F1 赛事数据分析和预测评论<br/>`f-1` `数据分析` `赛事预测` |
|
|
252
|
+
|
|
253
|
+
> 📊 Total agents: [<kbd>**199**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
254
254
|
|
|
255
255
|
<!-- AGENT LIST -->
|
|
256
256
|
|
|
@@ -163,8 +163,11 @@ When using the `turn` mode, the API Keys will be retrieved in a round-robin mann
|
|
|
163
163
|
- Default: -
|
|
164
164
|
- Example: `sk-ant-apixx-xxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx`
|
|
165
165
|
|
|
166
|
+
## Mistral AI
|
|
166
167
|
|
|
167
|
-
|
|
168
|
-
There's [a known issue](https://github.com/anthropics/anthropic-sdk-typescript/issues/292) with the official Anthropic SDK on Vercel/Cloudflare edge runtime, which causes chat streams to be interrupted randomly. If you want to use the Anthropic provider, do not use Vercel/Cloudflare for now; the Anthropic provider should be working fine with other hosting options.
|
|
169
|
-
</Callout>
|
|
168
|
+
### `MISTRAL_API_KEY`
|
|
170
169
|
|
|
170
|
+
- Type: Required
|
|
171
|
+
- Description: This is the API key you applied for in the Mistral AI service
|
|
172
|
+
- Default: -
|
|
173
|
+
- Example: `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=`
|
|
@@ -161,9 +161,11 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
|
|
|
161
161
|
- 默认值:-
|
|
162
162
|
- 示例:`sk-ant-apixx-xxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx`
|
|
163
163
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
164
|
+
## Mistral AI
|
|
165
|
+
|
|
166
|
+
### `MISTRAL_API_KEY`
|
|
167
|
+
|
|
168
|
+
- 类型:必选
|
|
169
|
+
- 描述:这是你在 Mistral AI 服务中申请的 API 密钥
|
|
170
|
+
- 默认值:-
|
|
171
|
+
- 示例:`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=`
|
package/locales/ar/common.json
CHANGED
package/locales/ar/error.json
CHANGED
|
@@ -43,11 +43,13 @@
|
|
|
43
43
|
"InvalidAzureAPIKey": "مفتاح Azure API غير صحيح أو فارغ، يرجى التحقق من مفتاح Azure API وإعادة المحاولة",
|
|
44
44
|
"InvalidBedrockCredentials": "فشلت مصادقة Bedrock، يرجى التحقق من AccessKeyId/SecretAccessKey وإعادة المحاولة",
|
|
45
45
|
"InvalidGoogleAPIKey": "مفتاح Google API غير صحيح أو فارغ، يرجى التحقق من مفتاح Google API وإعادة المحاولة",
|
|
46
|
+
"InvalidMistralAPIKey": "مفتاح Mistral AI API غير صحيح أو فارغ، يرجى التحقق من مفتاح Mistral API وإعادة المحاولة",
|
|
46
47
|
"InvalidMoonshotAPIKey": "مفتاح API لـ Moonshot AI غير صحيح أو فارغ، يرجى التحقق من مفتاح API لـ Moonshot وإعادة المحاولة",
|
|
47
48
|
"InvalidOllamaArgs": "تكوين Ollama غير صحيح، يرجى التحقق من تكوين Ollama وإعادة المحاولة",
|
|
48
49
|
"InvalidPerplexityAPIKey": "مفتاح Perplexity API غير صحيح أو فارغ، يرجى التحقق من مفتاح Perplexity API وإعادة المحاولة",
|
|
49
50
|
"InvalidZhipuAPIKey": "مفتاح Zhipu API غير صحيح أو فارغ، يرجى التحقق من مفتاح Zhipu API وإعادة المحاولة",
|
|
50
51
|
"LocationNotSupportError": "عذرًا، لا يدعم موقعك الحالي خدمة هذا النموذج، قد يكون ذلك بسبب قيود المنطقة أو عدم توفر الخدمة. يرجى التحقق مما إذا كان الموقع الحالي يدعم استخدام هذه الخدمة، أو محاولة استخدام معلومات الموقع الأخرى.",
|
|
52
|
+
"MistralBizError": "طلب خدمة Mistral AI خاطئ، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
51
53
|
"MoonshotBizError": "حدث خطأ في خدمة جانب القمر، يرجى التحقق من المعلومات أدناه أو إعادة المحاولة",
|
|
52
54
|
"NoOpenAIAPIKey": "مفتاح API الخاص بـ OpenAI فارغ، يرجى إضافة مفتاح API الخاص بـ OpenAI",
|
|
53
55
|
"OllamaBizError": "خطأ في طلب خدمة Ollama، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
@@ -88,6 +90,10 @@
|
|
|
88
90
|
"description": "أدخل مفتاح Google API الخاص بك لبدء الجلسة. لن يقوم التطبيق بتسجيل مفتاح الواجهة البرمجية الخاص بك",
|
|
89
91
|
"title": "استخدام مفتاح Google API المخصص"
|
|
90
92
|
},
|
|
93
|
+
"Mistral": {
|
|
94
|
+
"description": "أدخل مفتاح Mistral AI API الخاص بك لبدء الجلسة. لن يتم تسجيل مفتاح الواجهة البرمجية الخاص بك من قبل التطبيق",
|
|
95
|
+
"title": "استخدام مفتاح Mistral AI API المخصص"
|
|
96
|
+
},
|
|
91
97
|
"Moonshot": {
|
|
92
98
|
"description": "قم بإدخال مفتاح API الخاص بك لـ Moonshot AI لبدء الجلسة. لن يتم تسجيل مفتاح الـ API الخاص بك من قبل التطبيق",
|
|
93
99
|
"title": "استخدام مفتاح API مخصص لـ Moonshot AI"
|
package/locales/ar/setting.json
CHANGED
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"title": "مفتاح واجهة برمجة التطبيقات"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
"Mistral": {
|
|
98
|
+
"title": "Mistral AI",
|
|
99
|
+
"token": {
|
|
100
|
+
"desc": "أدخل مفتاح API من Mistral AI",
|
|
101
|
+
"placeholder": "مفتاح API من Mistral AI",
|
|
102
|
+
"title": "مفتاح API"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
97
105
|
"Moonshot": {
|
|
98
106
|
"title": "الجانب المظلم من القمر",
|
|
99
107
|
"token": {
|
package/locales/de-DE/error.json
CHANGED
|
@@ -43,11 +43,13 @@
|
|
|
43
43
|
"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.",
|
|
44
44
|
"InvalidBedrockCredentials": "Die Bedrock-Authentifizierung ist fehlgeschlagen. Bitte überprüfen Sie AccessKeyId/SecretAccessKey und versuchen Sie es erneut.",
|
|
45
45
|
"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.",
|
|
46
|
+
"InvalidMistralAPIKey": "Der Mistral AI-API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Mistral-API-Schlüssel und versuchen Sie es erneut.",
|
|
46
47
|
"InvalidMoonshotAPIKey": "Ungültiger oder leerer Moonshot AI API-Schlüssel. Bitte überprüfen Sie den Moonshot API-Schlüssel und versuchen Sie es erneut.",
|
|
47
48
|
"InvalidOllamaArgs": "Ollama-Konfiguration ist ungültig. Bitte überprüfen Sie die Ollama-Konfiguration und versuchen Sie es erneut.",
|
|
48
49
|
"InvalidPerplexityAPIKey": "Perplexity API Key ist ungültig oder leer. Bitte überprüfen Sie den Perplexity API Key und versuchen Sie es erneut.",
|
|
49
50
|
"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.",
|
|
50
51
|
"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.",
|
|
52
|
+
"MistralBizError": "Beim Anfordern des Mistral AI-Dienstes ist ein Fehler aufgetreten. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
51
53
|
"MoonshotBizError": "Fehler beim Abrufen des Dark Side of the Moon-Services. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
52
54
|
"NoOpenAIAPIKey": "Der OpenAI-API-Schlüssel ist leer. Bitte fügen Sie einen benutzerdefinierten OpenAI-API-Schlüssel hinzu",
|
|
53
55
|
"OllamaBizError": "Fehler bei der Anforderung des Ollama-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
@@ -88,6 +90,10 @@
|
|
|
88
90
|
"description": "Geben Sie Ihren Google API-Schlüssel ein, um die Sitzung zu starten. Die Anwendung speichert Ihren API-Schlüssel nicht.",
|
|
89
91
|
"title": "Verwenden von benutzerdefinierten Google API-Schlüssel"
|
|
90
92
|
},
|
|
93
|
+
"Mistral": {
|
|
94
|
+
"description": "Geben Sie Ihren eigenen Mistral AI-API-Schlüssel ein, um die Sitzung zu starten. Die App speichert Ihren API-Schlüssel nicht.",
|
|
95
|
+
"title": "Verwenden Sie einen benutzerdefinierten Mistral AI-API-Schlüssel"
|
|
96
|
+
},
|
|
91
97
|
"Moonshot": {
|
|
92
98
|
"description": "Geben Sie Ihren individuellen Moonshot AI API-Schlüssel ein, um die Sitzung zu starten. Die App speichert Ihren API-Schlüssel nicht.",
|
|
93
99
|
"title": "Verwenden Sie einen benutzerdefinierten Moonshot AI API-Schlüssel"
|
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"title": "API-Schlüssel"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
"Mistral": {
|
|
98
|
+
"title": "Mistral KI",
|
|
99
|
+
"token": {
|
|
100
|
+
"desc": "Geben Sie den API-Schlüssel von Mistral KI ein",
|
|
101
|
+
"placeholder": "Mistral KI API-Schlüssel",
|
|
102
|
+
"title": "API-Schlüssel"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
97
105
|
"Moonshot": {
|
|
98
106
|
"title": "月球着陆",
|
|
99
107
|
"token": {
|
package/locales/en-US/error.json
CHANGED
|
@@ -43,11 +43,13 @@
|
|
|
43
43
|
"InvalidAzureAPIKey": "Azure API Key is incorrect or empty. Please check the Azure API Key and retry.",
|
|
44
44
|
"InvalidBedrockCredentials": "Bedrock authentication failed. Please check the AccessKeyId/SecretAccessKey and retry.",
|
|
45
45
|
"InvalidGoogleAPIKey": "Google API Key is incorrect or empty. Please check the Google API Key and retry.",
|
|
46
|
+
"InvalidMistralAPIKey": "Incorrect or empty Mistral AI API Key. Please check your Mistral API Key and try again.",
|
|
46
47
|
"InvalidMoonshotAPIKey": "The Moonshot AI API Key is incorrect or empty, please check the Moonshot API Key and try again.",
|
|
47
48
|
"InvalidOllamaArgs": "Invalid Ollama configuration, please check Ollama configuration and try again",
|
|
48
49
|
"InvalidPerplexityAPIKey": "Perplexity API Key is incorrect or empty. Please check the Perplexity API Key and retry.",
|
|
49
50
|
"InvalidZhipuAPIKey": "Zhipu API Key is incorrect or empty. Please check the Zhipu API Key and retry.",
|
|
50
51
|
"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.",
|
|
52
|
+
"MistralBizError": "Error occurred while requesting Mistral AI service. Please troubleshoot based on the following information or retry.",
|
|
51
53
|
"MoonshotBizError": "There was an error with the Moonshot service, please troubleshoot or retry based on the following information.",
|
|
52
54
|
"NoOpenAIAPIKey": "OpenAI API Key is empty, please add a custom OpenAI API Key",
|
|
53
55
|
"OllamaBizError": "Error requesting Ollama service, please troubleshoot or retry based on the following information",
|
|
@@ -88,6 +90,10 @@
|
|
|
88
90
|
"description": "Enter your Google API Key to start the session. The app will not store your API Key.",
|
|
89
91
|
"title": "Use custom Google API Key"
|
|
90
92
|
},
|
|
93
|
+
"Mistral": {
|
|
94
|
+
"description": "Enter your Mistral AI API Key to start the session. The application will not store your API Key.",
|
|
95
|
+
"title": "Use Custom Mistral AI API Key"
|
|
96
|
+
},
|
|
91
97
|
"Moonshot": {
|
|
92
98
|
"description": "Enter your Moonshot AI API Key to start the session. The app will not store your API Key.",
|
|
93
99
|
"title": "Use Custom Moonshot AI API Key"
|
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"title": "API Key"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
"Mistral": {
|
|
98
|
+
"title": "Mistral AI",
|
|
99
|
+
"token": {
|
|
100
|
+
"desc": "Enter the API Key from Mistral AI",
|
|
101
|
+
"placeholder": "Mistral AI API Key",
|
|
102
|
+
"title": "API Key"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
97
105
|
"Moonshot": {
|
|
98
106
|
"title": "Dark Side of the Moon",
|
|
99
107
|
"token": {
|
package/locales/es-ES/error.json
CHANGED
|
@@ -43,11 +43,13 @@
|
|
|
43
43
|
"InvalidAzureAPIKey": "La clave de API de Azure es incorrecta o está vacía, por favor, verifica la clave de API de Azure e inténtalo de nuevo",
|
|
44
44
|
"InvalidBedrockCredentials": "La autenticación de Bedrock no se ha completado con éxito, por favor, verifica AccessKeyId/SecretAccessKey e inténtalo de nuevo",
|
|
45
45
|
"InvalidGoogleAPIKey": "La clave de API de Google es incorrecta o está vacía, por favor, verifica la clave de API de Google e inténtalo de nuevo",
|
|
46
|
+
"InvalidMistralAPIKey": "La clave de API de Mistral AI es incorrecta o está vacía. Por favor, revise la clave de API de Mistral y vuelva a intentarlo.",
|
|
46
47
|
"InvalidMoonshotAPIKey": "La clave de API de Moonshot AI no es válida o está vacía. Por favor, revise la clave de API de Moonshot e inténtelo de nuevo.",
|
|
47
48
|
"InvalidOllamaArgs": "La configuración de Ollama no es válida, por favor revisa la configuración de Ollama e inténtalo de nuevo",
|
|
48
49
|
"InvalidPerplexityAPIKey": "La clave de API de Perplexity es inválida o está vacía. Por favor, verifica la clave de API de Perplexity e inténtalo de nuevo",
|
|
49
50
|
"InvalidZhipuAPIKey": "La clave de API de Zhipu es incorrecta o está vacía, por favor, verifica la clave de API de Zhipu e inténtalo de nuevo",
|
|
50
51
|
"LocationNotSupportError": "Lo sentimos, tu ubicación actual no es compatible con este servicio de modelo, puede ser debido a restricciones geográficas o a que el servicio no está disponible. Por favor, verifica si tu ubicación actual es compatible con este servicio o intenta usar otra información de ubicación.",
|
|
52
|
+
"MistralBizError": "Se produjo un error al solicitar el servicio Mistral AI. Por favor, revise la siguiente información o inténtelo de nuevo.",
|
|
51
53
|
"MoonshotBizError": "Se produjo un error al solicitar el servicio de Moonshot en el lado oscuro de la luna. Por favor, revise la siguiente información o inténtelo de nuevo.",
|
|
52
54
|
"NoOpenAIAPIKey": "La clave de API de OpenAI está vacía. Agregue una clave de API de OpenAI personalizada",
|
|
53
55
|
"OllamaBizError": "Error al solicitar el servicio de Ollama, por favor verifica la siguiente información o inténtalo de nuevo",
|
|
@@ -88,6 +90,10 @@
|
|
|
88
90
|
"description": "Ingresa tu clave de API de Google para comenzar la sesión. La aplicación no guardará tu clave de API",
|
|
89
91
|
"title": "Usar clave de API personalizada de Google"
|
|
90
92
|
},
|
|
93
|
+
"Mistral": {
|
|
94
|
+
"description": "Ingrese su clave de API de Mistral AI para comenzar la sesión. La aplicación no almacenará su clave de API.",
|
|
95
|
+
"title": "Usar clave de API personalizada de Mistral AI"
|
|
96
|
+
},
|
|
91
97
|
"Moonshot": {
|
|
92
98
|
"description": "Ingrese su clave de API de Moonshot AI personalizada para comenzar la sesión. La aplicación no almacenará su clave de API.",
|
|
93
99
|
"title": "Usar una clave de API personalizada de Moonshot AI"
|
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"title": "Clave API"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
"Mistral": {
|
|
98
|
+
"title": "Mistral AI",
|
|
99
|
+
"token": {
|
|
100
|
+
"desc": "Introduce la clave API de Mistral AI",
|
|
101
|
+
"placeholder": "Clave API de Mistral AI",
|
|
102
|
+
"title": "Clave API"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
97
105
|
"Moonshot": {
|
|
98
106
|
"title": "Lado oscuro de la luna",
|
|
99
107
|
"token": {
|
package/locales/fr-FR/error.json
CHANGED
|
@@ -43,11 +43,13 @@
|
|
|
43
43
|
"InvalidAzureAPIKey": "Clé API Azure incorrecte ou vide, veuillez vérifier la clé API Azure et réessayer",
|
|
44
44
|
"InvalidBedrockCredentials": "L'authentification Bedrock a échoué, veuillez vérifier AccessKeyId/SecretAccessKey et réessayer",
|
|
45
45
|
"InvalidGoogleAPIKey": "Clé API Google incorrecte ou vide, veuillez vérifier la clé API Google et réessayer",
|
|
46
|
+
"InvalidMistralAPIKey": "Clé API Mistral AI incorrecte ou manquante. Veuillez vérifier la clé API Mistral et réessayer.",
|
|
46
47
|
"InvalidMoonshotAPIKey": "Clé API Moonshot AI incorrecte ou manquante. Veuillez vérifier la clé API Moonshot et réessayer.",
|
|
47
48
|
"InvalidOllamaArgs": "La configuration d'Ollama n'est pas valide, veuillez vérifier la configuration d'Ollama et réessayer",
|
|
48
49
|
"InvalidPerplexityAPIKey": "La clé API Perplexity est incorrecte ou vide. Veuillez vérifier la clé API Perplexity et réessayer.",
|
|
49
50
|
"InvalidZhipuAPIKey": "Clé API Zhipu incorrecte ou vide, veuillez vérifier la clé API Zhipu et réessayer",
|
|
50
51
|
"LocationNotSupportError": "Désolé, votre emplacement actuel ne prend pas en charge ce service de modèle, peut-être en raison de restrictions géographiques ou de services non disponibles. Veuillez vérifier si votre emplacement actuel prend en charge ce service ou essayer avec une autre localisation.",
|
|
52
|
+
"MistralBizError": "Erreur de service Mistral AI. Veuillez vérifier les informations ci-dessous ou réessayer.",
|
|
51
53
|
"MoonshotBizError": "Erreur de service Moonshot : une erreur s'est produite lors de la demande du service Côté Obscur de la Lune. Veuillez vérifier les informations suivantes ou réessayer.",
|
|
52
54
|
"NoOpenAIAPIKey": "La clé API OpenAI est vide. Veuillez ajouter une clé API OpenAI personnalisée",
|
|
53
55
|
"OllamaBizError": "Erreur commerciale lors de la demande de service Ollama, veuillez vérifier les informations ci-dessous ou réessayer",
|
|
@@ -88,6 +90,10 @@
|
|
|
88
90
|
"description": "Entrez votre clé API Google pour commencer la session. L'application ne conservera pas votre clé API",
|
|
89
91
|
"title": "Utiliser une clé API Google personnalisée"
|
|
90
92
|
},
|
|
93
|
+
"Mistral": {
|
|
94
|
+
"description": "Entrez votre clé API Mistral AI pour commencer la session. L'application ne stockera pas votre clé API.",
|
|
95
|
+
"title": "Utiliser une clé API Mistral AI personnalisée"
|
|
96
|
+
},
|
|
91
97
|
"Moonshot": {
|
|
92
98
|
"description": "Entrez votre clé API Moonshot AI personnalisée pour commencer la session. L'application ne conservera pas votre clé API.",
|
|
93
99
|
"title": "Utiliser une clé API Moonshot AI personnalisée"
|
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"title": "Clé API"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
"Mistral": {
|
|
98
|
+
"title": "Mistral AI",
|
|
99
|
+
"token": {
|
|
100
|
+
"desc": "Veuillez saisir la clé API de Mistral AI",
|
|
101
|
+
"placeholder": "Clé API Mistral AI",
|
|
102
|
+
"title": "Clé API"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
97
105
|
"Moonshot": {
|
|
98
106
|
"title": "月球着陆",
|
|
99
107
|
"token": {
|
package/locales/it-IT/error.json
CHANGED
|
@@ -43,11 +43,13 @@
|
|
|
43
43
|
"InvalidAzureAPIKey": "Chiave API Azure non corretta o vuota, controlla la chiave API Azure e riprova",
|
|
44
44
|
"InvalidBedrockCredentials": "Autenticazione Bedrock non riuscita, controlla AccessKeyId/SecretAccessKey e riprova",
|
|
45
45
|
"InvalidGoogleAPIKey": "Chiave API Google non corretta o vuota, controlla la chiave API Google e riprova",
|
|
46
|
+
"InvalidMistralAPIKey": "Chiave API Mistral AI non valida o vuota. Si prega di controllare la chiave API Mistral e riprovare.",
|
|
46
47
|
"InvalidMoonshotAPIKey": "La chiave API di Moonshot AI non è corretta o è vuota, si prega di controllare la chiave API di Moonshot e riprovare",
|
|
47
48
|
"InvalidOllamaArgs": "Configurazione Ollama non valida, controllare la configurazione di Ollama e riprovare",
|
|
48
49
|
"InvalidPerplexityAPIKey": "Chiave API Perplexity non valida o vuota, controlla la chiave API Perplexity e riprova",
|
|
49
50
|
"InvalidZhipuAPIKey": "Chiave API Zhipu non corretta o vuota, controlla la chiave API Zhipu e riprova",
|
|
50
51
|
"LocationNotSupportError": "Spiacenti, la tua posizione attuale non supporta questo servizio modello, potrebbe essere a causa di restrizioni geografiche o servizi non attivati. Verifica se la posizione attuale supporta l'uso di questo servizio o prova a utilizzare un'altra posizione.",
|
|
52
|
+
"MistralBizError": "Errore di richiesta del servizio Mistral AI. Si prega di controllare le informazioni seguenti o riprovare.",
|
|
51
53
|
"MoonshotBizError": "Si è verificato un errore nel servizio Moonshot, si prega di controllare le informazioni seguenti o riprovare",
|
|
52
54
|
"NoOpenAIAPIKey": "La chiave API OpenAI è vuota. Aggiungi una chiave API personalizzata OpenAI",
|
|
53
55
|
"OllamaBizError": "Errore di servizio Ollama, controllare le informazioni seguenti o riprovare",
|
|
@@ -88,6 +90,10 @@
|
|
|
88
90
|
"description": "Inserisci la tua chiave API Google per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API",
|
|
89
91
|
"title": "Utilizza la chiave API Google personalizzata"
|
|
90
92
|
},
|
|
93
|
+
"Mistral": {
|
|
94
|
+
"description": "Inserisci la tua chiave API Mistral AI per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API.",
|
|
95
|
+
"title": "Utilizza una chiave API personalizzata per Mistral AI"
|
|
96
|
+
},
|
|
91
97
|
"Moonshot": {
|
|
92
98
|
"description": "Inserisci la tua chiave API di Moonshot AI per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API",
|
|
93
99
|
"title": "Utilizza una chiave API personalizzata per Moonshot AI"
|
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"title": "Chiave API"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
"Mistral": {
|
|
98
|
+
"title": "Mistral AI",
|
|
99
|
+
"token": {
|
|
100
|
+
"desc": "Inserisci la chiave API da Mistral AI",
|
|
101
|
+
"placeholder": "Chiave API Mistral AI",
|
|
102
|
+
"title": "Chiave API"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
97
105
|
"Moonshot": {
|
|
98
106
|
"title": "Lato Oscuro della Luna",
|
|
99
107
|
"token": {
|
package/locales/ja-JP/error.json
CHANGED
|
@@ -43,11 +43,13 @@
|
|
|
43
43
|
"InvalidAzureAPIKey": "Azure APIキーが正しくないか空です。Azure APIキーを確認してから再試行してください。",
|
|
44
44
|
"InvalidBedrockCredentials": "Bedrockの認証に失敗しました。AccessKeyId/SecretAccessKeyを確認してから再試行してください。",
|
|
45
45
|
"InvalidGoogleAPIKey": "Google APIキーが正しくないか空です。Google APIキーを確認してから再試行してください。",
|
|
46
|
+
"InvalidMistralAPIKey": "Mistral AI API キーが正しくないか空です。Mistral API キーを確認して再試行してください。",
|
|
46
47
|
"InvalidMoonshotAPIKey": "Moonshot AI APIキーが正しくないか空です。Moonshot APIキーを確認して再試行してください。",
|
|
47
48
|
"InvalidOllamaArgs": "Ollamaの設定が正しくありません。Ollamaの設定を確認してからもう一度お試しください",
|
|
48
49
|
"InvalidPerplexityAPIKey": "Perplexity APIキーが正しくないか空です。Perplexity APIキーを確認してもう一度お試しください",
|
|
49
50
|
"InvalidZhipuAPIKey": "Zhipu APIキーが正しくないか空です。Zhipu APIキーを確認してから再試行してください。",
|
|
50
51
|
"LocationNotSupportError": "申し訳ありませんが、お住まいの地域ではこのモデルサービスをサポートしていません。地域制限またはサービスが利用できない可能性があります。現在の位置がこのサービスをサポートしているかどうかを確認するか、他の位置情報を使用してみてください。",
|
|
52
|
+
"MistralBizError": "Mistral AI サービスのリクエストでエラーが発生しました。以下の情報を確認して再試行してください。",
|
|
51
53
|
"MoonshotBizError": "月の裏側サービスのリクエストでエラーが発生しました。以下の情報を確認して再試行してください。",
|
|
52
54
|
"NoOpenAIAPIKey": "OpenAI APIキーが空です。カスタムOpenAI APIキーを追加してください。",
|
|
53
55
|
"OllamaBizError": "Ollamaサービスのリクエストでエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、再度お試しください",
|
|
@@ -88,6 +90,10 @@
|
|
|
88
90
|
"description": "Google APIキーを入力してセッションを開始します。アプリはAPIキーを記録しません。",
|
|
89
91
|
"title": "カスタムGoogle APIキーを使用"
|
|
90
92
|
},
|
|
93
|
+
"Mistral": {
|
|
94
|
+
"description": "Mistral AI API キーを入力してセッションを開始できます。アプリは API キーを記録しません。",
|
|
95
|
+
"title": "カスタム Mistral AI API キーの使用"
|
|
96
|
+
},
|
|
91
97
|
"Moonshot": {
|
|
92
98
|
"description": "Moonshot AI APIキーを入力してセッションを開始します。アプリはAPIキーを記録しません。",
|
|
93
99
|
"title": "カスタムMoonshot AI APIキーを使用"
|
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"title": "APIキー"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
"Mistral": {
|
|
98
|
+
"title": "Mistral AI",
|
|
99
|
+
"token": {
|
|
100
|
+
"desc": "Mistral AI からの API キーを入力してください",
|
|
101
|
+
"placeholder": "Mistral AI API キー",
|
|
102
|
+
"title": "API キー"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
97
105
|
"Moonshot": {
|
|
98
106
|
"title": "月の裏側",
|
|
99
107
|
"token": {
|
package/locales/ko-KR/error.json
CHANGED
|
@@ -43,11 +43,13 @@
|
|
|
43
43
|
"InvalidAzureAPIKey": "잘못된 또는 비어 있는 Azure API Key입니다. Azure API Key를 확인한 후 다시 시도하십시오.",
|
|
44
44
|
"InvalidBedrockCredentials": "Bedrock 인증에 실패했습니다. AccessKeyId/SecretAccessKey를 확인한 후 다시 시도하십시오.",
|
|
45
45
|
"InvalidGoogleAPIKey": "잘못된 또는 비어 있는 Google API Key입니다. Google API Key를 확인한 후 다시 시도하십시오.",
|
|
46
|
+
"InvalidMistralAPIKey": "Mistral AI API 키가 잘못되었거나 비어 있습니다. Mistral API 키를 확인한 후 다시 시도해주세요.",
|
|
46
47
|
"InvalidMoonshotAPIKey": "Moonshot AI API 키가 잘못되었거나 비어 있습니다. Moonshot API 키를 확인한 후 다시 시도해주세요.",
|
|
47
48
|
"InvalidOllamaArgs": "Ollama 구성이 잘못되었습니다. Ollama 구성을 확인한 후 다시 시도하십시오.",
|
|
48
49
|
"InvalidPerplexityAPIKey": "Perplexity API 키가 잘못되었거나 비어 있습니다. Perplexity API 키를 확인한 후 다시 시도하십시오.",
|
|
49
50
|
"InvalidZhipuAPIKey": "잘못된 또는 비어 있는 Zhipu API Key입니다. Zhipu API Key를 확인한 후 다시 시도하십시오.",
|
|
50
51
|
"LocationNotSupportError": "죄송합니다. 귀하의 현재 위치는 해당 모델 서비스를 지원하지 않습니다. 지역 제한 또는 서비스 미개통으로 인한 것일 수 있습니다. 현재 위치가 해당 서비스를 지원하는지 확인하거나 다른 위치 정보를 사용해 보십시오.",
|
|
52
|
+
"MistralBizError": "Mistral AI 서비스 요청 중 오류가 발생했습니다. 아래 정보를 확인하고 다시 시도해주세요.",
|
|
51
53
|
"MoonshotBizError": "요청한 문샷 비즈니스에 오류가 발생했습니다. 아래 정보를 확인하고 다시 시도해주세요.",
|
|
52
54
|
"NoOpenAIAPIKey": "OpenAI API 키가 비어 있습니다. 사용자 정의 OpenAI API 키를 추가해주세요.",
|
|
53
55
|
"OllamaBizError": "Ollama 서비스 요청 중 오류가 발생했습니다. 아래 정보를 확인하고 다시 시도하십시오.",
|
|
@@ -88,6 +90,10 @@
|
|
|
88
90
|
"description": "Google API Key를 입력하여 세션을 시작합니다. 앱은 귀하의 API Key를 기록하지 않습니다.",
|
|
89
91
|
"title": "사용자 정의 Google API Key 사용"
|
|
90
92
|
},
|
|
93
|
+
"Mistral": {
|
|
94
|
+
"description": "Mistral AI API 키를 입력하면 세션을 시작할 수 있습니다. 애플리케이션은 API 키를 기록하지 않습니다.",
|
|
95
|
+
"title": "사용자 지정 Mistral AI API 키 사용"
|
|
96
|
+
},
|
|
91
97
|
"Moonshot": {
|
|
92
98
|
"description": "Moonshot AI API 키를 입력하면 세션을 시작할 수 있습니다. 애플리케이션은 API 키를 기록하지 않습니다.",
|
|
93
99
|
"title": "사용자 정의 Moonshot AI API 키 사용"
|
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"title": "API Key"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
"Mistral": {
|
|
98
|
+
"title": "Mistral AI",
|
|
99
|
+
"token": {
|
|
100
|
+
"desc": "Mistral AI의 API 키를 입력하세요",
|
|
101
|
+
"placeholder": "Mistral AI API 키",
|
|
102
|
+
"title": "API 키"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
97
105
|
"Moonshot": {
|
|
98
106
|
"title": "달의 그림자",
|
|
99
107
|
"token": {
|