@lobehub/chat 0.131.0 → 0.132.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 +12 -0
- package/CHANGELOG.md +50 -0
- package/Dockerfile +6 -0
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/docs/self-hosting/environment-variables/model-provider.mdx +24 -0
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +25 -0
- 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 +3 -2
- package/src/app/api/chat/[provider]/agentRuntime.ts +13 -0
- package/src/app/api/chat/anthropic/route.test.ts +28 -0
- package/src/app/api/chat/anthropic/route.ts +33 -0
- package/src/app/api/config/route.ts +2 -0
- package/src/app/api/errorResponse.ts +3 -0
- package/src/app/chat/(desktop)/features/ChatHeader/Tags.tsx +3 -2
- package/src/app/settings/llm/Anthropic/index.tsx +52 -0
- package/src/app/settings/llm/index.tsx +2 -0
- package/src/components/ModelIcon/index.tsx +2 -2
- package/src/components/ModelProviderIcon/index.tsx +5 -0
- package/src/components/ModelTag/ModelIcon.tsx +2 -2
- package/src/config/modelProviders/anthropic.ts +56 -0
- package/src/config/modelProviders/index.ts +3 -0
- package/src/config/server/provider.ts +8 -0
- package/src/const/settings.ts +4 -0
- package/src/features/Conversation/Error/APIKeyForm/Anthropic.tsx +40 -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 +212 -0
- package/src/libs/agent-runtime/anthropic/index.ts +119 -0
- package/src/libs/agent-runtime/error.ts +3 -0
- package/src/libs/agent-runtime/index.ts +1 -0
- package/src/libs/agent-runtime/types/chat.ts +1 -0
- package/src/locales/create.ts +9 -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.ts +4 -0
- package/src/services/file.ts +1 -2
- package/src/store/global/slices/settings/selectors/modelProvider.ts +9 -0
- package/src/types/llm.ts +1 -0
- package/src/types/settings/modelProvider.ts +6 -0
package/.env.example
CHANGED
|
@@ -70,6 +70,18 @@ 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
|
+
########################################
|
|
74
|
+
######### Perplexity Service ##########
|
|
75
|
+
########################################
|
|
76
|
+
|
|
77
|
+
#PERPLEXITY_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
78
|
+
|
|
79
|
+
########################################
|
|
80
|
+
######### Anthropic Service ##########
|
|
81
|
+
########################################
|
|
82
|
+
|
|
83
|
+
#ANTHROPIC_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
84
|
+
|
|
73
85
|
########################################
|
|
74
86
|
############ Market Service ############
|
|
75
87
|
########################################
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.132.1](https://github.com/lobehub/lobe-chat/compare/v0.132.0...v0.132.1)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-03-06**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix hydration error while OAuth callback.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Fix hydration error while OAuth callback, closes [#1474](https://github.com/lobehub/lobe-chat/issues/1474) ([ff93825](https://github.com/lobehub/lobe-chat/commit/ff93825))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
## [Version 0.132.0](https://github.com/lobehub/lobe-chat/compare/v0.131.0...v0.132.0)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2024-03-05**</sup>
|
|
33
|
+
|
|
34
|
+
#### ✨ Features
|
|
35
|
+
|
|
36
|
+
- **misc**: Support anthropic as model provider.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### What's improved
|
|
44
|
+
|
|
45
|
+
- **misc**: Support anthropic as model provider, closes [#1409](https://github.com/lobehub/lobe-chat/issues/1409) ([a42cf8c](https://github.com/lobehub/lobe-chat/commit/a42cf8c))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
## [Version 0.131.0](https://github.com/lobehub/lobe-chat/compare/v0.130.7...v0.131.0)
|
|
6
56
|
|
|
7
57
|
<sup>Released on **2024-03-05**</sup>
|
package/Dockerfile
CHANGED
package/README.md
CHANGED
|
@@ -223,7 +223,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
|
|
|
223
223
|
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **feednews** on **2024-01-27**</sup> | Get realtime crypto price, BTC, ETH, BNB, and the latest insights.The latest coin news and airdrop opportunities.<br/>`crypto` `btc` `eth` `bnb` |
|
|
224
224
|
| [Bilibili](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-27**</sup> | Dive into Bilibili's vast content with features like keyword video search, replay access, interactive danmaku, trending video recommendations, and hot-search insights, all at your fingertips.<br/>`video` `bilibili` `search` |
|
|
225
225
|
|
|
226
|
-
> 📊 Total plugins: [<kbd>**
|
|
226
|
+
> 📊 Total plugins: [<kbd>**58**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
227
227
|
|
|
228
228
|
<!-- PLUGIN LIST -->
|
|
229
229
|
|
|
@@ -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
|
-
| [
|
|
258
|
+
| Recent Submits | Description |
|
|
259
|
+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
260
|
+
| [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` |
|
|
261
|
+
| [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` |
|
|
262
|
+
| [Software Development for Dummies](https://chat-preview.lobehub.com/market?agent=software-development-for-dummies)<br/><sup>By **[Ballongknute](https://github.com/Ballongknute)** on **2024-03-05**</sup> | Software Development for Dummies: Guides no brainers through the software development process, providing step-by-step instructions and best practices for requirements gathering, design, coding, testing, deployment, and maintenance.<br/>`software-development` `step-by-step` `sdlc` `agile-methodologies` `version-control` `continuous-integration` `continuous-deployment` `team-roles` `project-management` `coding-best-practices` `testing` `deployment` `post-deployment` `iterative-development` `scrum-master` |
|
|
263
|
+
| [English Composition Assistant](https://chat-preview.lobehub.com/market?agent=english-essay)<br/><sup>By **[guluahljj](https://github.com/guluahljj)** on **2024-03-04**</sup> | English composition editing and writing guidance<br/>`editing` `writing` `guidance` `english-composition` `agulu` |
|
|
264
264
|
|
|
265
|
-
> 📊 Total agents: [<kbd>**
|
|
265
|
+
> 📊 Total agents: [<kbd>**196**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
266
266
|
|
|
267
267
|
<!-- AGENT LIST -->
|
|
268
268
|
|
package/README.zh-CN.md
CHANGED
|
@@ -215,7 +215,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
215
215
|
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **feednews** on **2024-01-27**</sup> | 获取实时加密货币价格,BTC,ETH,BNB 和最新见解。最新的币新闻和空投机会。<br/>`加密货币` `btc` `eth` `bnb` |
|
|
216
216
|
| [哔哩哔哩](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-27**</sup> | 通过关键词视频搜索、回放访问、互动弹幕、热门视频推荐和热搜洞察等功能,深入体验哔哩哔哩丰富的内容,尽在您的指尖。<br/>`视频` `哔哩哔哩` `搜索` |
|
|
217
217
|
|
|
218
|
-
> 📊 Total plugins: [<kbd>**
|
|
218
|
+
> 📊 Total plugins: [<kbd>**58**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
219
219
|
|
|
220
220
|
<!-- PLUGIN LIST -->
|
|
221
221
|
|
|
@@ -243,14 +243,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
243
243
|
|
|
244
244
|
<!-- AGENT LIST -->
|
|
245
245
|
|
|
246
|
-
| 最近新增
|
|
247
|
-
|
|
|
248
|
-
| [
|
|
249
|
-
| [
|
|
250
|
-
| [
|
|
251
|
-
| [
|
|
246
|
+
| 最近新增 | 助手说明 |
|
|
247
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
248
|
+
| [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` |
|
|
249
|
+
| [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` `数据分析` `赛事预测` |
|
|
250
|
+
| [软件开发入门指南](https://chat-preview.lobehub.com/market?agent=software-development-for-dummies)<br/><sup>By **[Ballongknute](https://github.com/Ballongknute)** on **2024-03-05**</sup> | 《软件开发入门指南》:指导初学者通过软件开发过程,提供逐步指导和最佳实践,包括需求收集、设计、编码、测试、部署和维护。<br/>`软件开发` `逐步指导` `sdlc` `敏捷方法` `版本控制` `持续集成` `持续部署` `团队角色` `项目管理` `编码最佳实践` `测试` `部署` `部署后` `迭代开发` `scrum-管理员` |
|
|
251
|
+
| [英语作文助手](https://chat-preview.lobehub.com/market?agent=english-essay)<br/><sup>By **[guluahljj](https://github.com/guluahljj)** on **2024-03-04**</sup> | 英语作文修改与写作指导<br/>`修改` `写作` `指导` `英语作文` `agulu` |
|
|
252
252
|
|
|
253
|
-
> 📊 Total agents: [<kbd>**
|
|
253
|
+
> 📊 Total agents: [<kbd>**196**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
254
254
|
|
|
255
255
|
<!-- AGENT LIST -->
|
|
256
256
|
|
|
@@ -144,3 +144,27 @@ When using the `turn` mode, the API Keys will be retrieved in a round-robin mann
|
|
|
144
144
|
- Description: Used to enable the Ollama service, setting this will display optional open-source language models in the language model list and can also specify custom language models
|
|
145
145
|
- Default: -
|
|
146
146
|
- Example: `http://127.0.0.1:11434/v1`
|
|
147
|
+
|
|
148
|
+
## Perplexity AI
|
|
149
|
+
|
|
150
|
+
### `PERPLEXITY_API_KEY`
|
|
151
|
+
|
|
152
|
+
- Type: Required
|
|
153
|
+
- Description: This is the API key you applied from Perplexity AI
|
|
154
|
+
- Default: -
|
|
155
|
+
- Example: `pplx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
|
|
156
|
+
|
|
157
|
+
## Anthropic AI
|
|
158
|
+
|
|
159
|
+
### `ANTHROPIC_API_KEY`
|
|
160
|
+
|
|
161
|
+
- Type: Required
|
|
162
|
+
- Description: This is the API key you applied from Anthropic AI
|
|
163
|
+
- Default: -
|
|
164
|
+
- Example: `sk-ant-apixx-xxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx`
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
<Callout type={'warning'}>
|
|
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>
|
|
170
|
+
|
|
@@ -142,3 +142,28 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
|
|
|
142
142
|
- 描述:用于启用 Ollama 服务,设置后可在语言模型列表内展示可选开源语言模型,也可以指定自定义语言模型
|
|
143
143
|
- 默认值:-
|
|
144
144
|
- 示例:`http://127.0.0.1:11434/v1`
|
|
145
|
+
|
|
146
|
+
## Perplexity AI
|
|
147
|
+
|
|
148
|
+
### `PERPLEXITY_API_KEY`
|
|
149
|
+
|
|
150
|
+
- 类型:必选
|
|
151
|
+
- 描述:这是你在 Perplexity AI 服务中申请的 API 密钥
|
|
152
|
+
- 默认值:-
|
|
153
|
+
- 示例:`pplx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
|
|
154
|
+
|
|
155
|
+
## Anthropic AI
|
|
156
|
+
|
|
157
|
+
### `ANTHROPIC_API_KEY`
|
|
158
|
+
|
|
159
|
+
- 类型:必选
|
|
160
|
+
- 描述:这是你在 Anthropic AI 服务中申请的 API 密钥
|
|
161
|
+
- 默认值:-
|
|
162
|
+
- 示例:`sk-ant-apixx-xxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx`
|
|
163
|
+
|
|
164
|
+
<Callout type={'warning'}>
|
|
165
|
+
官方 Anthropic SDK 在 Vercel/Cloudflare
|
|
166
|
+
边缘节点运行时存在一个[已知问题](https://github.com/anthropics/anthropic-sdk-typescript/issues/292)
|
|
167
|
+
,会导致聊天流出现随机中断。如果您希望在 lobe-chat 中使用 Anthropic 模型,请暂时不要部署到
|
|
168
|
+
Vercel/Cloudflare。Anthropic 模型在其他部署方式下可以正常工作。
|
|
169
|
+
</Callout>
|
package/locales/ar/common.json
CHANGED
package/locales/ar/error.json
CHANGED
|
@@ -34,10 +34,12 @@
|
|
|
34
34
|
"503": "عذرًا، الخادم غير قادر حاليًا على معالجة طلبك، قد يكون بسبب الحمل الزائد أو الصيانة الجارية، يرجى المحاولة مرة أخرى لاحقًا",
|
|
35
35
|
"504": "عذرًا، الخادم لم ينتظر ردًا من الخادم الأصلي، يرجى المحاولة مرة أخرى لاحقًا",
|
|
36
36
|
"AgentRuntimeError": "حدث خطأ في تشغيل نموذج Lobe اللغوي، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
37
|
+
"AnthropicBizError": "خطأ في طلب خدمة Anthropic AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
37
38
|
"AzureBizError": "حدث خطأ في طلب خدمة Azure AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
38
39
|
"BedrockBizError": "حدث خطأ في طلب خدمة Bedrock، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
39
40
|
"GoogleBizError": "حدث خطأ في طلب خدمة Google، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
40
41
|
"InvalidAccessCode": "كلمة المرور غير صحيحة أو فارغة، يرجى إدخال كلمة مرور الوصول الصحيحة أو إضافة مفتاح API مخصص",
|
|
42
|
+
"InvalidAnthropicAPIKey": "مفتاح Anthropic API غير صحيح أو فارغ، يرجى التحقق من مفتاح Anthropic API وإعادة المحاولة",
|
|
41
43
|
"InvalidAzureAPIKey": "مفتاح Azure API غير صحيح أو فارغ، يرجى التحقق من مفتاح Azure API وإعادة المحاولة",
|
|
42
44
|
"InvalidBedrockCredentials": "فشلت مصادقة Bedrock، يرجى التحقق من AccessKeyId/SecretAccessKey وإعادة المحاولة",
|
|
43
45
|
"InvalidGoogleAPIKey": "مفتاح Google API غير صحيح أو فارغ، يرجى التحقق من مفتاح Google API وإعادة المحاولة",
|
|
@@ -73,6 +75,10 @@
|
|
|
73
75
|
},
|
|
74
76
|
"unlock": {
|
|
75
77
|
"apikey": {
|
|
78
|
+
"Anthropic": {
|
|
79
|
+
"description": "أدخل مفتاح Anthropic API الخاص بك للبدء في الجلسة. لن يقوم التطبيق بتسجيل مفتاح الواجهة البرمجية الخاص بك",
|
|
80
|
+
"title": "استخدام مفتاح واجهة برمجة التطبيقات الخاص بـ Anthropic"
|
|
81
|
+
},
|
|
76
82
|
"Bedrock": {
|
|
77
83
|
"customRegion": "منطقة خدمة مخصصة",
|
|
78
84
|
"description": "أدخل مفتاح الوصول الخاص بك لـ Aws AccessKeyId / SecretAccessKey لبدء الجلسة. لن يقوم التطبيق بتسجيل تكوين المصادقة الخاص بك",
|
package/locales/ar/setting.json
CHANGED
|
@@ -31,6 +31,14 @@
|
|
|
31
31
|
"sessionWithName": "إعدادات الجلسة · {{name}}"
|
|
32
32
|
},
|
|
33
33
|
"llm": {
|
|
34
|
+
"Anthropic": {
|
|
35
|
+
"title": "أنثروبيك",
|
|
36
|
+
"token": {
|
|
37
|
+
"desc": "أدخل مفتاح API من أنثروبيك",
|
|
38
|
+
"placeholder": "مفتاح API من أنثروبيك",
|
|
39
|
+
"title": "مفتاح API"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
34
42
|
"AzureOpenAI": {
|
|
35
43
|
"azureApiVersion": {
|
|
36
44
|
"desc": "إصدار واجهة برمجة التطبيقات لـ Azure، يتبع تنسيق YYYY-MM-DD، راجع [أحدث الإصدار](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
|
package/locales/de-DE/error.json
CHANGED
|
@@ -34,10 +34,12 @@
|
|
|
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
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
|
+
"AnthropicBizError": "Fehler beim Anfordern des Anthropic AI-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
37
38
|
"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
39
|
"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
40
|
"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
41
|
"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.",
|
|
42
|
+
"InvalidAnthropicAPIKey": "Ungültiger oder leerer Anthropic API-Schlüssel. Bitte überprüfen Sie den Anthropic API-Schlüssel und versuchen Sie es erneut.",
|
|
41
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.",
|
|
42
44
|
"InvalidBedrockCredentials": "Die Bedrock-Authentifizierung ist fehlgeschlagen. Bitte überprüfen Sie AccessKeyId/SecretAccessKey und versuchen Sie es erneut.",
|
|
43
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.",
|
|
@@ -73,6 +75,10 @@
|
|
|
73
75
|
},
|
|
74
76
|
"unlock": {
|
|
75
77
|
"apikey": {
|
|
78
|
+
"Anthropic": {
|
|
79
|
+
"description": "Geben Sie Ihren Anthropic API-Schlüssel ein, um die Sitzung zu starten. Die Anwendung speichert Ihren API-Schlüssel nicht.",
|
|
80
|
+
"title": "Verwenden Sie einen benutzerdefinierten Anthropic API-Schlüssel"
|
|
81
|
+
},
|
|
76
82
|
"Bedrock": {
|
|
77
83
|
"customRegion": "Benutzerdefinierte Region",
|
|
78
84
|
"description": "Geben Sie Ihre Aws AccessKeyId / SecretAccessKey ein, um die Sitzung zu starten. Die Anwendung speichert Ihre Authentifizierungsinformationen nicht.",
|
|
@@ -31,6 +31,14 @@
|
|
|
31
31
|
"sessionWithName": "Sitzungseinstellungen · {{name}}"
|
|
32
32
|
},
|
|
33
33
|
"llm": {
|
|
34
|
+
"Anthropic": {
|
|
35
|
+
"title": "Anthropic",
|
|
36
|
+
"token": {
|
|
37
|
+
"desc": "Geben Sie den API-Schlüssel von Anthropic ein",
|
|
38
|
+
"placeholder": "Anthropic API-Schlüssel",
|
|
39
|
+
"title": "API-Schlüssel"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
34
42
|
"AzureOpenAI": {
|
|
35
43
|
"azureApiVersion": {
|
|
36
44
|
"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)",
|
package/locales/en-US/error.json
CHANGED
|
@@ -34,10 +34,12 @@
|
|
|
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
36
|
"AgentRuntimeError": "Lobe language model runtime execution error. Please troubleshoot or retry based on the following information.",
|
|
37
|
+
"AnthropicBizError": "Error requesting Anthropic service. Please troubleshoot or retry based on the following information.",
|
|
37
38
|
"AzureBizError": "Error requesting Azure AI service. Please troubleshoot or retry based on the following information.",
|
|
38
39
|
"BedrockBizError": "Error requesting Bedrock service. Please troubleshoot or retry based on the following information.",
|
|
39
40
|
"GoogleBizError": "Error requesting Google service. Please troubleshoot or retry based on the following information.",
|
|
40
41
|
"InvalidAccessCode": "Invalid access code or empty. Please enter the correct access code or add a custom API Key.",
|
|
42
|
+
"InvalidAnthropicAPIKey": "The Anthropic API Key is incorrect or empty. Please check the Anthropic API Key and retry.",
|
|
41
43
|
"InvalidAzureAPIKey": "Azure API Key is incorrect or empty. Please check the Azure API Key and retry.",
|
|
42
44
|
"InvalidBedrockCredentials": "Bedrock authentication failed. Please check the AccessKeyId/SecretAccessKey and retry.",
|
|
43
45
|
"InvalidGoogleAPIKey": "Google API Key is incorrect or empty. Please check the Google API Key and retry.",
|
|
@@ -73,6 +75,10 @@
|
|
|
73
75
|
},
|
|
74
76
|
"unlock": {
|
|
75
77
|
"apikey": {
|
|
78
|
+
"Anthropic": {
|
|
79
|
+
"description": "Enter your Anthropic API Key to start the session. The application will not store your API Key.",
|
|
80
|
+
"title": "Use Custom Anthropic API Key"
|
|
81
|
+
},
|
|
76
82
|
"Bedrock": {
|
|
77
83
|
"customRegion": "Custom service region",
|
|
78
84
|
"description": "Enter your Aws AccessKeyId / SecretAccessKey to start the session. The app will not store your authentication configuration.",
|
|
@@ -31,6 +31,14 @@
|
|
|
31
31
|
"sessionWithName": "Session Settings · {{name}}"
|
|
32
32
|
},
|
|
33
33
|
"llm": {
|
|
34
|
+
"Anthropic": {
|
|
35
|
+
"title": "Anthropic",
|
|
36
|
+
"token": {
|
|
37
|
+
"desc": "Enter the API Key from Anthropic",
|
|
38
|
+
"placeholder": "Anthropic API Key",
|
|
39
|
+
"title": "API Key"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
34
42
|
"AzureOpenAI": {
|
|
35
43
|
"azureApiVersion": {
|
|
36
44
|
"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)",
|
package/locales/es-ES/error.json
CHANGED
|
@@ -34,10 +34,12 @@
|
|
|
34
34
|
"503": "Lo sentimos, el servidor no puede procesar su solicitud en este momento, posiblemente debido a una sobrecarga o mantenimiento. Por favor, inténtelo de nuevo más tarde",
|
|
35
35
|
"504": "Lo sentimos, el servidor no recibió respuesta del servidor upstream. Por favor, inténtelo de nuevo más tarde",
|
|
36
36
|
"AgentRuntimeError": "Se produjo un error en la ejecución del tiempo de ejecución del modelo de lenguaje Lobe, por favor, verifica la siguiente información o inténtalo de nuevo",
|
|
37
|
+
"AnthropicBizError": "Se ha producido un error al solicitar el servicio de inteligencia artificial de Anthropic. Por favor, revisa la siguiente información o inténtalo de nuevo.",
|
|
37
38
|
"AzureBizError": "Se produjo un error al solicitar el servicio de Azure AI, por favor, verifica la siguiente información o inténtalo de nuevo",
|
|
38
39
|
"BedrockBizError": "Se produjo un error al solicitar el servicio de Bedrock, por favor, verifica la siguiente información o inténtalo de nuevo",
|
|
39
40
|
"GoogleBizError": "Se produjo un error al solicitar el servicio de Google, por favor, verifica la siguiente información o inténtalo de nuevo",
|
|
40
41
|
"InvalidAccessCode": "La contraseña no es válida o está vacía. Por favor, introduce una contraseña de acceso válida o añade una clave API personalizada",
|
|
42
|
+
"InvalidAnthropicAPIKey": "La clave de API de Anthropic es incorrecta o está vacía. Por favor, revisa la clave de API de Anthropic e inténtalo de nuevo.",
|
|
41
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",
|
|
42
44
|
"InvalidBedrockCredentials": "La autenticación de Bedrock no se ha completado con éxito, por favor, verifica AccessKeyId/SecretAccessKey e inténtalo de nuevo",
|
|
43
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",
|
|
@@ -73,6 +75,10 @@
|
|
|
73
75
|
},
|
|
74
76
|
"unlock": {
|
|
75
77
|
"apikey": {
|
|
78
|
+
"Anthropic": {
|
|
79
|
+
"description": "Ingresa tu clave de API de Anthropic para comenzar la sesión. La aplicación no almacenará tu clave de API.",
|
|
80
|
+
"title": "Usar una clave de API personalizada de Anthropic"
|
|
81
|
+
},
|
|
76
82
|
"Bedrock": {
|
|
77
83
|
"customRegion": "Región de servicio personalizada",
|
|
78
84
|
"description": "Ingresa tu AccessKeyId/SecretAccessKey de Aws para comenzar la sesión. La aplicación no guardará tu configuración de autenticación",
|
|
@@ -31,6 +31,14 @@
|
|
|
31
31
|
"sessionWithName": "Configuración de la sesión · {{name}}"
|
|
32
32
|
},
|
|
33
33
|
"llm": {
|
|
34
|
+
"Anthropic": {
|
|
35
|
+
"title": "Anthropic",
|
|
36
|
+
"token": {
|
|
37
|
+
"desc": "Introduce la clave API de Anthropic",
|
|
38
|
+
"placeholder": "Clave API de Anthropic",
|
|
39
|
+
"title": "Clave API"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
34
42
|
"AzureOpenAI": {
|
|
35
43
|
"azureApiVersion": {
|
|
36
44
|
"desc": "Versión de la API de Azure, en formato YYYY-MM-DD. Consulta la [última versión](https://learn.microsoft.com/es-es/azure/ai-services/openai/reference#chat-completions)",
|
package/locales/fr-FR/error.json
CHANGED
|
@@ -34,10 +34,12 @@
|
|
|
34
34
|
"503": "Désolé, le serveur ne peut actuellement pas traiter votre requête, probablement en raison d'une surcharge ou de travaux de maintenance. Veuillez réessayer plus tard",
|
|
35
35
|
"504": "Désolé, le serveur n'a pas reçu de réponse de la part du serveur amont. Veuillez réessayer plus tard",
|
|
36
36
|
"AgentRuntimeError": "Erreur d'exécution du modèle linguistique Lobe, veuillez vérifier les informations ci-dessous ou réessayer",
|
|
37
|
+
"AnthropicBizError": "Erreur commerciale lors de la demande de service Anthropic AI. Veuillez vérifier les informations ci-dessous ou réessayer.",
|
|
37
38
|
"AzureBizError": "Erreur lors de la demande de service Azure AI, veuillez vérifier les informations ci-dessous ou réessayer",
|
|
38
39
|
"BedrockBizError": "Erreur lors de la demande de service Bedrock, veuillez vérifier les informations ci-dessous ou réessayer",
|
|
39
40
|
"GoogleBizError": "Erreur lors de la demande de service Google, veuillez vérifier les informations ci-dessous ou réessayer",
|
|
40
41
|
"InvalidAccessCode": "Le mot de passe est incorrect ou vide. Veuillez saisir le mot de passe d'accès correct ou ajouter une clé API personnalisée.",
|
|
42
|
+
"InvalidAnthropicAPIKey": "La clé API Anthropic est incorrecte ou manquante. Veuillez vérifier la clé API Anthropic et réessayer.",
|
|
41
43
|
"InvalidAzureAPIKey": "Clé API Azure incorrecte ou vide, veuillez vérifier la clé API Azure et réessayer",
|
|
42
44
|
"InvalidBedrockCredentials": "L'authentification Bedrock a échoué, veuillez vérifier AccessKeyId/SecretAccessKey et réessayer",
|
|
43
45
|
"InvalidGoogleAPIKey": "Clé API Google incorrecte ou vide, veuillez vérifier la clé API Google et réessayer",
|
|
@@ -73,6 +75,10 @@
|
|
|
73
75
|
},
|
|
74
76
|
"unlock": {
|
|
75
77
|
"apikey": {
|
|
78
|
+
"Anthropic": {
|
|
79
|
+
"description": "Entrez votre clé API Anthropic pour commencer la session. L'application ne stockera pas votre clé API.",
|
|
80
|
+
"title": "Utiliser une clé API Anthropic personnalisée"
|
|
81
|
+
},
|
|
76
82
|
"Bedrock": {
|
|
77
83
|
"customRegion": "Région de service personnalisée",
|
|
78
84
|
"description": "Entrez votre AccessKeyId/SecretAccessKey AWS pour commencer la session. L'application ne conservera pas votre configuration d'authentification",
|
|
@@ -31,6 +31,14 @@
|
|
|
31
31
|
"sessionWithName": "Paramètres de session · {{name}}"
|
|
32
32
|
},
|
|
33
33
|
"llm": {
|
|
34
|
+
"Anthropic": {
|
|
35
|
+
"title": "Anthropic",
|
|
36
|
+
"token": {
|
|
37
|
+
"desc": "Entrez votre clé API Anthropic",
|
|
38
|
+
"placeholder": "Clé API Anthropic",
|
|
39
|
+
"title": "Clé API"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
34
42
|
"AzureOpenAI": {
|
|
35
43
|
"azureApiVersion": {
|
|
36
44
|
"desc": "Version de l'API Azure, au format YYYY-MM-DD. Consultez la [dernière version](https://learn.microsoft.com/fr-fr/azure/ai-services/openai/reference#chat-completions)",
|
package/locales/it-IT/error.json
CHANGED
|
@@ -34,10 +34,12 @@
|
|
|
34
34
|
"503": "Spiacenti, il server non può elaborare la tua richiesta al momento, probabilmente a causa di sovraccarico o manutenzione in corso. Riprova più tardi",
|
|
35
35
|
"504": "Spiacenti, il server non ha ricevuto risposta dal server upstream. Riprova più tardi",
|
|
36
36
|
"AgentRuntimeError": "Errore di esecuzione del modello linguistico Lobe, controlla le informazioni seguenti o riprova",
|
|
37
|
+
"AnthropicBizError": "Si è verificato un errore durante la richiesta del servizio Anthropic AI. Si prega di controllare le informazioni seguenti o riprovare.",
|
|
37
38
|
"AzureBizError": "Errore nella richiesta del servizio Azure AI, controlla le informazioni seguenti o riprova",
|
|
38
39
|
"BedrockBizError": "Errore nella richiesta del servizio Bedrock, controlla le informazioni seguenti o riprova",
|
|
39
40
|
"GoogleBizError": "Errore nella richiesta del servizio Google, controlla le informazioni seguenti o riprova",
|
|
40
41
|
"InvalidAccessCode": "Password incorrect or empty, please enter the correct access password, or add a custom API Key",
|
|
42
|
+
"InvalidAnthropicAPIKey": "La chiave API Anthropic non è valida o è vuota. Si prega di controllare la chiave API Anthropic e riprovare.",
|
|
41
43
|
"InvalidAzureAPIKey": "Chiave API Azure non corretta o vuota, controlla la chiave API Azure e riprova",
|
|
42
44
|
"InvalidBedrockCredentials": "Autenticazione Bedrock non riuscita, controlla AccessKeyId/SecretAccessKey e riprova",
|
|
43
45
|
"InvalidGoogleAPIKey": "Chiave API Google non corretta o vuota, controlla la chiave API Google e riprova",
|
|
@@ -73,6 +75,10 @@
|
|
|
73
75
|
},
|
|
74
76
|
"unlock": {
|
|
75
77
|
"apikey": {
|
|
78
|
+
"Anthropic": {
|
|
79
|
+
"description": "Inserisci la tua chiave API Anthropic per avviare la sessione. L'applicazione non memorizzerà la tua chiave API.",
|
|
80
|
+
"title": "Utilizza una chiave API Anthropic personalizzata"
|
|
81
|
+
},
|
|
76
82
|
"Bedrock": {
|
|
77
83
|
"customRegion": "Regione del servizio personalizzata",
|
|
78
84
|
"description": "Inserisci il tuo Aws AccessKeyId / SecretAccessKey per iniziare la sessione. L'applicazione non memorizzerà la tua configurazione di autenticazione",
|
|
@@ -31,6 +31,14 @@
|
|
|
31
31
|
"sessionWithName": "Impostazioni della sessione · {{name}}"
|
|
32
32
|
},
|
|
33
33
|
"llm": {
|
|
34
|
+
"Anthropic": {
|
|
35
|
+
"title": "Anthropic",
|
|
36
|
+
"token": {
|
|
37
|
+
"desc": "Inserisci la chiave API di Anthropic",
|
|
38
|
+
"placeholder": "Chiave API di Anthropic",
|
|
39
|
+
"title": "Chiave API"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
34
42
|
"AzureOpenAI": {
|
|
35
43
|
"azureApiVersion": {
|
|
36
44
|
"desc": "Versione dell'API di Azure, nel formato YYYY-MM-DD, consulta la [versione più recente](https://learn.microsoft.com/it-it/azure/ai-services/openai/reference#chat-completions)",
|
package/locales/ja-JP/error.json
CHANGED
|
@@ -34,10 +34,12 @@
|
|
|
34
34
|
"503": "申し訳ありませんが、サーバーは現在、リクエストを処理できません。オーバーロードまたはメンテナンス中の可能性があります。しばらくしてから再試行してください",
|
|
35
35
|
"504": "申し訳ありませんが、サーバーは上位サーバーからの応答を待っていません。しばらくしてから再試行してください",
|
|
36
36
|
"AgentRuntimeError": "Lobe言語モデルの実行時にエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、再試行してください。",
|
|
37
|
+
"AnthropicBizError": "Anthropic AIサービスのリクエストでエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、再度お試しください。",
|
|
37
38
|
"AzureBizError": "Azure AIサービスのリクエストでエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、再試行してください。",
|
|
38
39
|
"BedrockBizError": "Bedrockサービスのリクエストでエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、再試行してください。",
|
|
39
40
|
"GoogleBizError": "Googleサービスのリクエストでエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、再試行してください。",
|
|
40
41
|
"InvalidAccessCode": "パスワードが正しくないか空です。正しいアクセスパスワードを入力するか、カスタムAPIキーを追加してください",
|
|
42
|
+
"InvalidAnthropicAPIKey": "Anthropic APIキーが正しくないか空です。Anthropic APIキーを確認してもう一度お試しください。",
|
|
41
43
|
"InvalidAzureAPIKey": "Azure APIキーが正しくないか空です。Azure APIキーを確認してから再試行してください。",
|
|
42
44
|
"InvalidBedrockCredentials": "Bedrockの認証に失敗しました。AccessKeyId/SecretAccessKeyを確認してから再試行してください。",
|
|
43
45
|
"InvalidGoogleAPIKey": "Google APIキーが正しくないか空です。Google APIキーを確認してから再試行してください。",
|
|
@@ -73,6 +75,10 @@
|
|
|
73
75
|
},
|
|
74
76
|
"unlock": {
|
|
75
77
|
"apikey": {
|
|
78
|
+
"Anthropic": {
|
|
79
|
+
"description": "Anthropic APIキーを入力してセッションを開始します。アプリはAPIキーを記録しません。",
|
|
80
|
+
"title": "カスタムAnthropic APIキーを使用"
|
|
81
|
+
},
|
|
76
82
|
"Bedrock": {
|
|
77
83
|
"customRegion": "自定义服务区域",
|
|
78
84
|
"description": "Aws AccessKeyId / SecretAccessKeyを入力してセッションを開始します。アプリは認証構成を記録しません。",
|
|
@@ -31,6 +31,14 @@
|
|
|
31
31
|
"sessionWithName": "セッション設定 · {{name}}"
|
|
32
32
|
},
|
|
33
33
|
"llm": {
|
|
34
|
+
"Anthropic": {
|
|
35
|
+
"title": "Anthropic",
|
|
36
|
+
"token": {
|
|
37
|
+
"desc": "Anthropic の API キーを入力してください",
|
|
38
|
+
"placeholder": "Anthropic API キー",
|
|
39
|
+
"title": "API キー"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
34
42
|
"AzureOpenAI": {
|
|
35
43
|
"azureApiVersion": {
|
|
36
44
|
"desc": "AzureのAPIバージョン。YYYY-MM-DD形式に従う。[最新バージョン](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)を参照",
|