@lobehub/chat 0.122.9 → 0.123.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +22 -2
- package/.eslintrc.js +1 -0
- package/CHANGELOG.md +59 -0
- package/Dockerfile +7 -1
- package/README.md +12 -10
- package/README.zh-CN.md +12 -10
- package/docs/Deployment/Docker-Deployment.md +1 -1
- package/docs/Deployment/Docker-Deployment.zh-CN.md +1 -1
- package/docs/Deployment/Environment-Variable.md +65 -23
- package/docs/Deployment/Environment-Variable.zh-CN.md +64 -22
- package/locales/ar/chat.json +12 -1
- package/locales/ar/common.json +16 -0
- package/locales/ar/error.json +35 -6
- package/locales/ar/setting.json +53 -6
- package/locales/de-DE/chat.json +12 -1
- package/locales/de-DE/common.json +16 -0
- package/locales/de-DE/error.json +35 -6
- package/locales/de-DE/setting.json +53 -6
- package/locales/en-US/chat.json +13 -2
- package/locales/en-US/common.json +16 -0
- package/locales/en-US/error.json +35 -6
- package/locales/en-US/setting.json +53 -6
- package/locales/es-ES/chat.json +12 -1
- package/locales/es-ES/common.json +16 -0
- package/locales/es-ES/error.json +35 -6
- package/locales/es-ES/setting.json +53 -6
- package/locales/fr-FR/chat.json +13 -2
- package/locales/fr-FR/common.json +16 -0
- package/locales/fr-FR/error.json +35 -6
- package/locales/fr-FR/setting.json +53 -6
- package/locales/it-IT/chat.json +12 -1
- package/locales/it-IT/common.json +16 -0
- package/locales/it-IT/error.json +35 -6
- package/locales/it-IT/setting.json +53 -6
- package/locales/ja-JP/chat.json +12 -1
- package/locales/ja-JP/common.json +16 -0
- package/locales/ja-JP/error.json +35 -6
- package/locales/ja-JP/setting.json +53 -6
- package/locales/ko-KR/chat.json +12 -1
- package/locales/ko-KR/common.json +16 -0
- package/locales/ko-KR/error.json +35 -6
- package/locales/ko-KR/setting.json +53 -6
- package/locales/nl-NL/chat.json +12 -1
- package/locales/nl-NL/common.json +16 -0
- package/locales/nl-NL/error.json +35 -6
- package/locales/nl-NL/setting.json +53 -6
- package/locales/pl-PL/chat.json +12 -1
- package/locales/pl-PL/common.json +16 -0
- package/locales/pl-PL/error.json +35 -6
- package/locales/pl-PL/setting.json +53 -6
- package/locales/pt-BR/chat.json +12 -1
- package/locales/pt-BR/common.json +16 -0
- package/locales/pt-BR/error.json +35 -6
- package/locales/pt-BR/setting.json +53 -6
- package/locales/ru-RU/chat.json +12 -1
- package/locales/ru-RU/common.json +16 -0
- package/locales/ru-RU/error.json +35 -6
- package/locales/ru-RU/setting.json +53 -6
- package/locales/tr-TR/chat.json +12 -1
- package/locales/tr-TR/common.json +16 -0
- package/locales/tr-TR/error.json +35 -6
- package/locales/tr-TR/setting.json +53 -6
- package/locales/vi-VN/chat.json +12 -1
- package/locales/vi-VN/common.json +16 -0
- package/locales/vi-VN/error.json +35 -6
- package/locales/vi-VN/setting.json +53 -6
- package/locales/zh-CN/chat.json +12 -1
- package/locales/zh-CN/common.json +16 -0
- package/locales/zh-CN/error.json +34 -5
- package/locales/zh-CN/setting.json +59 -12
- package/locales/zh-TW/chat.json +12 -1
- package/locales/zh-TW/common.json +16 -0
- package/locales/zh-TW/error.json +35 -6
- package/locales/zh-TW/setting.json +53 -6
- package/next.config.mjs +8 -2
- package/package.json +8 -2
- package/src/app/api/chat/[provider]/agentRuntime.ts +129 -0
- package/src/app/api/chat/[provider]/route.ts +64 -0
- package/src/app/api/chat/auth.ts +42 -0
- package/src/app/api/chat/google/route.ts +86 -0
- package/src/app/api/config/route.ts +6 -1
- package/src/app/api/config.ts +3 -3
- package/src/app/api/errorResponse.test.ts +8 -8
- package/src/app/api/errorResponse.ts +43 -6
- package/src/app/api/openai/createBizOpenAI/createAzureOpenai.ts +1 -1
- package/src/app/api/openai/createBizOpenAI/createOpenai.ts +1 -1
- package/src/app/api/openai/createBizOpenAI/index.ts +2 -2
- package/src/app/api/plugin/gateway/route.ts +4 -1
- package/src/app/chat/(desktop)/features/ChatHeader.tsx +6 -4
- package/src/app/chat/(desktop)/features/ChatInput/Footer/index.tsx +13 -3
- package/src/app/chat/(desktop)/features/ChatInput/Header/index.tsx +16 -24
- package/src/app/chat/(desktop)/features/SideBar/index.tsx +1 -0
- package/src/app/chat/features/ChatHeader/ShareButton/Preview.tsx +3 -3
- package/src/app/chat/features/SessionListContent/List/Item/index.tsx +2 -3
- package/src/app/settings/llm/Azure/index.tsx +145 -0
- package/src/app/settings/llm/Bedrock/index.tsx +109 -0
- package/src/app/settings/llm/{LLM/Checker.tsx → Checker.tsx} +11 -14
- package/src/app/settings/llm/Google/index.tsx +74 -0
- package/src/app/settings/llm/{LLM → OpenAI}/index.tsx +26 -44
- package/src/app/settings/llm/Zhipu/index.tsx +78 -0
- package/src/app/settings/llm/const.ts +13 -0
- package/src/app/settings/llm/page.tsx +42 -2
- package/src/app/settings/llm/useSyncSettings.ts +23 -0
- package/src/chains/__tests__/langDetect.test.ts +2 -2
- package/src/chains/__tests__/pickEmoji.test.ts +2 -2
- package/src/chains/langDetect.ts +2 -2
- package/src/chains/pickEmoji.ts +2 -2
- package/src/chains/summaryAgentName.ts +2 -2
- package/src/chains/summaryDescription.ts +2 -2
- package/src/chains/summaryTags.ts +2 -2
- package/src/chains/summaryTitle.ts +2 -2
- package/src/chains/translate.ts +2 -2
- package/src/components/ModelIcon/index.tsx +37 -0
- package/src/components/ModelProviderIcon/index.tsx +44 -0
- package/src/components/ModelSelect/index.tsx +133 -0
- package/src/components/ModelTag/ModelIcon.tsx +35 -0
- package/src/components/ModelTag/index.tsx +13 -0
- package/src/config/modelProviders/bedrock.ts +43 -0
- package/src/config/modelProviders/google.ts +20 -0
- package/src/config/modelProviders/index.ts +18 -0
- package/src/config/modelProviders/openai.ts +110 -0
- package/src/config/modelProviders/zhipu.ts +34 -0
- package/src/config/{server.ts → server/app.ts} +1 -24
- package/src/config/server/index.ts +13 -0
- package/src/config/server/provider.ts +78 -0
- package/src/const/auth.ts +30 -0
- package/src/const/fetch.ts +3 -0
- package/src/const/settings.ts +24 -4
- package/src/database/core/migrations/migrateSettingsToUser/index.test.ts +2 -1
- package/src/database/core/migrations/migrateSettingsToUser/index.ts +1 -18
- package/src/database/core/migrations/migrateSettingsToUser/type.ts +100 -0
- package/src/database/models/message.ts +3 -1
- package/src/database/schemas/message.ts +1 -0
- package/src/database/schemas/session.ts +1 -0
- package/src/features/AgentSetting/AgentConfig/ModelSelect.tsx +71 -0
- package/src/features/AgentSetting/AgentConfig/index.tsx +171 -161
- package/src/features/AgentSetting/AgentConfig/useSyncConfig.ts +23 -0
- package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +39 -0
- package/src/features/AgentSetting/AgentPrompt/index.tsx +4 -26
- package/src/features/AgentSetting/store/index.ts +10 -2
- package/src/features/ChatInput/ActionBar/FileUpload.tsx +15 -5
- package/src/features/ChatInput/ActionBar/ModelSwitch.tsx +56 -14
- package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +42 -7
- package/src/features/ChatInput/ActionBar/Token/index.tsx +5 -2
- package/src/features/ChatInput/ActionBar/Tools/index.tsx +11 -1
- package/src/features/ChatInput/useChatInput.ts +5 -1
- package/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx +80 -0
- package/src/features/Conversation/Error/APIKeyForm/Google.tsx +61 -0
- package/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx +63 -0
- package/src/features/Conversation/Error/APIKeyForm/Zhipu.tsx +62 -0
- package/src/features/Conversation/Error/APIKeyForm/index.tsx +72 -0
- package/src/features/Conversation/Error/AccessCodeForm.tsx +63 -0
- package/src/features/Conversation/Error/ErrorJsonViewer.tsx +26 -0
- package/src/features/Conversation/Error/InvalidAPIKey.tsx +16 -0
- package/src/features/Conversation/Error/InvalidAccessCode.tsx +50 -0
- package/src/features/Conversation/Error/OpenAiBizError.tsx +9 -17
- package/src/features/Conversation/Error/{Plugin/PluginSettings.tsx → PluginSettings.tsx} +8 -3
- package/src/features/Conversation/Error/index.tsx +75 -70
- package/src/features/Conversation/Error/style.tsx +9 -3
- package/src/features/Conversation/Extras/Assistant.tsx +2 -3
- package/src/features/Conversation/Plugins/Inspector/index.tsx +8 -2
- package/src/features/Conversation/components/ChatItem/index.tsx +9 -24
- package/src/features/Conversation/types/index.tsx +2 -5
- package/src/hooks/_header.ts +35 -0
- package/src/libs/agent-runtime/BaseAI.ts +9 -0
- package/src/libs/agent-runtime/azureOpenai/index.ts +72 -0
- package/src/libs/agent-runtime/bedrock/index.ts +134 -0
- package/src/libs/agent-runtime/error.ts +26 -0
- package/src/libs/agent-runtime/google/index.ts +160 -0
- package/src/libs/agent-runtime/index.ts +9 -0
- package/src/libs/agent-runtime/openai/index.test.ts +176 -0
- package/src/libs/agent-runtime/openai/index.ts +107 -0
- package/src/libs/agent-runtime/types/chat.ts +119 -0
- package/src/libs/agent-runtime/types/index.ts +2 -0
- package/src/libs/agent-runtime/types/type.ts +34 -0
- package/src/libs/agent-runtime/utils/createError.ts +10 -0
- package/src/libs/agent-runtime/utils/debugStream.ts +18 -0
- package/src/libs/agent-runtime/utils/env.ts +1 -0
- package/src/libs/agent-runtime/utils/handleOpenAIError.ts +39 -0
- package/src/libs/agent-runtime/utils/uriParser.ts +16 -0
- package/src/libs/agent-runtime/zhipu/authToken.ts +22 -0
- package/src/libs/agent-runtime/zhipu/index.ts +125 -0
- package/src/locales/default/chat.ts +12 -2
- package/src/locales/default/common.ts +16 -0
- package/src/locales/default/error.ts +42 -5
- package/src/locales/default/setting.ts +61 -12
- package/src/services/__tests__/chat.test.ts +8 -2
- package/src/services/__tests__/message.test.ts +1 -1
- package/src/services/_auth.ts +106 -0
- package/src/services/_header.ts +1 -0
- package/src/services/_url.ts +0 -2
- package/src/services/chat.ts +34 -14
- package/src/store/chat/slices/message/action.ts +9 -6
- package/src/store/global/slices/common/action.ts +8 -2
- package/src/store/global/slices/settings/action.test.ts +2 -2
- package/src/store/global/slices/settings/action.ts +11 -4
- package/src/store/global/slices/settings/selectors/__snapshots__/modelProvider.test.ts.snap +24 -92
- package/src/store/global/slices/settings/selectors/__snapshots__/selectors.test.ts.snap +2 -0
- package/src/store/global/slices/settings/selectors/modelProvider.test.ts +127 -50
- package/src/store/global/slices/settings/selectors/modelProvider.ts +145 -43
- package/src/store/session/slices/agent/selectors.test.ts +0 -48
- package/src/store/session/slices/agent/selectors.ts +7 -12
- package/src/types/agent/index.ts +6 -2
- package/src/types/fetch.ts +4 -2
- package/src/types/files.ts +3 -3
- package/src/types/llm.ts +34 -0
- package/src/types/message/index.ts +7 -3
- package/src/types/openai/chat.ts +6 -11
- package/src/types/settings/index.ts +1 -0
- package/src/types/settings/modelProvider.ts +37 -1
- package/src/utils/__snapshots__/parseModels.test.ts.snap +63 -0
- package/src/utils/parseModels.test.ts +24 -0
- package/src/utils/parseModels.ts +37 -0
- package/src/app/api/openai/chat/createChatCompletion.test.ts +0 -166
- package/src/app/api/openai/chat/createChatCompletion.ts +0 -76
- package/src/app/api/openai/chat/route.ts +0 -19
- package/src/app/api/openai/models/route.ts +0 -17
- package/src/app/settings/llm/LLM/ModelList.tsx +0 -51
- package/src/app/settings/llm/LLM/getModelList.ts +0 -9
- package/src/app/settings/llm/index.tsx +0 -36
- package/src/const/llm.ts +0 -32
- package/src/features/Conversation/Error/ApiKeyForm.tsx +0 -87
- package/src/features/Conversation/Error/ErrorActionContainer.tsx +0 -23
- package/src/features/Conversation/Error/InvalidAccess.tsx +0 -90
- package/src/features/Conversation/Error/OpenAPIKey.tsx +0 -13
- package/src/features/Conversation/Error/Plugin/PluginError.tsx +0 -30
- package/src/services/modelList.ts +0 -15
- /package/src/app/chat/(desktop)/features/ChatInput/{Header → Footer}/DragUpload.tsx +0 -0
- /package/src/{app/api/openai/chat → libs/agent-runtime/utils}/desensitizeUrl.test.ts +0 -0
- /package/src/{app/api/openai/chat → libs/agent-runtime/utils}/desensitizeUrl.ts +0 -0
- /package/src/types/{translate.ts → message/translate.ts} +0 -0
package/locales/nl-NL/error.json
CHANGED
|
@@ -33,8 +33,17 @@
|
|
|
33
33
|
"502": "Sorry, de server lijkt de weg kwijt te zijn en kan tijdelijk geen service verlenen. Probeer het later opnieuw",
|
|
34
34
|
"503": "Sorry, de server kan uw verzoek momenteel niet verwerken vanwege overbelasting of onderhoud. Probeer het later opnieuw",
|
|
35
35
|
"504": "Sorry, de server heeft geen reactie ontvangen van de upstream server. Probeer het later opnieuw",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"AgentRuntimeError": "Lobe language model runtime execution error, please troubleshoot or retry based on the following information",
|
|
37
|
+
"AzureBizError": "Error requesting Azure AI service, please troubleshoot or retry based on the following information",
|
|
38
|
+
"BedrockBizError": "Error requesting Bedrock service, please troubleshoot or retry based on the following information",
|
|
39
|
+
"GoogleBizError": "Error requesting Google service, please troubleshoot or retry based on the following information",
|
|
40
|
+
"InvalidAccessCode": "Ongeldige toegangscode: het wachtwoord is onjuist of leeg. Voer de juiste toegangscode in of voeg een aangepaste API-sleutel toe.",
|
|
41
|
+
"InvalidAzureAPIKey": "Incorrect or empty Azure API Key, please check the Azure API Key and retry",
|
|
42
|
+
"InvalidBedrockCredentials": "Bedrock authentication failed, please check AccessKeyId/SecretAccessKey and retry",
|
|
43
|
+
"InvalidGoogleAPIKey": "Incorrect or empty Google API Key, please check the Google API Key and retry",
|
|
44
|
+
"InvalidZhipuAPIKey": "Incorrect or empty Zhipu API Key, please check the Zhipu API Key and retry",
|
|
45
|
+
"LocationNotSupportError": "Sorry, your current location does not support this model service, possibly due to regional restrictions or service not being available. Please confirm if the current location supports using this service, or try using other location information.",
|
|
46
|
+
"NoOpenAIAPIKey": "OpenAI API-sleutel ontbreekt. Voeg een aangepaste OpenAI API-sleutel toe",
|
|
38
47
|
"OpenAIBizError": "Fout bij het aanvragen van OpenAI-service. Controleer de onderstaande informatie voor probleemoplossing of probeer opnieuw",
|
|
39
48
|
"PluginApiNotFound": "Sorry, de API van de plug-inbeschrijvingslijst bestaat niet. Controleer of uw verzoeksmethode overeenkomt met de plug-inbeschrijvingslijst API",
|
|
40
49
|
"PluginApiParamsError": "Sorry, de validatie van de invoerparameters van de plug-in is mislukt. Controleer of de invoerparameters overeenkomen met de API-beschrijving",
|
|
@@ -47,7 +56,8 @@
|
|
|
47
56
|
"PluginMetaNotFound": "Sorry, de plug-in is niet gevonden in de index. Controleer of de plug-inconfiguratie in de index staat",
|
|
48
57
|
"PluginOpenApiInitError": "Sorry, initialisatie van de OpenAPI-client is mislukt. Controleer of de configuratie van OpenAPI juist is",
|
|
49
58
|
"PluginServerError": "Fout bij serverrespons voor plug-in. Controleer de foutinformatie hieronder voor uw plug-inbeschrijvingsbestand, plug-inconfiguratie of serverimplementatie",
|
|
50
|
-
"PluginSettingsInvalid": "Deze plug-in moet correct geconfigureerd zijn voordat deze kan worden gebruikt. Controleer of uw configuratie juist is"
|
|
59
|
+
"PluginSettingsInvalid": "Deze plug-in moet correct geconfigureerd zijn voordat deze kan worden gebruikt. Controleer of uw configuratie juist is",
|
|
60
|
+
"ZhipuBizError": "Error requesting Zhipu service, please troubleshoot or retry based on the following information"
|
|
51
61
|
},
|
|
52
62
|
"stt": {
|
|
53
63
|
"responseError": "Serviceverzoek mislukt. Controleer de configuratie of probeer opnieuw"
|
|
@@ -57,9 +67,24 @@
|
|
|
57
67
|
},
|
|
58
68
|
"unlock": {
|
|
59
69
|
"apikey": {
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
"Bedrock": {
|
|
71
|
+
"customRegion": "Custom service region",
|
|
72
|
+
"description": "Enter your Aws AccessKeyId / SecretAccessKey to start the session. The app will not record your authentication configuration",
|
|
73
|
+
"title": "Use custom Bedrock authentication information"
|
|
74
|
+
},
|
|
75
|
+
"Google": {
|
|
76
|
+
"description": "Enter your Google API Key to start the session. The app will not record your API Key",
|
|
77
|
+
"title": "Use custom Google API Key"
|
|
78
|
+
},
|
|
79
|
+
"OpenAI": {
|
|
80
|
+
"addProxyUrl": "Add OpenAI proxy address (optional)",
|
|
81
|
+
"description": "Enter your OpenAI API Key to start the session. The app will not record your API Key",
|
|
82
|
+
"title": "Use custom OpenAI API Key"
|
|
83
|
+
},
|
|
84
|
+
"Zhipu": {
|
|
85
|
+
"description": "Enter your Zhipu API Key to start the session. The app will not record your API Key",
|
|
86
|
+
"title": "Use custom Zhipu API Key"
|
|
87
|
+
}
|
|
63
88
|
},
|
|
64
89
|
"closeMessage": "Sluit bericht",
|
|
65
90
|
"confirm": "Bevestigen en opnieuw proberen",
|
|
@@ -67,6 +92,10 @@
|
|
|
67
92
|
"description": "De beheerder heeft app-encryptie ingeschakeld. Voer het app-wachtwoord in om de app te ontgrendelen. Het wachtwoord hoeft slechts één keer te worden ingevoerd.",
|
|
68
93
|
"placeholder": "Voer het wachtwoord in",
|
|
69
94
|
"title": "Voer het wachtwoord in om de app te ontgrendelen"
|
|
95
|
+
},
|
|
96
|
+
"tabs": {
|
|
97
|
+
"apiKey": "Custom API Key",
|
|
98
|
+
"password": "Password"
|
|
70
99
|
}
|
|
71
100
|
}
|
|
72
101
|
}
|
|
@@ -22,6 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"llm": {
|
|
24
24
|
"AzureOpenAI": {
|
|
25
|
+
"azureApiVersion": {
|
|
26
|
+
"desc": "Azure API-versie, in het formaat YYYY-MM-DD, raadpleeg de [laatste versie](https://learn.microsoft.com/nl-nl/azure/ai-services/openai/reference#chat-completions)",
|
|
27
|
+
"fetch": "Ophalen van lijst",
|
|
28
|
+
"title": "Azure API-versie"
|
|
29
|
+
},
|
|
30
|
+
"deployments": {
|
|
31
|
+
"desc": "Vul de syntaxis id=naam in voor uw implementatiemodellen (bijv. als de implementatienaam en het model dezelfde naam hebben, kunt u alleen de modelnaam invullen), meerdere modellen worden gescheiden door een komma (,)",
|
|
32
|
+
"title": "Azure implementatiemodellen"
|
|
33
|
+
},
|
|
25
34
|
"endpoint": {
|
|
26
35
|
"desc": "Deze waarde is te vinden in het gedeelte 'Sleutels en eindpunten' wanneer u de bron controleert in het Azure-portal",
|
|
27
36
|
"placeholder": "https://docs-test-001.openai.azure.com",
|
|
@@ -38,18 +47,41 @@
|
|
|
38
47
|
"title": "API-sleutel"
|
|
39
48
|
}
|
|
40
49
|
},
|
|
50
|
+
"Bedrock": {
|
|
51
|
+
"accessKeyId": {
|
|
52
|
+
"desc": "Vul de AWS Access Key ID in",
|
|
53
|
+
"placeholder": "AWS Access Key ID",
|
|
54
|
+
"title": "AWS Access Key ID"
|
|
55
|
+
},
|
|
56
|
+
"checker": {
|
|
57
|
+
"desc": "Test of AccessKeyId / SecretAccessKey correct zijn ingevuld"
|
|
58
|
+
},
|
|
59
|
+
"region": {
|
|
60
|
+
"desc": "Vul de AWS-regio in",
|
|
61
|
+
"placeholder": "AWS-regio",
|
|
62
|
+
"title": "AWS-regio"
|
|
63
|
+
},
|
|
64
|
+
"secretAccessKey": {
|
|
65
|
+
"desc": "Vul de AWS Secret Access Key in",
|
|
66
|
+
"placeholder": "AWS Secret Access Key",
|
|
67
|
+
"title": "AWS Secret Access Key"
|
|
68
|
+
},
|
|
69
|
+
"title": "Bedrock"
|
|
70
|
+
},
|
|
71
|
+
"Google": {
|
|
72
|
+
"title": "Google",
|
|
73
|
+
"token": {
|
|
74
|
+
"desc": "Vul de API-sleutel van Google in",
|
|
75
|
+
"placeholder": "Google API-sleutel",
|
|
76
|
+
"title": "API-sleutel"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
41
79
|
"OpenAI": {
|
|
42
80
|
"azureApiVersion": {
|
|
43
81
|
"desc": "API-versie van Azure, in het formaat YYYY-MM-DD, zie [laatste versie](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
|
|
44
82
|
"fetch": "Lijst ophalen",
|
|
45
83
|
"title": "Azure API-versie"
|
|
46
84
|
},
|
|
47
|
-
"check": {
|
|
48
|
-
"button": "Controleren",
|
|
49
|
-
"desc": "Test of de API-sleutel en proxy-adres correct zijn ingevuld",
|
|
50
|
-
"pass": "Controle geslaagd",
|
|
51
|
-
"title": "Connectiviteitscontrole"
|
|
52
|
-
},
|
|
53
85
|
"customModelName": {
|
|
54
86
|
"desc": "Voeg aangepaste modellen toe, gescheiden door een komma (,)",
|
|
55
87
|
"placeholder": "model1,model2,model3",
|
|
@@ -82,6 +114,20 @@
|
|
|
82
114
|
"title": "Azure OpenAI gebruiken"
|
|
83
115
|
}
|
|
84
116
|
},
|
|
117
|
+
"Zhipu": {
|
|
118
|
+
"title": "智谱",
|
|
119
|
+
"token": {
|
|
120
|
+
"desc": "Vul de API-sleutel van Zhipu in",
|
|
121
|
+
"placeholder": "Zhipu API-sleutel",
|
|
122
|
+
"title": "API-sleutel"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"checker": {
|
|
126
|
+
"button": "Controleren",
|
|
127
|
+
"desc": "Test of de API-sleutel en proxyadres correct zijn ingevuld",
|
|
128
|
+
"pass": "Succesvol gecontroleerd",
|
|
129
|
+
"title": "Connectiviteitscontrole"
|
|
130
|
+
},
|
|
85
131
|
"waitingForMore": "Meer modellen worden <1>gepland om te worden toegevoegd</1>, dus blijf op de hoogte ✨"
|
|
86
132
|
},
|
|
87
133
|
"plugin": {
|
|
@@ -293,6 +339,7 @@
|
|
|
293
339
|
"builtins": {
|
|
294
340
|
"groupName": "Ingebouwd"
|
|
295
341
|
},
|
|
342
|
+
"disabled": "Dit model ondersteunt momenteel geen functieaanroepen en kan geen plug-ins gebruiken",
|
|
296
343
|
"plugins": {
|
|
297
344
|
"enabled": "Ingeschakeld {{num}}",
|
|
298
345
|
"groupName": "Plug-ins",
|
package/locales/pl-PL/chat.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSwitch": {
|
|
3
|
+
"title": "Przełącz model"
|
|
4
|
+
},
|
|
2
5
|
"agentDefaultMessage": "Cześć, jestem **{{name}}**, możesz od razu zacząć ze mną rozmawiać, lub udoskonalić moje informacje, przechodząc do [Ustawień asystenta](/chat/settings#session={{id}}).",
|
|
3
6
|
"agentDefaultMessageWithSystemRole": "Cześć, jestem **{{name}}**, {{systemRole}}, zacznijmy rozmowę!",
|
|
4
7
|
"backToBottom": "Przewiń na dół",
|
|
@@ -64,7 +67,14 @@
|
|
|
64
67
|
"prettifying": "Upiększanie..."
|
|
65
68
|
},
|
|
66
69
|
"temp": "Tymczasowy",
|
|
67
|
-
"
|
|
70
|
+
"tokenDetails": {
|
|
71
|
+
"chats": "Rozmowy",
|
|
72
|
+
"rest": "Pozostałe",
|
|
73
|
+
"systemRole": "Rola systemowa",
|
|
74
|
+
"tools": "Narzędzia",
|
|
75
|
+
"total": "Razem",
|
|
76
|
+
"used": "Wykorzystane"
|
|
77
|
+
},
|
|
68
78
|
"tokenTag": {
|
|
69
79
|
"overload": "Przekroczenie limitu",
|
|
70
80
|
"remained": "Pozostało",
|
|
@@ -102,6 +112,7 @@
|
|
|
102
112
|
"updateAgent": "Aktualizuj informacje asystenta",
|
|
103
113
|
"upload": {
|
|
104
114
|
"actionTooltip": "Prześlij obraz",
|
|
115
|
+
"disabled": "Obecny model nie obsługuje rozpoznawania wizyjnego. Proszę przełączyć model.",
|
|
105
116
|
"dragDesc": "Przeciągnij pliki tutaj, obsługiwane jest przesyłanie wielu obrazów. Naciśnij klawisz Shift, aby wysłać obraz bezpośrednio",
|
|
106
117
|
"dragTitle": "Prześlij obraz"
|
|
107
118
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSelect": {
|
|
3
|
+
"featureTag": {
|
|
4
|
+
"custom": "Niestandardowy model, domyślnie obsługujący zarówno wywołania funkcji, jak i rozpoznawanie wizualne. Proszę zweryfikować możliwość użycia tych funkcji w praktyce.",
|
|
5
|
+
"functionCall": "Ten model obsługuje wywołania funkcji (Function Call).",
|
|
6
|
+
"tokens": "Ten model obsługuje maksymalnie {{tokens}} tokenów w pojedynczej sesji.",
|
|
7
|
+
"vision": "Ten model obsługuje rozpoznawanie wizualne."
|
|
8
|
+
}
|
|
9
|
+
},
|
|
2
10
|
"about": "O nas",
|
|
3
11
|
"advanceSettings": "Zaawansowane ustawienia",
|
|
4
12
|
"agentMaxToken": "Maksymalna długość sesji",
|
|
@@ -89,6 +97,14 @@
|
|
|
89
97
|
"zh-TW": "Chiński tradycyjny"
|
|
90
98
|
},
|
|
91
99
|
"layoutInitializing": "Inicjowanie układu...",
|
|
100
|
+
"modelProvider": {
|
|
101
|
+
"azure": "Azure",
|
|
102
|
+
"bedrock": "AWS Bedrock",
|
|
103
|
+
"google": "Google",
|
|
104
|
+
"oneapi": "One API",
|
|
105
|
+
"openai": "OpenAI",
|
|
106
|
+
"zhipu": "智谱AI"
|
|
107
|
+
},
|
|
92
108
|
"noDescription": "Brak opisu",
|
|
93
109
|
"ok": "OK",
|
|
94
110
|
"password": "Hasło",
|
package/locales/pl-PL/error.json
CHANGED
|
@@ -33,8 +33,17 @@
|
|
|
33
33
|
"502": "Przepraszamy, serwer wydaje się zgubić kierunek i tymczasowo nie może świadczyć usług. Proszę spróbuj ponownie później",
|
|
34
34
|
"503": "Przepraszamy, serwer tymczasowo nie może przetworzyć Twojego żądania, prawdopodobnie z powodu przeciążenia lub konserwacji. Proszę spróbuj ponownie później",
|
|
35
35
|
"504": "Przepraszamy, serwer nie otrzymał odpowiedzi od serwera nadrzędnego. Proszę spróbuj ponownie później",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"AgentRuntimeError": "Wystąpił błąd wykonania modelu językowego Lobe, prosimy o sprawdzenie poniższych informacji lub ponowne próbowanie.",
|
|
37
|
+
"AzureBizError": "Wystąpił błąd żądania usługi Azure AI, prosimy o sprawdzenie poniższych informacji lub ponowne próbowanie.",
|
|
38
|
+
"BedrockBizError": "Wystąpił błąd żądania usługi Bedrock, prosimy o sprawdzenie poniższych informacji lub ponowne próbowanie.",
|
|
39
|
+
"GoogleBizError": "Wystąpił błąd żądania usługi Google, prosimy o sprawdzenie poniższych informacji lub ponowne próbowanie.",
|
|
40
|
+
"InvalidAccessCode": "Nieprawidłowy kod dostępu: Hasło jest nieprawidłowe lub puste. Proszę wprowadzić poprawne hasło dostępu lub dodać niestandardowy klucz API.",
|
|
41
|
+
"InvalidAzureAPIKey": "Nieprawidłowy lub pusty klucz API Azure, prosimy sprawdzić klucz API Azure i spróbować ponownie.",
|
|
42
|
+
"InvalidBedrockCredentials": "Uwierzytelnienie Bedrock nie powiodło się, prosimy sprawdzić AccessKeyId/SecretAccessKey i spróbować ponownie.",
|
|
43
|
+
"InvalidGoogleAPIKey": "Nieprawidłowy lub pusty klucz API Google, prosimy sprawdzić klucz API Google i spróbować ponownie.",
|
|
44
|
+
"InvalidZhipuAPIKey": "Nieprawidłowy lub pusty klucz API Zhipu, prosimy sprawdzić klucz API Zhipu i spróbować ponownie.",
|
|
45
|
+
"LocationNotSupportError": "Przepraszamy, Twoja lokalizacja nie obsługuje tego usługi modelu, być może ze względu na ograniczenia regionalne lub brak dostępności usługi. Proszę sprawdź, czy bieżąca lokalizacja obsługuje tę usługę, lub spróbuj użyć innych informacji o lokalizacji.",
|
|
46
|
+
"NoOpenAIAPIKey": "Klucz API OpenAI jest pusty. Proszę dodać niestandardowy klucz API OpenAI",
|
|
38
47
|
"OpenAIBizError": "Błąd żądania usługi OpenAI. Proszę sprawdź poniższe informacje i spróbuj ponownie",
|
|
39
48
|
"PluginApiNotFound": "Przepraszamy, w manifestach wtyczki nie istnieje to API. Proszę sprawdź, czy metoda żądania jest zgodna z API w manifestach wtyczki",
|
|
40
49
|
"PluginApiParamsError": "Przepraszamy, walidacja parametrów wejściowych żądanej wtyczki nie powiodła się. Proszę sprawdź, czy parametry wejściowe są zgodne z informacjami opisującymi API",
|
|
@@ -47,7 +56,8 @@
|
|
|
47
56
|
"PluginMetaNotFound": "Przepraszamy, nie znaleziono metadanych wtyczki w indeksie. Sprawdź, czy informacje konfiguracyjne wtyczki są obecne w indeksie",
|
|
48
57
|
"PluginOpenApiInitError": "Przepraszamy, inicjalizacja klienta OpenAPI nie powiodła się. Proszę sprawdź, czy informacje konfiguracyjne OpenAPI są poprawne",
|
|
49
58
|
"PluginServerError": "Błąd zwrócony przez serwer wtyczki. Proszę sprawdź plik opisowy wtyczki, konfigurację wtyczki lub implementację serwera zgodnie z poniższymi informacjami o błędzie",
|
|
50
|
-
"PluginSettingsInvalid": "Ta wtyczka wymaga poprawnej konfiguracji przed użyciem. Proszę sprawdź, czy Twoja konfiguracja jest poprawna"
|
|
59
|
+
"PluginSettingsInvalid": "Ta wtyczka wymaga poprawnej konfiguracji przed użyciem. Proszę sprawdź, czy Twoja konfiguracja jest poprawna",
|
|
60
|
+
"ZhipuBizError": "Wystąpił błąd żądania usługi Zhipu, prosimy o sprawdzenie poniższych informacji lub ponowne próbowanie."
|
|
51
61
|
},
|
|
52
62
|
"stt": {
|
|
53
63
|
"responseError": "Błąd żądania usługi. Proszę sprawdź konfigurację i spróbuj ponownie"
|
|
@@ -57,9 +67,24 @@
|
|
|
57
67
|
},
|
|
58
68
|
"unlock": {
|
|
59
69
|
"apikey": {
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
"Bedrock": {
|
|
71
|
+
"customRegion": "Własny obszar usług",
|
|
72
|
+
"description": "Wprowadź swój Aws AccessKeyId / SecretAccessKey, aby rozpocząć sesję. Aplikacja nie będzie przechowywać Twojej konfiguracji uwierzytelniania.",
|
|
73
|
+
"title": "Użyj niestandardowych informacji uwierzytelniających Bedrock"
|
|
74
|
+
},
|
|
75
|
+
"Google": {
|
|
76
|
+
"description": "Wprowadź swój klucz API Google, aby rozpocząć sesję. Aplikacja nie będzie przechowywać Twojego klucza API.",
|
|
77
|
+
"title": "Użyj niestandardowego klucza API Google"
|
|
78
|
+
},
|
|
79
|
+
"OpenAI": {
|
|
80
|
+
"addProxyUrl": "Dodaj adres proxy OpenAI (opcjonalnie)",
|
|
81
|
+
"description": "Wprowadź swój klucz API OpenAI, aby rozpocząć sesję. Aplikacja nie będzie przechowywać Twojego klucza API.",
|
|
82
|
+
"title": "Użyj niestandardowego klucza API OpenAI"
|
|
83
|
+
},
|
|
84
|
+
"Zhipu": {
|
|
85
|
+
"description": "Wprowadź swój klucz API Zhipu, aby rozpocząć sesję. Aplikacja nie będzie przechowywać Twojego klucza API.",
|
|
86
|
+
"title": "Użyj niestandardowego klucza API Zhipu"
|
|
87
|
+
}
|
|
63
88
|
},
|
|
64
89
|
"closeMessage": "Zamknij komunikat",
|
|
65
90
|
"confirm": "Potwierdź i spróbuj ponownie",
|
|
@@ -67,6 +92,10 @@
|
|
|
67
92
|
"description": "Administrator włączył szyfrowanie aplikacji. Po wprowadzeniu hasła aplikacja zostanie odblokowana. Hasło należy wprowadzić tylko raz.",
|
|
68
93
|
"placeholder": "Wprowadź hasło",
|
|
69
94
|
"title": "Wprowadź hasło, aby odblokować aplikację"
|
|
95
|
+
},
|
|
96
|
+
"tabs": {
|
|
97
|
+
"apiKey": "Niestandardowy klucz API",
|
|
98
|
+
"password": "Hasło"
|
|
70
99
|
}
|
|
71
100
|
}
|
|
72
101
|
}
|
|
@@ -22,6 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"llm": {
|
|
24
24
|
"AzureOpenAI": {
|
|
25
|
+
"azureApiVersion": {
|
|
26
|
+
"desc": "Wersja API usługi Azure, zgodna z formatem RRRR-MM-DD, zobacz [najnowszą wersję](https://learn.microsoft.com/pl-pl/azure/ai-services/openai/reference#chat-completions)",
|
|
27
|
+
"fetch": "Pobierz listę",
|
|
28
|
+
"title": "Wersja interfejsu API usługi Azure"
|
|
29
|
+
},
|
|
30
|
+
"deployments": {
|
|
31
|
+
"desc": "Użyj składni id=nazwa, aby wprowadzić listę modeli wdrożeń (np. jeśli nazwa modelu i wdrożenia są takie same, można wpisać tylko nazwę modelu), użyj przecinka (,) do oddzielenia wielu modeli",
|
|
32
|
+
"title": "Lista wdrożeń usługi Azure"
|
|
33
|
+
},
|
|
25
34
|
"endpoint": {
|
|
26
35
|
"desc": "Wartość znajdująca się w sekcji „Klucze i punkty końcowe” podczas sprawdzania zasobów w portalu Azure",
|
|
27
36
|
"placeholder": "https://docs-test-001.openai.azure.com",
|
|
@@ -38,18 +47,41 @@
|
|
|
38
47
|
"title": "Klucz API"
|
|
39
48
|
}
|
|
40
49
|
},
|
|
50
|
+
"Bedrock": {
|
|
51
|
+
"accessKeyId": {
|
|
52
|
+
"desc": "Wprowadź Aws Access Key Id",
|
|
53
|
+
"placeholder": "Aws Access Key Id",
|
|
54
|
+
"title": "Aws Access Key Id"
|
|
55
|
+
},
|
|
56
|
+
"checker": {
|
|
57
|
+
"desc": "Sprawdź poprawność wypełnienia AccessKeyId / SecretAccessKey"
|
|
58
|
+
},
|
|
59
|
+
"region": {
|
|
60
|
+
"desc": "Wprowadź region Aws",
|
|
61
|
+
"placeholder": "Aws Region",
|
|
62
|
+
"title": "Aws Region"
|
|
63
|
+
},
|
|
64
|
+
"secretAccessKey": {
|
|
65
|
+
"desc": "Wprowadź Aws Secret Access Key",
|
|
66
|
+
"placeholder": "Aws Secret Access Key",
|
|
67
|
+
"title": "Aws Secret Access Key"
|
|
68
|
+
},
|
|
69
|
+
"title": "Bedrock"
|
|
70
|
+
},
|
|
71
|
+
"Google": {
|
|
72
|
+
"title": "Google",
|
|
73
|
+
"token": {
|
|
74
|
+
"desc": "Wprowadź klucz API z Google",
|
|
75
|
+
"placeholder": "Google API Key",
|
|
76
|
+
"title": "Klucz API"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
41
79
|
"OpenAI": {
|
|
42
80
|
"azureApiVersion": {
|
|
43
81
|
"desc": "Wersja API dla usługi Azure, zgodna z formatem RRRR-MM-DD. Zobacz [najnowszą wersję](https://learn.microsoft.com/pl-pl/azure/ai-services/openai/reference#chat-completions)",
|
|
44
82
|
"fetch": "Pobierz listę",
|
|
45
83
|
"title": "Wersja interfejsu API Azure"
|
|
46
84
|
},
|
|
47
|
-
"check": {
|
|
48
|
-
"button": "Sprawdź",
|
|
49
|
-
"desc": "Testuje poprawność wprowadzenia klucza API i adresu proxy",
|
|
50
|
-
"pass": "Test zakończony pomyślnie",
|
|
51
|
-
"title": "Test łączności"
|
|
52
|
-
},
|
|
53
85
|
"customModelName": {
|
|
54
86
|
"desc": "Dodaj niestandardowe modele, oddzielając je przecinkami (,)",
|
|
55
87
|
"placeholder": "model1,model2,model3",
|
|
@@ -82,6 +114,20 @@
|
|
|
82
114
|
"title": "Użyj Azure OpenAI"
|
|
83
115
|
}
|
|
84
116
|
},
|
|
117
|
+
"Zhipu": {
|
|
118
|
+
"title": "智谱",
|
|
119
|
+
"token": {
|
|
120
|
+
"desc": "Wprowadź klucz API z Zhipu",
|
|
121
|
+
"placeholder": "Zhipu API Key",
|
|
122
|
+
"title": "Klucz API"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"checker": {
|
|
126
|
+
"button": "Sprawdź",
|
|
127
|
+
"desc": "Sprawdź poprawność wypełnienia klucza API i adresu proxy",
|
|
128
|
+
"pass": "Połączenie udane",
|
|
129
|
+
"title": "Test połączenia"
|
|
130
|
+
},
|
|
85
131
|
"waitingForMore": "Więcej modeli jest obecnie w <1>planach dołączenia</1>, prosimy o cierpliwość ✨"
|
|
86
132
|
},
|
|
87
133
|
"plugin": {
|
|
@@ -293,6 +339,7 @@
|
|
|
293
339
|
"builtins": {
|
|
294
340
|
"groupName": "Wbudowane"
|
|
295
341
|
},
|
|
342
|
+
"disabled": "Aktualny model nie obsługuje wywołań funkcji i nie można użyć wtyczki",
|
|
296
343
|
"plugins": {
|
|
297
344
|
"enabled": "Włączone {{num}}",
|
|
298
345
|
"groupName": "Wtyczki",
|
package/locales/pt-BR/chat.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSwitch": {
|
|
3
|
+
"title": "Modelo"
|
|
4
|
+
},
|
|
2
5
|
"agentDefaultMessage": "Olá, eu sou **{{name}}**, você pode começar a conversar comigo agora ou ir para [Configurações do Assistente](/chat/settings#session={{id}}) para completar minhas informações.",
|
|
3
6
|
"agentDefaultMessageWithSystemRole": "Olá, eu sou **{{name}}**, {{systemRole}}, vamos conversar!",
|
|
4
7
|
"backToBottom": "Voltar para o início",
|
|
@@ -64,7 +67,14 @@
|
|
|
64
67
|
"prettifying": "Embelezando..."
|
|
65
68
|
},
|
|
66
69
|
"temp": "Temporário",
|
|
67
|
-
"
|
|
70
|
+
"tokenDetails": {
|
|
71
|
+
"chats": "Mensagens de bate-papo",
|
|
72
|
+
"rest": "Restante disponível",
|
|
73
|
+
"systemRole": "Configuração de papel do sistema",
|
|
74
|
+
"tools": "Configuração de plug-ins",
|
|
75
|
+
"total": "Total disponível",
|
|
76
|
+
"used": "Total utilizado"
|
|
77
|
+
},
|
|
68
78
|
"tokenTag": {
|
|
69
79
|
"overload": "Limite Excedido",
|
|
70
80
|
"remained": "Restante",
|
|
@@ -102,6 +112,7 @@
|
|
|
102
112
|
"updateAgent": "Atualizar Informações do Assistente",
|
|
103
113
|
"upload": {
|
|
104
114
|
"actionTooltip": "Enviar Imagem",
|
|
115
|
+
"disabled": "O modelo atual não suporta reconhecimento visual. Por favor, altere o modelo antes de usar.",
|
|
105
116
|
"dragDesc": "Arraste os arquivos aqui, suporta o envio de várias imagens. Pressione Shift para enviar as imagens diretamente.",
|
|
106
117
|
"dragTitle": "Enviar Imagem"
|
|
107
118
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ModelSelect": {
|
|
3
|
+
"featureTag": {
|
|
4
|
+
"custom": "Modelo personalizado, suporta chamadas de função e reconhecimento visual. Por favor, verifique a disponibilidade dessas capacidades de acordo com a situação real.",
|
|
5
|
+
"functionCall": "Este modelo suporta chamadas de função (Function Call)",
|
|
6
|
+
"tokens": "Este modelo suporta no máximo {{tokens}} tokens por sessão",
|
|
7
|
+
"vision": "Este modelo suporta reconhecimento visual"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
2
10
|
"about": "Sobre",
|
|
3
11
|
"advanceSettings": "Configurações avançadas",
|
|
4
12
|
"agentMaxToken": "Máximo de tokens da sessão",
|
|
@@ -89,6 +97,14 @@
|
|
|
89
97
|
"zh-TW": "Chinês tradicional"
|
|
90
98
|
},
|
|
91
99
|
"layoutInitializing": "Inicializando layout...",
|
|
100
|
+
"modelProvider": {
|
|
101
|
+
"azure": "Azure",
|
|
102
|
+
"bedrock": "AWS Bedrock",
|
|
103
|
+
"google": "Google",
|
|
104
|
+
"oneapi": "One API",
|
|
105
|
+
"openai": "OpenAI",
|
|
106
|
+
"zhipu": "Zhipu AI"
|
|
107
|
+
},
|
|
92
108
|
"noDescription": "Sem descrição",
|
|
93
109
|
"ok": "OK",
|
|
94
110
|
"password": "Senha",
|
package/locales/pt-BR/error.json
CHANGED
|
@@ -33,8 +33,17 @@
|
|
|
33
33
|
"502": "Desculpe, o servidor parece estar temporariamente indisponível. Por favor, tente novamente mais tarde",
|
|
34
34
|
"503": "Desculpe, o servidor não pode processar sua solicitação no momento, possivelmente devido a sobrecarga ou manutenção. Por favor, tente novamente mais tarde",
|
|
35
35
|
"504": "Desculpe, o servidor não recebeu resposta do servidor upstream. Por favor, tente novamente mais tarde",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"AgentRuntimeError": "Erro de execução do modelo de linguagem Lobe, por favor, verifique as informações abaixo ou tente novamente",
|
|
37
|
+
"AzureBizError": "Erro ao solicitar o serviço Azure AI, por favor, verifique as informações abaixo ou tente novamente",
|
|
38
|
+
"BedrockBizError": "Erro ao solicitar o serviço Bedrock, por favor, verifique as informações abaixo ou tente novamente",
|
|
39
|
+
"GoogleBizError": "Erro ao solicitar o serviço Google, por favor, verifique as informações abaixo ou tente novamente",
|
|
40
|
+
"InvalidAccessCode": "Senha de acesso inválida ou em branco. Por favor, insira a senha de acesso correta ou adicione uma Chave de API personalizada.",
|
|
41
|
+
"InvalidAzureAPIKey": "Chave de API Azure incorreta ou vazia, por favor, verifique a chave de API Azure e tente novamente",
|
|
42
|
+
"InvalidBedrockCredentials": "Credenciais Bedrock inválidas, por favor, verifique AccessKeyId/SecretAccessKey e tente novamente",
|
|
43
|
+
"InvalidGoogleAPIKey": "Chave de API Google incorreta ou vazia, por favor, verifique a chave de API Google e tente novamente",
|
|
44
|
+
"InvalidZhipuAPIKey": "Chave de API Zhipu incorreta ou vazia, por favor, verifique a chave de API Zhipu e tente novamente",
|
|
45
|
+
"LocationNotSupportError": "Desculpe, sua localização atual não suporta este serviço de modelo, pode ser devido a restrições geográficas ou serviço não disponível. Por favor, verifique se a localização atual suporta o uso deste serviço ou tente usar outras informações de localização.",
|
|
46
|
+
"NoOpenAIAPIKey": "A chave de API do OpenAI está em branco. Adicione uma chave de API personalizada do OpenAI",
|
|
38
47
|
"OpenAIBizError": "Erro ao solicitar o serviço OpenAI. Verifique ou tente novamente com base nas informações abaixo",
|
|
39
48
|
"PluginApiNotFound": "Desculpe, o API especificado não existe no manifesto do plugin. Verifique se o método de solicitação corresponde ao API do manifesto do plugin",
|
|
40
49
|
"PluginApiParamsError": "Desculpe, a validação dos parâmetros de entrada da solicitação do plugin falhou. Verifique se os parâmetros de entrada correspondem às informações de descrição do API",
|
|
@@ -47,7 +56,8 @@
|
|
|
47
56
|
"PluginMetaNotFound": "Desculpe, o plugin não foi encontrado no índice. Verifique as informações de configuração do plugin no índice",
|
|
48
57
|
"PluginOpenApiInitError": "Desculpe, a inicialização do cliente OpenAPI falhou. Verifique se as informações de configuração do OpenAPI estão corretas",
|
|
49
58
|
"PluginServerError": "Erro na resposta do servidor do plugin. Verifique o arquivo de descrição do plugin, a configuração do plugin ou a implementação do servidor de acordo com as informações de erro abaixo",
|
|
50
|
-
"PluginSettingsInvalid": "Este plugin precisa ser configurado corretamente antes de ser usado. Verifique se sua configuração está correta"
|
|
59
|
+
"PluginSettingsInvalid": "Este plugin precisa ser configurado corretamente antes de ser usado. Verifique se sua configuração está correta",
|
|
60
|
+
"ZhipuBizError": "Erro ao solicitar o serviço Zhipu, por favor, verifique as informações abaixo ou tente novamente"
|
|
51
61
|
},
|
|
52
62
|
"stt": {
|
|
53
63
|
"responseError": "Falha na solicitação de serviço. Verifique a configuração ou tente novamente"
|
|
@@ -57,9 +67,24 @@
|
|
|
57
67
|
},
|
|
58
68
|
"unlock": {
|
|
59
69
|
"apikey": {
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
"Bedrock": {
|
|
71
|
+
"customRegion": "Região de serviço personalizada",
|
|
72
|
+
"description": "Digite seu Aws AccessKeyId / SecretAccessKey para iniciar a sessão. O aplicativo não irá armazenar suas configurações de autenticação",
|
|
73
|
+
"title": "Usar informações de autenticação personalizadas do Bedrock"
|
|
74
|
+
},
|
|
75
|
+
"Google": {
|
|
76
|
+
"description": "Digite sua chave de API Google para iniciar a sessão. O aplicativo não irá armazenar sua chave de API",
|
|
77
|
+
"title": "Usar chave de API Google personalizada"
|
|
78
|
+
},
|
|
79
|
+
"OpenAI": {
|
|
80
|
+
"addProxyUrl": "Adicionar endereço do proxy OpenAI (opcional)",
|
|
81
|
+
"description": "Digite sua chave de API OpenAI para iniciar a sessão. O aplicativo não irá armazenar sua chave de API",
|
|
82
|
+
"title": "Usar chave de API OpenAI personalizada"
|
|
83
|
+
},
|
|
84
|
+
"Zhipu": {
|
|
85
|
+
"description": "Digite sua chave de API Zhipu para iniciar a sessão. O aplicativo não irá armazenar sua chave de API",
|
|
86
|
+
"title": "Usar chave de API Zhipu personalizada"
|
|
87
|
+
}
|
|
63
88
|
},
|
|
64
89
|
"closeMessage": "Fechar mensagem",
|
|
65
90
|
"confirm": "Confirmar e tentar novamente",
|
|
@@ -67,6 +92,10 @@
|
|
|
67
92
|
"description": "O administrador ativou a criptografia do aplicativo. Insira a senha do aplicativo para desbloqueá-lo. A senha só precisa ser inserida uma vez.",
|
|
68
93
|
"placeholder": "Insira a senha",
|
|
69
94
|
"title": "Insira a senha para desbloquear o aplicativo"
|
|
95
|
+
},
|
|
96
|
+
"tabs": {
|
|
97
|
+
"apiKey": "Chave de API personalizada",
|
|
98
|
+
"password": "Senha"
|
|
70
99
|
}
|
|
71
100
|
}
|
|
72
101
|
}
|
|
@@ -22,6 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"llm": {
|
|
24
24
|
"AzureOpenAI": {
|
|
25
|
+
"azureApiVersion": {
|
|
26
|
+
"desc": "Versão da API do Azure, seguindo o formato YYYY-MM-DD, consulte a [última versão](https://learn.microsoft.com/pt-br/azure/ai-services/openai/reference#chat-completions)",
|
|
27
|
+
"fetch": "Buscar",
|
|
28
|
+
"title": "Versão da API do Azure"
|
|
29
|
+
},
|
|
30
|
+
"deployments": {
|
|
31
|
+
"desc": "Preencha com a sintaxe id=nome para seus modelos de implantação (por exemplo, se o nome do modelo e da implantação forem iguais, você pode apenas preencher o nome do modelo), múltiplos modelos são separados por vírgula (,)",
|
|
32
|
+
"title": "Lista de Modelos de Implantação do Azure"
|
|
33
|
+
},
|
|
25
34
|
"endpoint": {
|
|
26
35
|
"desc": "Você pode encontrar este valor na seção 'Chave e Endpoint' ao verificar os recursos no portal Azure",
|
|
27
36
|
"placeholder": "https://docs-test-001.openai.azure.com",
|
|
@@ -38,18 +47,41 @@
|
|
|
38
47
|
"title": "Chave da API"
|
|
39
48
|
}
|
|
40
49
|
},
|
|
50
|
+
"Bedrock": {
|
|
51
|
+
"accessKeyId": {
|
|
52
|
+
"desc": "Insira o Aws Access Key Id",
|
|
53
|
+
"placeholder": "Aws Access Key Id",
|
|
54
|
+
"title": "Aws Access Key Id"
|
|
55
|
+
},
|
|
56
|
+
"checker": {
|
|
57
|
+
"desc": "Verifica se o AccessKeyId / SecretAccessKey está preenchido corretamente"
|
|
58
|
+
},
|
|
59
|
+
"region": {
|
|
60
|
+
"desc": "Insira a Região Aws",
|
|
61
|
+
"placeholder": "Aws Region",
|
|
62
|
+
"title": "Aws Region"
|
|
63
|
+
},
|
|
64
|
+
"secretAccessKey": {
|
|
65
|
+
"desc": "Insira o Aws Secret Access Key",
|
|
66
|
+
"placeholder": "Aws Secret Access Key",
|
|
67
|
+
"title": "Aws Secret Access Key"
|
|
68
|
+
},
|
|
69
|
+
"title": "Bedrock"
|
|
70
|
+
},
|
|
71
|
+
"Google": {
|
|
72
|
+
"title": "Google",
|
|
73
|
+
"token": {
|
|
74
|
+
"desc": "Insira a API Key do Google",
|
|
75
|
+
"placeholder": "Google API Key",
|
|
76
|
+
"title": "API Key"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
41
79
|
"OpenAI": {
|
|
42
80
|
"azureApiVersion": {
|
|
43
81
|
"desc": "Versão da API Azure, no formato YYYY-MM-DD. Consulte a [última versão](https://learn.microsoft.com/pt-br/azure/ai-services/openai/reference#chat-completions)",
|
|
44
82
|
"fetch": "Obter Lista",
|
|
45
83
|
"title": "Versão da API Azure"
|
|
46
84
|
},
|
|
47
|
-
"check": {
|
|
48
|
-
"button": "Verificar",
|
|
49
|
-
"desc": "Verifique se a Chave da API e o Endereço do Proxy estão preenchidos corretamente",
|
|
50
|
-
"pass": "Verificação bem-sucedida",
|
|
51
|
-
"title": "Verificação de Conectividade"
|
|
52
|
-
},
|
|
53
85
|
"customModelName": {
|
|
54
86
|
"desc": "Adicione modelos personalizados, separados por vírgula (,)",
|
|
55
87
|
"placeholder": "modelo1,modelo2,modelo3",
|
|
@@ -82,6 +114,20 @@
|
|
|
82
114
|
"title": "Usar Azure OpenAI"
|
|
83
115
|
}
|
|
84
116
|
},
|
|
117
|
+
"Zhipu": {
|
|
118
|
+
"title": "智谱",
|
|
119
|
+
"token": {
|
|
120
|
+
"desc": "Insira a API Key do Zhipu",
|
|
121
|
+
"placeholder": "Zhipu API Key",
|
|
122
|
+
"title": "API Key"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"checker": {
|
|
126
|
+
"button": "Verificar",
|
|
127
|
+
"desc": "Verifica se a Api Key e o endereço do proxy estão preenchidos corretamente",
|
|
128
|
+
"pass": "Verificação aprovada",
|
|
129
|
+
"title": "Verificação de Conectividade"
|
|
130
|
+
},
|
|
85
131
|
"waitingForMore": "Mais modelos estão sendo <1>planejados para serem adicionados</1>, aguarde ansiosamente ✨"
|
|
86
132
|
},
|
|
87
133
|
"plugin": {
|
|
@@ -293,6 +339,7 @@
|
|
|
293
339
|
"builtins": {
|
|
294
340
|
"groupName": "Integrados"
|
|
295
341
|
},
|
|
342
|
+
"disabled": "O modelo atual não suporta chamadas de função e não pode usar plugins",
|
|
296
343
|
"plugins": {
|
|
297
344
|
"enabled": "Ativado {{num}}",
|
|
298
345
|
"groupName": "Plugins",
|
package/locales/ru-RU/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
|
}
|