@lobehub/chat 0.122.8 → 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.
- package/.env.example +22 -2
- package/.eslintrc.js +1 -0
- package/CHANGELOG.md +50 -0
- package/README.md +11 -9
- package/README.zh-CN.md +11 -9
- package/docs/Deployment/Environment-Variable.md +65 -23
- package/docs/Deployment/Environment-Variable.zh-CN.md +64 -22
- package/locales/ar/chat.json +12 -1
- package/locales/ar/common.json +16 -0
- package/locales/ar/error.json +35 -6
- package/locales/ar/setting.json +53 -6
- package/locales/de-DE/chat.json +12 -1
- package/locales/de-DE/common.json +16 -0
- package/locales/de-DE/error.json +35 -6
- package/locales/de-DE/setting.json +53 -6
- package/locales/en-US/chat.json +13 -2
- package/locales/en-US/common.json +16 -0
- package/locales/en-US/error.json +35 -6
- package/locales/en-US/setting.json +53 -6
- package/locales/es-ES/chat.json +12 -1
- package/locales/es-ES/common.json +16 -0
- package/locales/es-ES/error.json +35 -6
- package/locales/es-ES/setting.json +53 -6
- package/locales/fr-FR/chat.json +13 -2
- package/locales/fr-FR/common.json +16 -0
- package/locales/fr-FR/error.json +35 -6
- package/locales/fr-FR/setting.json +53 -6
- package/locales/it-IT/chat.json +12 -1
- package/locales/it-IT/common.json +16 -0
- package/locales/it-IT/error.json +35 -6
- package/locales/it-IT/setting.json +53 -6
- package/locales/ja-JP/chat.json +12 -1
- package/locales/ja-JP/common.json +16 -0
- package/locales/ja-JP/error.json +35 -6
- package/locales/ja-JP/setting.json +53 -6
- package/locales/ko-KR/chat.json +12 -1
- package/locales/ko-KR/common.json +16 -0
- package/locales/ko-KR/error.json +35 -6
- package/locales/ko-KR/setting.json +53 -6
- package/locales/nl-NL/chat.json +12 -1
- package/locales/nl-NL/common.json +16 -0
- package/locales/nl-NL/error.json +35 -6
- package/locales/nl-NL/setting.json +53 -6
- package/locales/pl-PL/chat.json +12 -1
- package/locales/pl-PL/common.json +16 -0
- package/locales/pl-PL/error.json +35 -6
- package/locales/pl-PL/setting.json +53 -6
- package/locales/pt-BR/chat.json +12 -1
- package/locales/pt-BR/common.json +16 -0
- package/locales/pt-BR/error.json +35 -6
- package/locales/pt-BR/setting.json +53 -6
- package/locales/ru-RU/chat.json +12 -1
- package/locales/ru-RU/common.json +16 -0
- package/locales/ru-RU/error.json +35 -6
- package/locales/ru-RU/setting.json +53 -6
- package/locales/tr-TR/chat.json +12 -1
- package/locales/tr-TR/common.json +16 -0
- package/locales/tr-TR/error.json +35 -6
- package/locales/tr-TR/setting.json +53 -6
- package/locales/vi-VN/chat.json +12 -1
- package/locales/vi-VN/common.json +16 -0
- package/locales/vi-VN/error.json +35 -6
- package/locales/vi-VN/setting.json +53 -6
- package/locales/zh-CN/chat.json +12 -1
- package/locales/zh-CN/common.json +16 -0
- package/locales/zh-CN/error.json +34 -5
- package/locales/zh-CN/setting.json +59 -12
- package/locales/zh-TW/chat.json +12 -1
- package/locales/zh-TW/common.json +16 -0
- package/locales/zh-TW/error.json +35 -6
- package/locales/zh-TW/setting.json +53 -6
- package/next.config.mjs +8 -2
- package/package.json +8 -1
- package/src/app/api/chat/[provider]/agentRuntime.ts +129 -0
- package/src/app/api/chat/[provider]/route.ts +64 -0
- package/src/app/api/chat/auth.ts +42 -0
- package/src/app/api/chat/google/route.ts +86 -0
- package/src/app/api/config/route.ts +6 -1
- package/src/app/api/config.ts +3 -3
- package/src/app/api/errorResponse.test.ts +8 -8
- package/src/app/api/errorResponse.ts +43 -6
- package/src/app/api/openai/createBizOpenAI/createAzureOpenai.ts +1 -1
- package/src/app/api/openai/createBizOpenAI/createOpenai.ts +1 -1
- package/src/app/api/openai/createBizOpenAI/index.ts +2 -2
- package/src/app/chat/(desktop)/features/ChatHeader.tsx +6 -4
- package/src/app/chat/(desktop)/features/ChatInput/Footer/index.tsx +13 -3
- package/src/app/chat/(desktop)/features/ChatInput/Header/index.tsx +16 -24
- package/src/app/chat/(desktop)/features/SideBar/index.tsx +1 -0
- package/src/app/chat/features/ChatHeader/ShareButton/Preview.tsx +3 -3
- package/src/app/chat/features/SessionListContent/List/Item/index.tsx +2 -3
- package/src/app/settings/llm/Azure/index.tsx +145 -0
- package/src/app/settings/llm/Bedrock/index.tsx +109 -0
- package/src/app/settings/llm/{LLM/Checker.tsx → Checker.tsx} +20 -22
- package/src/app/settings/llm/Google/index.tsx +74 -0
- package/src/app/settings/llm/{LLM → OpenAI}/index.tsx +27 -45
- package/src/app/settings/llm/Zhipu/index.tsx +78 -0
- package/src/app/settings/llm/const.ts +13 -0
- package/src/app/settings/llm/page.tsx +42 -2
- package/src/app/settings/llm/useSyncSettings.ts +23 -0
- package/src/chains/__tests__/langDetect.test.ts +2 -2
- package/src/chains/__tests__/pickEmoji.test.ts +2 -2
- package/src/chains/langDetect.ts +2 -2
- package/src/chains/pickEmoji.ts +2 -2
- package/src/chains/summaryAgentName.ts +2 -2
- package/src/chains/summaryDescription.ts +2 -2
- package/src/chains/summaryTags.ts +2 -2
- package/src/chains/summaryTitle.ts +2 -2
- package/src/chains/translate.ts +2 -2
- package/src/components/ModelIcon/index.tsx +37 -0
- package/src/components/ModelProviderIcon/index.tsx +44 -0
- package/src/components/ModelSelect/index.tsx +133 -0
- package/src/components/ModelTag/ModelIcon.tsx +35 -0
- package/src/components/ModelTag/index.tsx +13 -0
- package/src/config/modelProviders/bedrock.ts +43 -0
- package/src/config/modelProviders/google.ts +20 -0
- package/src/config/modelProviders/index.ts +18 -0
- package/src/config/modelProviders/openai.ts +102 -0
- package/src/config/modelProviders/zhipu.ts +34 -0
- package/src/config/{server.ts → server/app.ts} +1 -24
- package/src/config/server/index.ts +13 -0
- package/src/config/server/provider.ts +78 -0
- package/src/const/auth.ts +30 -0
- package/src/const/fetch.ts +3 -0
- package/src/const/settings.ts +24 -4
- package/src/database/core/migrations/migrateSettingsToUser/index.test.ts +2 -1
- package/src/database/core/migrations/migrateSettingsToUser/index.ts +1 -18
- package/src/database/core/migrations/migrateSettingsToUser/type.ts +100 -0
- package/src/database/models/message.ts +3 -1
- package/src/database/schemas/message.ts +1 -0
- package/src/database/schemas/session.ts +1 -0
- package/src/features/AgentSetting/AgentConfig/ModelSelect.tsx +71 -0
- package/src/features/AgentSetting/AgentConfig/index.tsx +171 -161
- package/src/features/AgentSetting/AgentConfig/useSyncConfig.ts +23 -0
- package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +39 -0
- package/src/features/AgentSetting/AgentPrompt/index.tsx +4 -26
- package/src/features/AgentSetting/store/index.ts +10 -2
- package/src/features/ChatInput/ActionBar/FileUpload.tsx +11 -4
- package/src/features/ChatInput/ActionBar/ModelSwitch.tsx +56 -14
- package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +42 -7
- package/src/features/ChatInput/ActionBar/Token/index.tsx +5 -2
- package/src/features/ChatInput/ActionBar/Tools/index.tsx +11 -1
- package/src/features/ChatInput/useChatInput.ts +5 -1
- package/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx +80 -0
- package/src/features/Conversation/Error/APIKeyForm/Google.tsx +61 -0
- package/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx +63 -0
- package/src/features/Conversation/Error/APIKeyForm/Zhipu.tsx +62 -0
- package/src/features/Conversation/Error/APIKeyForm/index.tsx +72 -0
- package/src/features/Conversation/Error/AccessCodeForm.tsx +63 -0
- package/src/features/Conversation/Error/ErrorJsonViewer.tsx +26 -0
- package/src/features/Conversation/Error/InvalidAPIKey.tsx +16 -0
- package/src/features/Conversation/Error/InvalidAccessCode.tsx +50 -0
- package/src/features/Conversation/Error/OpenAiBizError.tsx +9 -17
- package/src/features/Conversation/Error/{Plugin/PluginSettings.tsx → PluginSettings.tsx} +8 -3
- package/src/features/Conversation/Error/index.tsx +75 -70
- package/src/features/Conversation/Error/style.tsx +9 -3
- package/src/features/Conversation/Extras/Assistant.tsx +2 -3
- package/src/features/Conversation/Plugins/Inspector/index.tsx +8 -2
- package/src/features/Conversation/components/ChatItem/index.tsx +9 -24
- package/src/features/Conversation/types/index.tsx +2 -5
- package/src/hooks/_header.ts +35 -0
- package/src/libs/agent-runtime/BaseAI.ts +9 -0
- package/src/libs/agent-runtime/azureOpenai/index.ts +72 -0
- package/src/libs/agent-runtime/bedrock/index.ts +134 -0
- package/src/libs/agent-runtime/error.ts +26 -0
- package/src/libs/agent-runtime/google/index.ts +160 -0
- package/src/libs/agent-runtime/index.ts +9 -0
- package/src/libs/agent-runtime/openai/index.test.ts +176 -0
- package/src/libs/agent-runtime/openai/index.ts +107 -0
- package/src/libs/agent-runtime/types/chat.ts +119 -0
- package/src/libs/agent-runtime/types/index.ts +2 -0
- package/src/libs/agent-runtime/types/type.ts +34 -0
- package/src/libs/agent-runtime/utils/createError.ts +10 -0
- package/src/libs/agent-runtime/utils/debugStream.ts +18 -0
- package/src/libs/agent-runtime/utils/env.ts +1 -0
- package/src/libs/agent-runtime/utils/handleOpenAIError.ts +39 -0
- package/src/libs/agent-runtime/utils/uriParser.ts +16 -0
- package/src/libs/agent-runtime/zhipu/authToken.ts +22 -0
- package/src/libs/agent-runtime/zhipu/index.ts +125 -0
- package/src/locales/default/chat.ts +12 -2
- package/src/locales/default/common.ts +16 -0
- package/src/locales/default/error.ts +42 -5
- package/src/locales/default/setting.ts +61 -12
- package/src/services/__tests__/chat.test.ts +8 -2
- package/src/services/__tests__/message.test.ts +1 -1
- package/src/services/_auth.ts +106 -0
- package/src/services/_header.ts +1 -0
- package/src/services/_url.ts +0 -2
- package/src/services/chat.ts +32 -14
- package/src/store/chat/slices/message/action.ts +9 -6
- package/src/store/global/slices/common/action.ts +8 -2
- package/src/store/global/slices/settings/action.test.ts +2 -2
- package/src/store/global/slices/settings/action.ts +11 -4
- package/src/store/global/slices/settings/selectors/__snapshots__/modelProvider.test.ts.snap +242 -78
- package/src/store/global/slices/settings/selectors/__snapshots__/selectors.test.ts.snap +2 -0
- package/src/store/global/slices/settings/selectors/modelProvider.test.ts +171 -47
- package/src/store/global/slices/settings/selectors/modelProvider.ts +136 -43
- package/src/store/session/slices/agent/selectors.test.ts +0 -48
- package/src/store/session/slices/agent/selectors.ts +7 -12
- package/src/types/agent/index.ts +6 -2
- package/src/types/fetch.ts +4 -2
- package/src/types/files.ts +3 -3
- package/src/types/llm.ts +27 -0
- package/src/types/message/index.ts +7 -3
- package/src/types/openai/chat.ts +6 -11
- package/src/types/settings/index.ts +1 -0
- package/src/types/settings/modelProvider.ts +37 -1
- package/src/utils/__snapshots__/parseModels.test.ts.snap +63 -0
- package/src/utils/parseModels.test.ts +24 -0
- package/src/utils/parseModels.ts +37 -0
- package/src/app/api/openai/chat/createChatCompletion.test.ts +0 -166
- package/src/app/api/openai/chat/createChatCompletion.ts +0 -76
- package/src/app/api/openai/chat/route.ts +0 -19
- package/src/app/api/openai/models/route.ts +0 -17
- package/src/app/settings/llm/LLM/ModelList.tsx +0 -51
- package/src/app/settings/llm/LLM/getModelList.ts +0 -9
- package/src/app/settings/llm/index.tsx +0 -36
- package/src/const/llm.ts +0 -32
- package/src/features/Conversation/Error/ApiKeyForm.tsx +0 -87
- package/src/features/Conversation/Error/ErrorActionContainer.tsx +0 -23
- package/src/features/Conversation/Error/InvalidAccess.tsx +0 -90
- package/src/features/Conversation/Error/OpenAPIKey.tsx +0 -13
- package/src/features/Conversation/Error/Plugin/PluginError.tsx +0 -30
- package/src/services/modelList.ts +0 -15
- /package/src/app/chat/(desktop)/features/ChatInput/{Header → Footer}/DragUpload.tsx +0 -0
- /package/src/{app/api/openai/chat → libs/agent-runtime/utils}/desensitizeUrl.test.ts +0 -0
- /package/src/{app/api/openai/chat → libs/agent-runtime/utils}/desensitizeUrl.ts +0 -0
- /package/src/types/{translate.ts → message/translate.ts} +0 -0
package/.env.example
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# add a access code to lock your lobe-chat application,
|
|
2
|
-
ACCESS_CODE=lobe66
|
|
1
|
+
# add a access code to lock your lobe-chat application, you can set a long password to avoid leaking. If this value contains a comma, it is a password array.
|
|
2
|
+
#ACCESS_CODE=lobe66
|
|
3
3
|
|
|
4
4
|
# add your custom model name, multi model separate by comma. for example gpt-3.5-1106,gpt-4-1106
|
|
5
5
|
# CUSTOM_MODELS=model1,model2,model3
|
|
@@ -33,6 +33,26 @@ OPENAI_API_KEY=sk-xxxxxxxxx
|
|
|
33
33
|
# Azure's API version, follows the YYYY-MM-DD format
|
|
34
34
|
# AZURE_API_VERSION=2023-08-01-preview
|
|
35
35
|
|
|
36
|
+
########################################
|
|
37
|
+
############ ZhiPu AI Service ##########
|
|
38
|
+
########################################
|
|
39
|
+
|
|
40
|
+
#ZHIPU_API_KEY=xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxx
|
|
41
|
+
|
|
42
|
+
########################################
|
|
43
|
+
############ Google AI Service ##########
|
|
44
|
+
########################################
|
|
45
|
+
|
|
46
|
+
#GOOGLE_API_KEY=xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxx
|
|
47
|
+
|
|
48
|
+
########################################
|
|
49
|
+
############ AWS Bedrock Service ##########
|
|
50
|
+
########################################
|
|
51
|
+
|
|
52
|
+
#AWS_REGION=us-east-1
|
|
53
|
+
#AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxx
|
|
54
|
+
#AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
55
|
+
|
|
36
56
|
########################################
|
|
37
57
|
############ Market Service ############
|
|
38
58
|
########################################
|
package/.eslintrc.js
CHANGED
|
@@ -14,5 +14,6 @@ config.rules['unicorn/no-useless-undefined'] = 0;
|
|
|
14
14
|
config.rules['react/no-unknown-property'] = 0;
|
|
15
15
|
config.rules['unicorn/prefer-ternary'] = 0;
|
|
16
16
|
config.rules['unicorn/prefer-spread'] = 0;
|
|
17
|
+
config.rules['unicorn/catch-error-name'] = 0;
|
|
17
18
|
|
|
18
19
|
module.exports = config;
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 0.123.0](https://github.com/lobehub/lobe-chat/compare/v0.122.9...v0.123.0)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-02-05**</sup>
|
|
8
|
+
|
|
9
|
+
#### ✨ Features
|
|
10
|
+
|
|
11
|
+
- **misc**: Support Google / Zhipu / AWS Bedrock model providers.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's improved
|
|
19
|
+
|
|
20
|
+
- **misc**: Support Google / Zhipu / AWS Bedrock model providers, closes [#1173](https://github.com/lobehub/lobe-chat/issues/1173) ([d5929f6](https://github.com/lobehub/lobe-chat/commit/d5929f6))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 0.122.9](https://github.com/lobehub/lobe-chat/compare/v0.122.8...v0.122.9)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2024-02-05**</sup>
|
|
33
|
+
|
|
34
|
+
#### 💄 Styles
|
|
35
|
+
|
|
36
|
+
- **settings**: Improve LLM connection checker style.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### Styles
|
|
44
|
+
|
|
45
|
+
- **settings**: Improve LLM connection checker style, closes [#1222](https://github.com/lobehub/lobe-chat/issues/1222) ([8c349a1](https://github.com/lobehub/lobe-chat/commit/8c349a1))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
### [Version 0.122.8](https://github.com/lobehub/lobe-chat/compare/v0.122.7...v0.122.8)
|
|
6
56
|
|
|
7
57
|
<sup>Released on **2024-02-03**</sup>
|
package/README.md
CHANGED
|
@@ -188,12 +188,12 @@ e-commerce platform data access, and various third-party services.
|
|
|
188
188
|
|
|
189
189
|
| Recent Submits | Description |
|
|
190
190
|
| ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
191
|
+
| [Charts & Diagrams](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **pyxl** on **2024-02-05**</sup> | Mermaid Diagrams, Schemes for Presentations, Analysis, research websites, pie charts.<br/>`chart` `diagram` |
|
|
191
192
|
| [Social Search](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **say-apps** on **2024-02-02**</sup> | The Social Search provides access to tweets, users, followers, images, media and more.<br/>`social` `twitter` `x` `search` |
|
|
192
193
|
| [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` |
|
|
193
194
|
| [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` |
|
|
194
|
-
| [Steam](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-27**</sup> | Obtain game information and user reviews from Steam.<br/>`steam` `game` |
|
|
195
195
|
|
|
196
|
-
> 📊 Total plugins: [<kbd>**
|
|
196
|
+
> 📊 Total plugins: [<kbd>**62**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
197
197
|
|
|
198
198
|
<!-- PLUGIN LIST -->
|
|
199
199
|
|
|
@@ -225,14 +225,16 @@ Our marketplace is not just a showcase platform but also a collaborative space.
|
|
|
225
225
|
|
|
226
226
|
<!-- AGENT LIST -->
|
|
227
227
|
|
|
228
|
-
| Recent Submits
|
|
229
|
-
|
|
|
230
|
-
| [
|
|
231
|
-
|
|
|
232
|
-
|
|
|
233
|
-
| [
|
|
228
|
+
| Recent Submits | Description |
|
|
229
|
+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
230
|
+
| [Database Expert](https://chat-preview.lobehub.com/market?agent=dba)<br/><sup>By **[xuzhen1994](https://github.com/xuzhen1994)** on **2024-02-03**</sup> | Role: Database Expert |
|
|
231
|
+
| Expertise: Possesses professional knowledge in the field of databases. Understands the working principles, advantages and disadvantages, applicable scenarios, and best practices of relational databases such as MySQL, PostgreSQL, Oracle, etc. Also familiar with the characteristics and usage scenarios of non-relational databases like MongoDB, Cassandra, Redis, as well as the advantages and applicable situations of columnar databases such as ClickHouse, Vertica, etc. Additionally, has knowledge of distributed database systems like Doris, HBase, CockroachDB, including their principles and applications. | |
|
|
232
|
+
| Responsibilities: Provides professional advice on database design paradigms, index optimization, query performance tuning, data security, backup and recovery, and advanced topics such as database cluster deployment, disaster recovery design, and data migration.<br/>`database` `dba` `mysql` `clickhouse` `doris` `mongo-db` `oracle` | |
|
|
233
|
+
| [Presentation Wizard](https://chat-preview.lobehub.com/market?agent=word)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-02-03**</sup> | App Presentation Maker Bot for Word: Assists in creating impressive and professional app presentations in Microsoft Word.<br/>`app-presentation` `microsoft-word` `bot` `assistance` `template` |
|
|
234
|
+
| [SagePathfinder](https://chat-preview.lobehub.com/market?agent=sage-pathfinder)<br/><sup>By **[Ajasra](https://github.com/Ajasra)** on **2024-01-31**</sup> | Expert in personal growth coaching with a focus on stoicism, deep reflection, and strategic questioning.<br/>`personal-growth` `coaching` `reflection` `goal-setting` `well-being` |
|
|
235
|
+
| [Variable Naming Master](https://chat-preview.lobehub.com/market?agent=variable-naming-assistant)<br/><sup>By **[undefinedZNN](https://github.com/undefinedZNN)** on **2024-01-31**</sup> | Master the art of programming variable naming, providing multiple suggestions and explaining their usage scenarios.<br/>`variable-naming` `programming` `suggestions` |
|
|
234
236
|
|
|
235
|
-
> 📊 Total agents: [<kbd>**
|
|
237
|
+
> 📊 Total agents: [<kbd>**149**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
236
238
|
|
|
237
239
|
<!-- AGENT LIST -->
|
|
238
240
|
|
package/README.zh-CN.md
CHANGED
|
@@ -172,12 +172,12 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
172
172
|
|
|
173
173
|
| 最近新增 | 插件描述 |
|
|
174
174
|
| ----------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
175
|
+
| [图表和图示](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **pyxl** on **2024-02-05**</sup> | 美人鱼图表,演示文稿方案,分析,研究网站,饼图。<br/>`图表` `图示` |
|
|
175
176
|
| [社交搜索](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **say-apps** on **2024-02-02**</sup> | 社交搜索提供访问推文、用户、关注者、图片、媒体等功能。<br/>`社交` `推特` `x` `搜索` |
|
|
176
177
|
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **feednews** on **2024-01-27**</sup> | 获取实时加密货币价格,BTC,ETH,BNB 和最新见解。最新的币新闻和空投机会。<br/>`加密货币` `btc` `eth` `bnb` |
|
|
177
178
|
| [哔哩哔哩](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-27**</sup> | 通过关键词视频搜索、回放访问、互动弹幕、热门视频推荐和热搜洞察等功能,深入体验哔哩哔哩丰富的内容,尽在您的指尖。<br/>`视频` `哔哩哔哩` `搜索` |
|
|
178
|
-
| [Steam](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-27**</sup> | 从 Steam 获取游戏信息和用户评论。<br/>`steam` `game` |
|
|
179
179
|
|
|
180
|
-
> 📊 Total plugins: [<kbd>**
|
|
180
|
+
> 📊 Total plugins: [<kbd>**62**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
181
181
|
|
|
182
182
|
<!-- PLUGIN LIST -->
|
|
183
183
|
|
|
@@ -205,14 +205,16 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
205
205
|
|
|
206
206
|
<!-- AGENT LIST -->
|
|
207
207
|
|
|
208
|
-
| 最近新增
|
|
209
|
-
|
|
|
210
|
-
| [
|
|
211
|
-
|
|
|
212
|
-
|
|
|
213
|
-
| [
|
|
208
|
+
| 最近新增 | 助手说明 |
|
|
209
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
210
|
+
| [数据库专家](https://chat-preview.lobehub.com/market?agent=dba)<br/><sup>By **[xuzhen1994](https://github.com/xuzhen1994)** on **2024-02-03**</sup> | 角色:数据库专家 |
|
|
211
|
+
| 专长:具备数据库方面的专业知识。关系型数据库,比如 MySQL、PostgreSQL、Oracle 等的工作原理、优缺点、适用场景以及最佳实践。非关系型数据库,比如 MongoDB、Cassandra、Redis 等的特点和使用场景。列式数据库,例如 ClickHouse、Vertica 等的优势和适用情况。分布式数据库系统,例如 Doris、HBase、CockroachDB 等的原理和应用等。 | |
|
|
212
|
+
| 职责:提供关于数据库设计范式、索引优化、查询性能调优、数据安全、备份与恢复等方面的专业建议。另外还有对于数据库集群部署、容灾设计、数据迁移等高级主题的指导。<br/>`数据库` `dba` `mysql` `clickhouse` `doris` `mongo-db` `oracle` | |
|
|
213
|
+
| [演示向导](https://chat-preview.lobehub.com/market?agent=word)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-02-03**</sup> | Word 应用演示制作机器人:帮助在 Microsoft Word 中创建令人印象深刻和专业的应用程序演示。<br/>`应用程序演示` `微软-word` `机器人` `辅助` `模板` |
|
|
214
|
+
| [SagePathfinder](https://chat-preview.lobehub.com/market?agent=sage-pathfinder)<br/><sup>By **[Ajasra](https://github.com/Ajasra)** on **2024-01-31**</sup> | 专注于斯多葛主义、深度反思和战略性提问的个人成长教练专家。<br/>`个人成长` `教练` `反思` `目标设定` `幸福感` |
|
|
215
|
+
| [变量命名大师](https://chat-preview.lobehub.com/market?agent=variable-naming-assistant)<br/><sup>By **[undefinedZNN](https://github.com/undefinedZNN)** on **2024-01-31**</sup> | 精通编程变量命名,提供多个建议并解释使用场景。<br/>`变量命名` `编程` `建议` |
|
|
214
216
|
|
|
215
|
-
> 📊 Total agents: [<kbd>**
|
|
217
|
+
> 📊 Total agents: [<kbd>**149**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
216
218
|
|
|
217
219
|
<!-- AGENT LIST -->
|
|
218
220
|
|
|
@@ -6,14 +6,13 @@ LobeChat provides additional configuration options during deployment, which can
|
|
|
6
6
|
|
|
7
7
|
- [General Variables](#general-variables)
|
|
8
8
|
- [`ACCESS_CODE`](#access_code)
|
|
9
|
+
- [Model Service Providers](#model-service-providers)
|
|
10
|
+
- [OpenAI](#openai)
|
|
9
11
|
- [`CUSTOM_MODELS`](#custom_models)
|
|
10
|
-
- [OpenAI](#openai)
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
- [`USE_AZURE_OPENAI`](#use_azure_openai)
|
|
15
|
-
- [`AZURE_API_KEY`](#azure_api_key)
|
|
16
|
-
- [`AZURE_API_VERSION`](#azure_api_version)
|
|
12
|
+
- [Azure OpenAI](#azure-openai)
|
|
13
|
+
- [Zhipu AI](#zhipu-ai)
|
|
14
|
+
- [Google AI](#google-ai)
|
|
15
|
+
- [AWS Bedrock](#aws-bedrock)
|
|
17
16
|
- [Plugin Service](#plugin-service)
|
|
18
17
|
- [`PLUGINS_INDEX_URL`](#plugins_index_url)
|
|
19
18
|
- [`PLUGIN_SETTINGS`](#plugin_settings)
|
|
@@ -28,29 +27,22 @@ LobeChat provides additional configuration options during deployment, which can
|
|
|
28
27
|
### `ACCESS_CODE`
|
|
29
28
|
|
|
30
29
|
- Type: Optional
|
|
31
|
-
- Description: Add a password to access the LobeChat service
|
|
30
|
+
- Description: Add a password to access the LobeChat service; you can set a long password to avoid leaking. If this value contains a comma, it is a password array.
|
|
32
31
|
- Default: `-`
|
|
33
32
|
- Example: `awCTe)re_r74` or `rtrt_ewee3@09!` or `code1,code2,code3`
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
## Model Service Providers
|
|
36
35
|
|
|
37
|
-
|
|
38
|
-
- Description: Used to control the model list. Use `+` to add a model, `-` to hide a model, and `model_name=display_name` to customize the display name of a model, separated by commas.
|
|
39
|
-
- Default: `-`
|
|
40
|
-
- Example: `+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
|
|
36
|
+
### OpenAI
|
|
41
37
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
## OpenAI
|
|
45
|
-
|
|
46
|
-
### `OPENAI_API_KEY`
|
|
38
|
+
#### `OPENAI_API_KEY`
|
|
47
39
|
|
|
48
40
|
- Type: Required
|
|
49
41
|
- Description: This is the API key you apply for on the OpenAI account page, you can go [here][openai-api-page] to view
|
|
50
42
|
- Default: `-`
|
|
51
43
|
- Example: `sk-xxxxxx...xxxxxx`
|
|
52
44
|
|
|
53
|
-
|
|
45
|
+
#### `OPENAI_PROXY_URL`
|
|
54
46
|
|
|
55
47
|
- Type: Optional
|
|
56
48
|
- Description: If you manually configure the OpenAI interface proxy, you can use this configuration item to override the default OpenAI API request base URL
|
|
@@ -70,25 +62,34 @@ Related discussions:
|
|
|
70
62
|
- [Reasons for errors when using third-party interfaces](https://github.com/lobehub/lobe-chat/discussions/734)
|
|
71
63
|
- [No response when filling in the proxy server address for chatting](https://github.com/lobehub/lobe-chat/discussions/1065)
|
|
72
64
|
|
|
73
|
-
|
|
65
|
+
### `CUSTOM_MODELS`
|
|
66
|
+
|
|
67
|
+
- Type: Optional
|
|
68
|
+
- Description: Used to control the model list. Use `+` to add a model, `-` to hide a model, and `model_name=display_name` to customize the display name of a model, separated by commas.
|
|
69
|
+
- Default: `-`
|
|
70
|
+
- Example: `+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
|
|
71
|
+
|
|
72
|
+
The above example adds `qwen-7b-chat` and `glm-6b` to the model list, removes `gpt-3.5-turbo` from the list, and displays the model name `gpt-4-0125-preview` as `gpt-4-turbo`. If you want to disable all models first and then enable specific models, you can use `-all,+gpt-3.5-turbo`, which means only `gpt-3.5-turbo` will be enabled.
|
|
73
|
+
|
|
74
|
+
### Azure OpenAI
|
|
74
75
|
|
|
75
76
|
If you need to use Azure OpenAI to provide model services, you can refer to the [Deploy with Azure OpenAI](Deploy-with-Azure-OpenAI.zh-CN.md) section for detailed steps. Here are the environment variables related to Azure OpenAI.
|
|
76
77
|
|
|
77
|
-
|
|
78
|
+
#### `USE_AZURE_OPENAI`
|
|
78
79
|
|
|
79
80
|
- Type: Optional
|
|
80
81
|
- Description: Set this value to `1` to enable Azure OpenAI configuration
|
|
81
82
|
- Default: `-`
|
|
82
83
|
- Example: `1`
|
|
83
84
|
|
|
84
|
-
|
|
85
|
+
#### `AZURE_API_KEY`
|
|
85
86
|
|
|
86
87
|
- Type: Optional
|
|
87
88
|
- Description: This is the API key you apply for on the Azure OpenAI account page
|
|
88
89
|
- Default: `-`
|
|
89
90
|
- Example: `c55168be3874490ef0565d9779ecd5a6`
|
|
90
91
|
|
|
91
|
-
|
|
92
|
+
#### `AZURE_API_VERSION`
|
|
92
93
|
|
|
93
94
|
- Type: Optional
|
|
94
95
|
- Description: Azure's API version, following the YYYY-MM-DD format
|
|
@@ -97,6 +98,47 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
|
|
|
97
98
|
|
|
98
99
|
<br/>
|
|
99
100
|
|
|
101
|
+
### Zhipu AI
|
|
102
|
+
|
|
103
|
+
#### `ZHIPU_API_KEY`
|
|
104
|
+
|
|
105
|
+
- Type: Required
|
|
106
|
+
- Description: This is the API key you applied for in the Zhipu AI service
|
|
107
|
+
- Default Value: -
|
|
108
|
+
- Example: `4582d332441a313f5c2ed9824d1798ca.rC8EcTAhgbOuAuVT`
|
|
109
|
+
|
|
110
|
+
### Google AI
|
|
111
|
+
|
|
112
|
+
#### `GOOGLE_API_KEY`
|
|
113
|
+
|
|
114
|
+
- Type: Required
|
|
115
|
+
- Description: This is the API key you applied for on Google Cloud Platform, used to access Google AI services
|
|
116
|
+
- Default Value: -
|
|
117
|
+
- Example: `AIraDyDwcw254kwJaGjI9wwaHcdDCS__Vt3xQE`
|
|
118
|
+
|
|
119
|
+
### AWS Bedrock
|
|
120
|
+
|
|
121
|
+
#### `AWS_ACCESS_KEY_ID`
|
|
122
|
+
|
|
123
|
+
- Type: Required
|
|
124
|
+
- Description: The access key ID for AWS service authentication
|
|
125
|
+
- Default Value: -
|
|
126
|
+
- Example: `AKIA5STVRLFSB4S9HWBR`
|
|
127
|
+
|
|
128
|
+
#### `AWS_SECRET_ACCESS_KEY`
|
|
129
|
+
|
|
130
|
+
- Type: Required
|
|
131
|
+
- Description: The secret key for AWS service authentication
|
|
132
|
+
- Default Value: -
|
|
133
|
+
- Example: `Th3vXxLYpuKcv2BARktPSTPxx+jbSiFT6/0w7oEC`
|
|
134
|
+
|
|
135
|
+
#### `AWS_REGION`
|
|
136
|
+
|
|
137
|
+
- Type: Optional
|
|
138
|
+
- Description: The region setting for AWS services
|
|
139
|
+
- Default Value: `us-east-1`
|
|
140
|
+
- Example: `us-east-1`
|
|
141
|
+
|
|
100
142
|
## Plugin Service
|
|
101
143
|
|
|
102
144
|
### `PLUGINS_INDEX_URL`
|
|
@@ -6,14 +6,13 @@ LobeChat 在部署时提供了一些额外的配置项,使用环境变量进
|
|
|
6
6
|
|
|
7
7
|
- [通用变量](#通用变量)
|
|
8
8
|
- [`ACCESS_CODE`](#access_code)
|
|
9
|
+
- [模型服务商](#模型服务商)
|
|
10
|
+
- [OpenAI](#openai)
|
|
9
11
|
- [`CUSTOM_MODELS`](#custom_models)
|
|
10
|
-
- [OpenAI](#openai)
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
- [`USE_AZURE_OPENAI`](#use_azure_openai)
|
|
15
|
-
- [`AZURE_API_KEY`](#azure_api_key)
|
|
16
|
-
- [`AZURE_API_VERSION`](#azure_api_version)
|
|
12
|
+
- [Azure OpenAI](#azure-openai)
|
|
13
|
+
- [智谱 AI](#智谱-ai)
|
|
14
|
+
- [Google AI](#google-ai)
|
|
15
|
+
- [AWS Bedrock](#aws-bedrock)
|
|
17
16
|
- [插件服务](#插件服务)
|
|
18
17
|
- [`PLUGINS_INDEX_URL`](#plugins_index_url)
|
|
19
18
|
- [`PLUGIN_SETTINGS`](#plugin_settings)
|
|
@@ -32,25 +31,18 @@ LobeChat 在部署时提供了一些额外的配置项,使用环境变量进
|
|
|
32
31
|
- 默认值:-
|
|
33
32
|
- 示例:`awCTe)re_r74` or `rtrt_ewee3@09!`
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- 类型:可选
|
|
38
|
-
- 描述:用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名` 来自定义模型的展示名,用英文逗号隔开。
|
|
39
|
-
- 默认值:`-`
|
|
40
|
-
- 示例:`+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
|
|
41
|
-
|
|
42
|
-
上面示例表示增加 `qwen-7b-chat` 和 `glm-6b` 到模型列表,而从列表中删除 `gpt-3.5-turbo`,并将 `gpt-4-0125-preview` 模型名字展示为 `gpt-4-turbo`。如果你想先禁用所有模型,再启用指定模型,可以使用 `-all,+gpt-3.5-turbo`,则表示仅启用 `gpt-3.5-turbo`。
|
|
34
|
+
## 模型服务商
|
|
43
35
|
|
|
44
|
-
|
|
36
|
+
### OpenAI
|
|
45
37
|
|
|
46
|
-
|
|
38
|
+
#### `OPENAI_API_KEY`
|
|
47
39
|
|
|
48
40
|
- 类型:必选
|
|
49
41
|
- 描述:这是你在 OpenAI 账户页面申请的 API 密钥,可以前往[这里][openai-api-page]查看
|
|
50
42
|
- 默认值:-
|
|
51
43
|
- 示例:`sk-xxxxxx...xxxxxx`
|
|
52
44
|
|
|
53
|
-
|
|
45
|
+
#### `OPENAI_PROXY_URL`
|
|
54
46
|
|
|
55
47
|
- 类型:可选
|
|
56
48
|
- 描述:如果你手动配置了 OpenAI 接口代理,可以使用此配置项来覆盖默认的 OpenAI API 请求基础 URL
|
|
@@ -70,31 +62,81 @@ LobeChat 在部署时提供了一些额外的配置项,使用环境变量进
|
|
|
70
62
|
- [使用第三方接口报错的原因](https://github.com/lobehub/lobe-chat/discussions/734)
|
|
71
63
|
- [代理服务器地址填了聊天没任何反应](https://github.com/lobehub/lobe-chat/discussions/1065)
|
|
72
64
|
|
|
73
|
-
|
|
65
|
+
### `CUSTOM_MODELS`
|
|
66
|
+
|
|
67
|
+
- 类型:可选
|
|
68
|
+
- 描述:用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名` 来自定义模型的展示名,用英文逗号隔开。
|
|
69
|
+
- 默认值:`-`
|
|
70
|
+
- 示例:`+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
|
|
71
|
+
|
|
72
|
+
上面示例表示增加 `qwen-7b-chat` 和 `glm-6b` 到模型列表,而从列表中删除 `gpt-3.5-turbo`,并将 `gpt-4-0125-preview` 模型名字展示为 `gpt-4-turbo`。如果你想先禁用所有模型,再启用指定模型,可以使用 `-all,+gpt-3.5-turbo`,则表示仅启用 `gpt-3.5-turbo`。
|
|
73
|
+
|
|
74
|
+
### Azure OpenAI
|
|
74
75
|
|
|
75
76
|
如果你需要使用 Azure OpenAI 来提供模型服务,可以查阅 [使用 Azure OpenAI 部署](Deploy-with-Azure-OpenAI.zh-CN.md) 章节查看详细步骤,这里将列举和 Azure OpenAI 相关的环境变量。
|
|
76
77
|
|
|
77
|
-
|
|
78
|
+
#### `USE_AZURE_OPENAI`
|
|
78
79
|
|
|
79
80
|
- 类型:可选
|
|
80
81
|
- 描述:设置该值为 `1` 开启 Azure OpenAI 配置
|
|
81
82
|
- 默认值:-
|
|
82
83
|
- 示例:`1`
|
|
83
84
|
|
|
84
|
-
|
|
85
|
+
#### `AZURE_API_KEY`
|
|
85
86
|
|
|
86
87
|
- 类型:可选
|
|
87
88
|
- 描述:这是你在 Azure OpenAI 账户页面申请的 API 密钥
|
|
88
89
|
- 默认值:-
|
|
89
90
|
- 示例:`c55168be3874490ef0565d9779ecd5a6`
|
|
90
91
|
|
|
91
|
-
|
|
92
|
+
#### `AZURE_API_VERSION`
|
|
92
93
|
|
|
93
94
|
- 类型:可选
|
|
94
95
|
- 描述:Azure 的 API 版本,遵循 YYYY-MM-DD 格式
|
|
95
96
|
- 默认值:`2023-08-01-preview`
|
|
96
97
|
- 示例:`2023-05-15`,查阅[最新版本][azure-api-verion-url]
|
|
97
98
|
|
|
99
|
+
### 智谱 AI
|
|
100
|
+
|
|
101
|
+
#### `ZHIPU_API_KEY`
|
|
102
|
+
|
|
103
|
+
- 类型:必选
|
|
104
|
+
- 描述:这是你在 智谱 AI 服务中申请的 API 密钥
|
|
105
|
+
- 默认值:-
|
|
106
|
+
- 示例:`4582d332441a313f5c2ed9824d1798ca.rC8EcTAhgbOuAuVT`
|
|
107
|
+
|
|
108
|
+
### Google AI
|
|
109
|
+
|
|
110
|
+
#### `GOOGLE_API_KEY`
|
|
111
|
+
|
|
112
|
+
- 类型:必选
|
|
113
|
+
- 描述:这是你在 Google AI Platform 申请的 API 密钥,用于访问 Google AI 服务
|
|
114
|
+
- 默认值:-
|
|
115
|
+
- 示例:`AIraDyDwcw254kwJaGjI9wwaHcdDCS__Vt3xQE`
|
|
116
|
+
|
|
117
|
+
### AWS Bedrock
|
|
118
|
+
|
|
119
|
+
#### `AWS_ACCESS_KEY_ID`
|
|
120
|
+
|
|
121
|
+
- 类型:必选
|
|
122
|
+
- 描述:用于 AWS 服务认证的访问键 ID
|
|
123
|
+
- 默认值:-
|
|
124
|
+
- 示例:`AKIA5STVRLFSB4S9HWBR`
|
|
125
|
+
|
|
126
|
+
#### `AWS_SECRET_ACCESS_KEY`
|
|
127
|
+
|
|
128
|
+
- 类型:必选
|
|
129
|
+
- 描述:用于 AWS 服务认证的密钥
|
|
130
|
+
- 默认值:-
|
|
131
|
+
- 示例:`Th3vXxLYpuKcv2BARktPSTPxx+jbSiFT6/0w7oEC`
|
|
132
|
+
|
|
133
|
+
#### `AWS_REGION`
|
|
134
|
+
|
|
135
|
+
- 类型:可选
|
|
136
|
+
- 描述:AWS 服务的区域设置
|
|
137
|
+
- 默认值:`us-east-1`
|
|
138
|
+
- 示例:`us-east-1`
|
|
139
|
+
|
|
98
140
|
## 插件服务
|
|
99
141
|
|
|
100
142
|
### `PLUGINS_INDEX_URL`
|
package/locales/ar/chat.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSwitch": {
|
|
3
|
+
"title": "النموذج"
|
|
4
|
+
},
|
|
2
5
|
"agentDefaultMessage": "مرحبًا، أنا **{{name}}**، يمكنك البدء في الدردشة معي على الفور، أو يمكنك الانتقال إلى [إعدادات المساعد](/chat/settings#session={{id}}) لتحسين معلوماتي.",
|
|
3
6
|
"agentDefaultMessageWithSystemRole": "مرحبًا، أنا **{{name}}**، {{systemRole}}، دعنا نبدأ الدردشة!",
|
|
4
7
|
"backToBottom": "العودة إلى الأسفل",
|
|
@@ -64,7 +67,14 @@
|
|
|
64
67
|
"prettifying": "جارٍ التجميل..."
|
|
65
68
|
},
|
|
66
69
|
"temp": "مؤقت",
|
|
67
|
-
"
|
|
70
|
+
"tokenDetails": {
|
|
71
|
+
"chats": "رسائل المحادثة",
|
|
72
|
+
"rest": "المتبقي",
|
|
73
|
+
"systemRole": "تعيين الدور",
|
|
74
|
+
"tools": "تعيين الإضافات",
|
|
75
|
+
"total": "الإجمالي",
|
|
76
|
+
"used": "المستخدم"
|
|
77
|
+
},
|
|
68
78
|
"tokenTag": {
|
|
69
79
|
"overload": "تجاوز الحد",
|
|
70
80
|
"remained": "متبقي",
|
|
@@ -102,6 +112,7 @@
|
|
|
102
112
|
"updateAgent": "تحديث معلومات المساعد",
|
|
103
113
|
"upload": {
|
|
104
114
|
"actionTooltip": "تحميل الصورة",
|
|
115
|
+
"disabled": "النموذج الحالي لا يدعم التعرف على الرؤية، يرجى تغيير النموذج المستخدم",
|
|
105
116
|
"dragDesc": "اسحب الملفات إلى هنا، يدعم تحميل عدة صور. اضغط على Shift لإرسال الصور مباشرة",
|
|
106
117
|
"dragTitle": "تحميل الصورة"
|
|
107
118
|
}
|
package/locales/ar/common.json
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSelect": {
|
|
3
|
+
"featureTag": {
|
|
4
|
+
"custom": "نموذج مخصص، يدعم الوظائف والتعرف على الرؤية، يرجى التحقق من قدرة النموذج على القيام بذلك وفقًا للحالة الفعلية",
|
|
5
|
+
"functionCall": "يدعم هذا النموذج استدعاء الوظائف",
|
|
6
|
+
"tokens": "هذا النموذج يدعم حتى {{tokens}} رموز في جلسة واحدة",
|
|
7
|
+
"vision": "يدعم هذا النموذج التعرف على الرؤية"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
2
10
|
"about": "حول",
|
|
3
11
|
"advanceSettings": "إعدادات متقدمة",
|
|
4
12
|
"agentMaxToken": "أقصى طول للجلسة",
|
|
@@ -89,6 +97,14 @@
|
|
|
89
97
|
"zh-TW": "الصينية التقليدية"
|
|
90
98
|
},
|
|
91
99
|
"layoutInitializing": "جاري تحميل التخطيط...",
|
|
100
|
+
"modelProvider": {
|
|
101
|
+
"azure": "أزور",
|
|
102
|
+
"bedrock": "بيدروك لأمازون ويب سيرفيس",
|
|
103
|
+
"google": "جوجل",
|
|
104
|
+
"oneapi": "وان آبي آي",
|
|
105
|
+
"openai": "أوبن إيه آي",
|
|
106
|
+
"zhipu": "زهيبو"
|
|
107
|
+
},
|
|
92
108
|
"noDescription": "لا توجد وصف",
|
|
93
109
|
"ok": "موافق",
|
|
94
110
|
"password": "كلمة المرور",
|
package/locales/ar/error.json
CHANGED
|
@@ -33,8 +33,17 @@
|
|
|
33
33
|
"502": "عذرًا، يبدو أن الخادم قد ضل الطريق ولا يمكنه حاليًا تقديم الخدمة، يرجى المحاولة مرة أخرى لاحقًا",
|
|
34
34
|
"503": "عذرًا، الخادم غير قادر حاليًا على معالجة طلبك، قد يكون بسبب الحمل الزائد أو الصيانة الجارية، يرجى المحاولة مرة أخرى لاحقًا",
|
|
35
35
|
"504": "عذرًا، الخادم لم ينتظر ردًا من الخادم الأصلي، يرجى المحاولة مرة أخرى لاحقًا",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"AgentRuntimeError": "حدث خطأ في تشغيل نموذج Lobe اللغوي، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
37
|
+
"AzureBizError": "حدث خطأ في طلب خدمة Azure AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
38
|
+
"BedrockBizError": "حدث خطأ في طلب خدمة Bedrock، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
39
|
+
"GoogleBizError": "حدث خطأ في طلب خدمة Google، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
40
|
+
"InvalidAccessCode": "كلمة المرور غير صحيحة أو فارغة، يرجى إدخال كلمة مرور الوصول الصحيحة أو إضافة مفتاح API مخصص",
|
|
41
|
+
"InvalidAzureAPIKey": "مفتاح Azure API غير صحيح أو فارغ، يرجى التحقق من مفتاح Azure API وإعادة المحاولة",
|
|
42
|
+
"InvalidBedrockCredentials": "فشلت مصادقة Bedrock، يرجى التحقق من AccessKeyId/SecretAccessKey وإعادة المحاولة",
|
|
43
|
+
"InvalidGoogleAPIKey": "مفتاح Google API غير صحيح أو فارغ، يرجى التحقق من مفتاح Google API وإعادة المحاولة",
|
|
44
|
+
"InvalidZhipuAPIKey": "مفتاح Zhipu API غير صحيح أو فارغ، يرجى التحقق من مفتاح Zhipu API وإعادة المحاولة",
|
|
45
|
+
"LocationNotSupportError": "عذرًا، لا يدعم موقعك الحالي خدمة هذا النموذج، قد يكون ذلك بسبب قيود المنطقة أو عدم توفر الخدمة. يرجى التحقق مما إذا كان الموقع الحالي يدعم استخدام هذه الخدمة، أو محاولة استخدام معلومات الموقع الأخرى.",
|
|
46
|
+
"NoOpenAIAPIKey": "مفتاح API الخاص بـ OpenAI فارغ، يرجى إضافة مفتاح API الخاص بـ OpenAI",
|
|
38
47
|
"OpenAIBizError": "حدث خطأ في طلب خدمة OpenAI، يرجى التحقق من المعلومات أدناه وإعادة المحاولة",
|
|
39
48
|
"PluginApiNotFound": "عذرًا، لا يوجد API للإضافة في وصف الإضافة، يرجى التحقق من تطابق طريقة الطلب الخاصة بك مع API الوصف",
|
|
40
49
|
"PluginApiParamsError": "عذرًا، فشلت التحقق من صحة معلمات الطلب للإضافة، يرجى التحقق من تطابق المعلمات مع معلومات الوصف",
|
|
@@ -47,7 +56,8 @@
|
|
|
47
56
|
"PluginMetaNotFound": "عذرًا، لم يتم العثور على معلومات تكوين الإضافة في الفهرس",
|
|
48
57
|
"PluginOpenApiInitError": "عذرًا، فشل تهيئة عميل OpenAPI، يرجى التحقق من معلومات تكوين OpenAPI",
|
|
49
58
|
"PluginServerError": "خطأ في استجابة الخادم لطلب الإضافة، يرجى التحقق من ملف وصف الإضافة وتكوين الإضافة وتنفيذ الخادم وفقًا لمعلومات الخطأ أدناه",
|
|
50
|
-
"PluginSettingsInvalid": "تحتاج هذه الإضافة إلى تكوين صحيح قبل الاستخدام، يرجى التحقق من صحة تكوينك"
|
|
59
|
+
"PluginSettingsInvalid": "تحتاج هذه الإضافة إلى تكوين صحيح قبل الاستخدام، يرجى التحقق من صحة تكوينك",
|
|
60
|
+
"ZhipuBizError": "حدث خطأ في طلب خدمة Zhipu، يرجى التحقق من المعلومات التالية أو إعادة المحاولة"
|
|
51
61
|
},
|
|
52
62
|
"stt": {
|
|
53
63
|
"responseError": "فشل طلب الخدمة، يرجى التحقق من الإعدادات أو إعادة المحاولة"
|
|
@@ -57,9 +67,24 @@
|
|
|
57
67
|
},
|
|
58
68
|
"unlock": {
|
|
59
69
|
"apikey": {
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
"Bedrock": {
|
|
71
|
+
"customRegion": "منطقة خدمة مخصصة",
|
|
72
|
+
"description": "أدخل مفتاح الوصول الخاص بك لـ Aws AccessKeyId / SecretAccessKey لبدء الجلسة. لن يقوم التطبيق بتسجيل تكوين المصادقة الخاص بك",
|
|
73
|
+
"title": "استخدام معلومات مصادقة Bedrock المخصصة"
|
|
74
|
+
},
|
|
75
|
+
"Google": {
|
|
76
|
+
"description": "أدخل مفتاح Google API الخاص بك لبدء الجلسة. لن يقوم التطبيق بتسجيل مفتاح الواجهة البرمجية الخاص بك",
|
|
77
|
+
"title": "استخدام مفتاح Google API المخصص"
|
|
78
|
+
},
|
|
79
|
+
"OpenAI": {
|
|
80
|
+
"addProxyUrl": "إضافة عنوان وكيل OpenAI (اختياري)",
|
|
81
|
+
"description": "أدخل مفتاح OpenAI API الخاص بك لبدء الجلسة. لن يقوم التطبيق بتسجيل مفتاح الواجهة البرمجية الخاص بك",
|
|
82
|
+
"title": "استخدام مفتاح OpenAI API المخصص"
|
|
83
|
+
},
|
|
84
|
+
"Zhipu": {
|
|
85
|
+
"description": "أدخل مفتاح Zhipu API الخاص بك لبدء الجلسة. لن يقوم التطبيق بتسجيل مفتاح الواجهة البرمجية الخاص بك",
|
|
86
|
+
"title": "استخدام مفتاح Zhipu API المخصص"
|
|
87
|
+
}
|
|
63
88
|
},
|
|
64
89
|
"closeMessage": "إغلاق الرسالة",
|
|
65
90
|
"confirm": "تأكيد وإعادة المحاولة",
|
|
@@ -67,6 +92,10 @@
|
|
|
67
92
|
"description": "قام المسؤول بتشفير التطبيق، قم بإدخال كلمة مرور التطبيق لفتح التطبيق. يتعين إدخال كلمة المرور مرة واحدة فقط",
|
|
68
93
|
"placeholder": "الرجاء إدخال كلمة المرور",
|
|
69
94
|
"title": "إدخال كلمة المرور لفتح التطبيق"
|
|
95
|
+
},
|
|
96
|
+
"tabs": {
|
|
97
|
+
"apiKey": "مفتاح واجهة برمجة التطبيقات المخصص",
|
|
98
|
+
"password": "كلمة المرور"
|
|
70
99
|
}
|
|
71
100
|
}
|
|
72
101
|
}
|