@lobehub/chat 0.146.2 → 0.147.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 +3 -5
- package/.github/workflows/issue-close-require.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.github/workflows/test.yml +3 -1
- package/.i18nrc.js +13 -8
- package/.seorc.cjs +9 -0
- package/CHANGELOG.md +73 -0
- package/README.md +25 -25
- package/README.zh-CN.md +25 -25
- package/contributing/Home.md +1 -1
- package/docs/self-hosting/advanced/analytics.mdx +12 -0
- package/docs/self-hosting/advanced/analytics.zh-CN.mdx +10 -0
- package/docs/self-hosting/advanced/authentication.mdx +19 -0
- package/docs/self-hosting/advanced/authentication.zh-CN.mdx +15 -0
- package/docs/self-hosting/advanced/sso-providers/auth0.mdx +19 -2
- package/docs/self-hosting/advanced/sso-providers/auth0.zh-CN.mdx +15 -2
- package/docs/self-hosting/advanced/sso-providers/authentik.mdx +18 -3
- package/docs/self-hosting/advanced/sso-providers/authentik.zh-CN.mdx +14 -2
- package/docs/self-hosting/advanced/sso-providers/github.mdx +13 -0
- package/docs/self-hosting/advanced/sso-providers/github.zh-CN.mdx +13 -3
- package/docs/self-hosting/advanced/sso-providers/microsoft-entra-id.mdx +18 -2
- package/docs/self-hosting/advanced/sso-providers/microsoft-entra-id.zh-CN.mdx +15 -2
- package/docs/self-hosting/advanced/sso-providers/zitadel.mdx +17 -2
- package/docs/self-hosting/advanced/sso-providers/zitadel.zh-CN.mdx +14 -2
- package/docs/self-hosting/advanced/upstream-sync.mdx +13 -0
- package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +10 -0
- package/docs/self-hosting/environment-variables/analytics.mdx +15 -0
- package/docs/self-hosting/environment-variables/analytics.zh-CN.mdx +13 -0
- package/docs/self-hosting/environment-variables/auth.mdx +14 -0
- package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +15 -1
- package/docs/self-hosting/environment-variables/basic.mdx +15 -0
- package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +11 -0
- package/docs/self-hosting/environment-variables/model-provider.mdx +26 -0
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +10 -0
- package/docs/self-hosting/environment-variables.mdx +13 -2
- package/docs/self-hosting/environment-variables.zh-CN.mdx +9 -0
- package/docs/self-hosting/examples/azure-openai.mdx +12 -0
- package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +12 -0
- package/docs/self-hosting/examples/ollama.mdx +13 -0
- package/docs/self-hosting/examples/ollama.zh-CN.mdx +11 -0
- package/docs/self-hosting/faq/no-v1-suffix.mdx +12 -0
- package/docs/self-hosting/faq/no-v1-suffix.zh-CN.mdx +9 -0
- package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.mdx +14 -0
- package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.zh-CN.mdx +11 -0
- package/docs/self-hosting/platform/docker-compose.mdx +21 -5
- package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +18 -5
- package/docs/self-hosting/platform/docker.mdx +26 -8
- package/docs/self-hosting/platform/docker.zh-CN.mdx +27 -9
- package/docs/self-hosting/platform/netlify.mdx +18 -2
- package/docs/self-hosting/platform/netlify.zh-CN.mdx +14 -1
- package/docs/self-hosting/platform/railway.mdx +12 -0
- package/docs/self-hosting/platform/railway.zh-CN.mdx +11 -0
- package/docs/self-hosting/platform/repocloud.mdx +12 -0
- package/docs/self-hosting/platform/repocloud.zh-CN.mdx +10 -0
- package/docs/self-hosting/platform/sealos.mdx +11 -0
- package/docs/self-hosting/platform/sealos.zh-CN.mdx +10 -0
- package/docs/self-hosting/platform/vercel.mdx +12 -0
- package/docs/self-hosting/platform/vercel.zh-CN.mdx +11 -0
- package/docs/self-hosting/platform/zeabur.mdx +11 -0
- package/docs/self-hosting/platform/zeabur.zh-CN.mdx +10 -0
- package/docs/self-hosting/start.mdx +12 -0
- package/docs/self-hosting/start.zh-CN.mdx +13 -0
- package/docs/usage/agents/concepts.mdx +13 -0
- package/docs/usage/agents/concepts.zh-CN.mdx +10 -0
- package/docs/usage/agents/custom-agent.mdx +16 -2
- package/docs/usage/agents/custom-agent.zh-CN.mdx +14 -2
- package/docs/usage/agents/model.mdx +11 -2
- package/docs/usage/agents/model.zh-CN.mdx +12 -0
- package/docs/usage/agents/prompt.mdx +15 -0
- package/docs/usage/agents/prompt.zh-CN.mdx +10 -0
- package/docs/usage/agents/topics.mdx +13 -0
- package/docs/usage/agents/topics.zh-CN.mdx +11 -0
- package/docs/usage/features/agent-market.mdx +11 -1
- package/docs/usage/features/agent-market.zh-CN.mdx +13 -0
- package/docs/usage/features/local-llm.mdx +12 -2
- package/docs/usage/features/local-llm.zh-CN.mdx +3 -3
- package/docs/usage/features/mobile.mdx +10 -1
- package/docs/usage/features/mobile.zh-CN.mdx +11 -0
- package/docs/usage/features/more.mdx +13 -0
- package/docs/usage/features/more.zh-CN.mdx +10 -0
- package/docs/usage/features/multi-ai-providers.mdx +14 -1
- package/docs/usage/features/multi-ai-providers.zh-CN.mdx +16 -0
- package/docs/usage/features/plugin-system.mdx +12 -1
- package/docs/usage/features/plugin-system.zh-CN.mdx +9 -0
- package/docs/usage/features/pwa.mdx +11 -1
- package/docs/usage/features/pwa.zh-CN.mdx +13 -0
- package/docs/usage/features/text-to-image.mdx +11 -1
- package/docs/usage/features/text-to-image.zh-CN.mdx +13 -0
- package/docs/usage/features/theme.mdx +12 -1
- package/docs/usage/features/theme.zh-CN.mdx +11 -0
- package/docs/usage/features/tts.mdx +14 -1
- package/docs/usage/features/tts.zh-CN.mdx +12 -0
- package/docs/usage/features/vision.mdx +11 -1
- package/docs/usage/features/vision.zh-CN.mdx +10 -0
- package/docs/usage/plugins/basic-usage.mdx +12 -0
- package/docs/usage/plugins/basic-usage.zh-CN.mdx +10 -0
- package/docs/usage/plugins/custom-plugin.mdx +12 -0
- package/docs/usage/plugins/custom-plugin.zh-CN.mdx +10 -0
- package/docs/usage/plugins/development.mdx +18 -0
- package/docs/usage/plugins/development.zh-CN.mdx +12 -0
- package/docs/usage/plugins/store.mdx +12 -0
- package/docs/usage/plugins/store.zh-CN.mdx +9 -0
- package/docs/usage/providers/groq.mdx +14 -2
- package/docs/usage/providers/groq.zh-CN.mdx +12 -2
- package/docs/usage/providers/ollama/gemma.mdx +13 -3
- package/docs/usage/providers/ollama/gemma.zh-CN.mdx +12 -3
- package/docs/usage/providers/ollama/qwen.mdx +12 -4
- package/docs/usage/providers/ollama/qwen.zh-CN.mdx +10 -3
- package/docs/usage/providers/ollama.mdx +19 -9
- package/docs/usage/providers/ollama.zh-CN.mdx +20 -9
- package/docs/usage/start.mdx +13 -2
- package/docs/usage/start.zh-CN.mdx +11 -2
- package/locales/ar/common.json +0 -26
- package/locales/ar/components.json +15 -0
- package/locales/ar/error.json +1 -52
- package/locales/ar/modelProvider.json +226 -0
- package/locales/ar/setting.json +48 -199
- package/locales/bg-BG/common.json +0 -26
- package/locales/bg-BG/components.json +15 -0
- package/locales/bg-BG/error.json +1 -52
- package/locales/bg-BG/modelProvider.json +226 -0
- package/locales/bg-BG/setting.json +48 -199
- package/locales/de-DE/common.json +0 -26
- package/locales/de-DE/components.json +15 -0
- package/locales/de-DE/error.json +1 -52
- package/locales/de-DE/modelProvider.json +226 -0
- package/locales/de-DE/setting.json +48 -199
- package/locales/en-US/common.json +0 -26
- package/locales/en-US/components.json +15 -0
- package/locales/en-US/error.json +1 -52
- package/locales/en-US/modelProvider.json +226 -0
- package/locales/en-US/setting.json +48 -199
- package/locales/es-ES/common.json +0 -26
- package/locales/es-ES/components.json +15 -0
- package/locales/es-ES/error.json +1 -52
- package/locales/es-ES/modelProvider.json +226 -0
- package/locales/es-ES/setting.json +48 -199
- package/locales/fr-FR/common.json +0 -26
- package/locales/fr-FR/components.json +15 -0
- package/locales/fr-FR/error.json +1 -52
- package/locales/fr-FR/modelProvider.json +226 -0
- package/locales/fr-FR/setting.json +48 -199
- package/locales/it-IT/common.json +0 -26
- package/locales/it-IT/components.json +15 -0
- package/locales/it-IT/error.json +1 -52
- package/locales/it-IT/modelProvider.json +226 -0
- package/locales/it-IT/setting.json +59 -210
- package/locales/ja-JP/common.json +0 -26
- package/locales/ja-JP/components.json +15 -0
- package/locales/ja-JP/error.json +1 -52
- package/locales/ja-JP/modelProvider.json +226 -0
- package/locales/ja-JP/setting.json +59 -210
- package/locales/ko-KR/common.json +0 -26
- package/locales/ko-KR/components.json +15 -0
- package/locales/ko-KR/error.json +1 -52
- package/locales/ko-KR/modelProvider.json +226 -0
- package/locales/ko-KR/setting.json +48 -199
- package/locales/nl-NL/common.json +0 -26
- package/locales/nl-NL/components.json +15 -0
- package/locales/nl-NL/error.json +4 -55
- package/locales/nl-NL/modelProvider.json +226 -0
- package/locales/nl-NL/setting.json +49 -200
- package/locales/pl-PL/common.json +0 -26
- package/locales/pl-PL/components.json +15 -0
- package/locales/pl-PL/error.json +1 -52
- package/locales/pl-PL/modelProvider.json +226 -0
- package/locales/pl-PL/setting.json +48 -199
- package/locales/pt-BR/common.json +0 -26
- package/locales/pt-BR/components.json +15 -0
- package/locales/pt-BR/error.json +1 -52
- package/locales/pt-BR/modelProvider.json +226 -0
- package/locales/pt-BR/setting.json +48 -199
- package/locales/ru-RU/common.json +0 -26
- package/locales/ru-RU/components.json +15 -0
- package/locales/ru-RU/error.json +1 -52
- package/locales/ru-RU/modelProvider.json +226 -0
- package/locales/ru-RU/setting.json +48 -199
- package/locales/tr-TR/common.json +0 -26
- package/locales/tr-TR/components.json +15 -0
- package/locales/tr-TR/error.json +1 -52
- package/locales/tr-TR/modelProvider.json +226 -0
- package/locales/tr-TR/setting.json +48 -199
- package/locales/vi-VN/common.json +0 -26
- package/locales/vi-VN/components.json +15 -0
- package/locales/vi-VN/error.json +1 -52
- package/locales/vi-VN/modelProvider.json +226 -0
- package/locales/vi-VN/setting.json +48 -199
- package/locales/zh-CN/common.json +0 -26
- package/locales/zh-CN/components.json +15 -0
- package/locales/zh-CN/error.json +2 -53
- package/locales/zh-CN/modelProvider.json +226 -0
- package/locales/zh-CN/setting.json +48 -199
- package/locales/zh-TW/common.json +0 -26
- package/locales/zh-TW/components.json +15 -0
- package/locales/zh-TW/error.json +1 -52
- package/locales/zh-TW/modelProvider.json +226 -0
- package/locales/zh-TW/setting.json +48 -199
- package/package.json +120 -116
- package/scripts/mdxWorkflow/index.ts +48 -0
- package/src/app/api/chat/[provider]/route.test.ts +4 -9
- package/src/app/api/chat/[provider]/route.ts +6 -23
- package/src/app/api/chat/{[provider]/agentRuntime.test.ts → agentRuntime.test.ts} +12 -12
- package/src/app/api/chat/{[provider]/agentRuntime.ts → agentRuntime.ts} +11 -30
- package/src/app/api/chat/auth/index.ts +42 -0
- package/src/app/api/chat/models/[provider]/route.ts +45 -0
- package/src/app/api/config/__snapshots__/route.test.ts.snap +127 -0
- package/src/app/api/config/route.test.ts +170 -0
- package/src/app/api/config/route.ts +46 -11
- package/src/app/api/plugin/gateway/route.ts +1 -1
- package/src/app/settings/llm/Azure/index.tsx +36 -43
- package/src/app/settings/llm/Bedrock/index.tsx +12 -20
- package/src/app/settings/llm/Ollama/index.tsx +2 -2
- package/src/app/settings/llm/OpenAI/index.tsx +9 -121
- package/src/app/settings/llm/OpenRouter/index.tsx +1 -1
- package/src/app/settings/llm/TogetherAI/index.tsx +0 -1
- package/src/app/settings/llm/components/ProviderConfig/index.tsx +48 -32
- package/src/app/settings/llm/components/ProviderModelList/CustomModelOption.tsx +94 -0
- package/src/app/settings/llm/components/ProviderModelList/MaxTokenSlider.tsx +88 -0
- package/src/app/settings/llm/components/ProviderModelList/ModelConfigModal.tsx +128 -0
- package/src/app/settings/llm/components/ProviderModelList/ModelFetcher.tsx +81 -0
- package/src/app/settings/llm/components/ProviderModelList/Option.tsx +38 -0
- package/src/app/settings/llm/components/ProviderModelList/index.tsx +142 -0
- package/src/app/settings/llm/const.ts +1 -1
- package/src/app/settings/llm/index.tsx +7 -6
- package/src/app/settings/tts/TTS/index.tsx +1 -1
- package/src/components/AntdStaticMethods/index.test.tsx +43 -0
- package/src/components/ModelIcon/index.tsx +25 -7
- package/src/components/ModelSelect/index.tsx +67 -56
- package/src/config/modelProviders/anthropic.ts +6 -1
- package/src/config/modelProviders/azure.ts +42 -0
- package/src/config/modelProviders/bedrock.ts +4 -1
- package/src/config/modelProviders/google.ts +2 -14
- package/src/config/modelProviders/groq.ts +3 -0
- package/src/config/modelProviders/index.ts +19 -14
- package/src/config/modelProviders/mistral.ts +5 -0
- package/src/config/modelProviders/moonshot.ts +3 -1
- package/src/config/modelProviders/ollama.ts +6 -17
- package/src/config/modelProviders/openai.ts +9 -13
- package/src/config/modelProviders/openrouter.ts +6 -1
- package/src/config/modelProviders/perplexity.ts +2 -0
- package/src/config/modelProviders/togetherai.ts +11 -0
- package/src/config/modelProviders/zeroone.ts +3 -0
- package/src/config/modelProviders/zhipu.ts +3 -0
- package/src/config/server/provider.ts +52 -7
- package/src/const/auth.ts +0 -1
- package/src/const/{settings.ts → settings/index.ts} +31 -4
- package/src/const/url.ts +1 -1
- package/src/database/core/db.ts +14 -0
- package/src/database/schemas/user.ts +1 -25
- package/src/features/AgentSetting/AgentConfig/ModelSelect.tsx +7 -11
- package/src/features/ChatInput/STT/common.tsx +80 -78
- package/src/features/ChatInput/STT/index.tsx +8 -6
- package/src/features/Conversation/Error/APIKeyForm/Bedrock.tsx +8 -8
- package/src/features/Conversation/Error/APIKeyForm/ProviderApiKeyForm.tsx +73 -0
- package/src/features/Conversation/Error/APIKeyForm/ProviderAvatar.tsx +74 -0
- package/src/features/Conversation/Error/APIKeyForm/index.tsx +25 -49
- package/src/features/ModelSwitchPanel/index.tsx +40 -13
- package/src/hooks/_header.ts +5 -20
- package/src/libs/agent-runtime/BaseAI.ts +17 -1
- package/src/libs/agent-runtime/anthropic/index.ts +3 -7
- package/src/libs/agent-runtime/azureOpenai/index.test.ts +166 -0
- package/src/libs/agent-runtime/azureOpenai/index.ts +16 -8
- package/src/libs/agent-runtime/bedrock/index.test.ts +199 -22
- package/src/libs/agent-runtime/bedrock/index.ts +11 -18
- package/src/libs/agent-runtime/groq/index.test.ts +350 -0
- package/src/libs/agent-runtime/groq/index.ts +14 -77
- package/src/libs/agent-runtime/mistral/index.test.ts +25 -19
- package/src/libs/agent-runtime/mistral/index.ts +24 -86
- package/src/libs/agent-runtime/moonshot/index.test.ts +2 -2
- package/src/libs/agent-runtime/moonshot/index.ts +14 -77
- package/src/libs/agent-runtime/openai/__snapshots__/index.test.ts.snap +99 -0
- package/src/libs/agent-runtime/openai/fixtures/openai-models.json +170 -0
- package/src/libs/agent-runtime/openai/index.test.ts +15 -50
- package/src/libs/agent-runtime/openai/index.ts +15 -107
- package/src/libs/agent-runtime/openrouter/__snapshots__/index.test.ts.snap +82 -0
- package/src/libs/agent-runtime/openrouter/fixtures/models.json +62 -0
- package/src/libs/agent-runtime/openrouter/index.test.ts +25 -9
- package/src/libs/agent-runtime/openrouter/index.ts +42 -84
- package/src/libs/agent-runtime/openrouter/type.ts +28 -0
- package/src/libs/agent-runtime/togetherai/index.test.ts +12 -9
- package/src/libs/agent-runtime/togetherai/index.ts +20 -85
- package/src/libs/agent-runtime/utils/anthropicHelpers.test.ts +14 -22
- package/src/libs/agent-runtime/utils/anthropicHelpers.ts +4 -10
- package/src/libs/agent-runtime/utils/openaiCompatibleFactory/index.ts +147 -0
- package/src/libs/agent-runtime/zeroone/index.test.ts +350 -0
- package/src/libs/agent-runtime/zeroone/index.ts +14 -77
- package/src/locales/default/common.ts +0 -28
- package/src/locales/default/components.ts +15 -0
- package/src/locales/default/error.ts +2 -54
- package/src/locales/default/index.ts +4 -0
- package/src/locales/default/modelProvider.ts +229 -0
- package/src/locales/default/setting.ts +51 -202
- package/src/migrations/FromV3ToV4/fixtures/azure-input-v3.json +79 -0
- package/src/migrations/FromV3ToV4/fixtures/azure-output-v4.json +75 -0
- package/src/migrations/FromV3ToV4/fixtures/ollama-input-v3.json +85 -0
- package/src/migrations/FromV3ToV4/fixtures/ollama-output-v4.json +86 -0
- package/src/migrations/FromV3ToV4/fixtures/openai-input-v3.json +77 -0
- package/src/migrations/FromV3ToV4/fixtures/openai-output-v4.json +79 -0
- package/src/migrations/FromV3ToV4/fixtures/openrouter-input-v3.json +82 -0
- package/src/migrations/FromV3ToV4/fixtures/openrouter-output-v4.json +89 -0
- package/src/migrations/FromV3ToV4/fixtures/output-v4-from-v1.json +203 -0
- package/src/migrations/FromV3ToV4/index.ts +96 -0
- package/src/migrations/FromV3ToV4/migrations.test.ts +195 -0
- package/src/migrations/FromV3ToV4/types/v3.ts +59 -0
- package/src/migrations/FromV3ToV4/types/v4.ts +37 -0
- package/src/migrations/index.ts +11 -3
- package/src/services/_auth.test.ts +4 -6
- package/src/services/_auth.ts +8 -60
- package/src/services/_header.ts +5 -22
- package/src/services/_url.ts +1 -0
- package/src/services/chat.ts +16 -6
- package/src/services/global.ts +1 -1
- package/src/services/models.ts +23 -0
- package/src/services/ollama.ts +2 -2
- package/src/store/chat/slices/share/action.test.ts +113 -0
- package/src/store/chat/slices/share/action.ts +1 -1
- package/src/store/global/slices/common/action.test.ts +166 -1
- package/src/store/global/slices/common/action.ts +2 -1
- package/src/store/global/slices/settings/{action.test.ts → actions/general.test.ts} +1 -19
- package/src/store/global/slices/settings/{action.ts → actions/general.ts} +4 -19
- package/src/store/global/slices/settings/actions/index.ts +18 -0
- package/src/store/global/slices/settings/actions/llm.test.ts +60 -0
- package/src/store/global/slices/settings/actions/llm.ts +88 -0
- package/src/store/global/slices/settings/initialState.ts +3 -1
- package/src/store/global/slices/settings/reducers/customModelCard.test.ts +204 -0
- package/src/store/global/slices/settings/reducers/customModelCard.ts +64 -0
- package/src/store/global/slices/settings/selectors/index.ts +1 -0
- package/src/store/global/slices/settings/selectors/modelConfig.test.ts +189 -0
- package/src/store/global/slices/settings/selectors/modelConfig.ts +179 -0
- package/src/store/global/slices/settings/selectors/modelProvider.test.ts +47 -138
- package/src/store/global/slices/settings/selectors/modelProvider.ts +102 -243
- package/src/store/global/store.ts +1 -1
- package/src/types/llm.ts +12 -1
- package/src/types/serverConfig.ts +22 -0
- package/src/types/settings/index.ts +0 -12
- package/src/types/settings/modelProvider.ts +34 -90
- package/src/utils/client/switchLang.test.ts +34 -0
- package/src/utils/difference.test.ts +46 -0
- package/src/utils/difference.ts +15 -2
- package/src/utils/fetch.ts +1 -3
- package/src/utils/parseModels.ts +62 -0
- package/vercel.json +1 -1
- package/docs/package.json +0 -5
- package/src/features/Conversation/Error/APIKeyForm/Anthropic.tsx +0 -40
- package/src/features/Conversation/Error/APIKeyForm/Google.tsx +0 -61
- package/src/features/Conversation/Error/APIKeyForm/Groq.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/Mistral.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/Moonshot.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/OpenAI.tsx +0 -63
- package/src/features/Conversation/Error/APIKeyForm/OpenRouter.tsx +0 -40
- package/src/features/Conversation/Error/APIKeyForm/Perplexity.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/TogetherAI.tsx +0 -40
- package/src/features/Conversation/Error/APIKeyForm/ZeroOne.tsx +0 -60
- package/src/features/Conversation/Error/APIKeyForm/Zhipu.tsx +0 -62
- package/src/libs/agent-runtime/utils/env.ts +0 -1
- package/src/store/global/slices/settings/selectors/__snapshots__/modelProvider.test.ts.snap +0 -230
- /package/src/app/api/chat/{auth.ts → auth/utils.ts} +0 -0
- /package/src/components/{AntdStaticMethods.tsx → AntdStaticMethods/index.tsx} +0 -0
|
@@ -31,215 +31,63 @@
|
|
|
31
31
|
"sessionWithName": "Cài đặt cuộc trò chuyện · {{name}}"
|
|
32
32
|
},
|
|
33
33
|
"llm": {
|
|
34
|
-
"anthropic": {
|
|
35
|
-
"endpoint": {
|
|
36
|
-
"desc": "Ngoài địa chỉ mặc định, phải bao gồm http(s)://",
|
|
37
|
-
"placeholder": "https://api.anthropic.com",
|
|
38
|
-
"title": "Địa chỉ API proxy"
|
|
39
|
-
},
|
|
40
|
-
"title": "Anthropic",
|
|
41
|
-
"token": {
|
|
42
|
-
"desc": "Nhập API Key từ Anthropic",
|
|
43
|
-
"placeholder": "Anthropic API Key",
|
|
44
|
-
"title": "API Key"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"azure": {
|
|
48
|
-
"azureApiVersion": {
|
|
49
|
-
"desc": "Phiên bản API của Azure, tuân theo định dạng YYYY-MM-DD, tham khảo [phiên bản mới nhất](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
|
|
50
|
-
"fetch": "Lấy danh sách",
|
|
51
|
-
"title": "Phiên bản API Azure"
|
|
52
|
-
},
|
|
53
|
-
"deployments": {
|
|
54
|
-
"desc": "Sử dụng cú pháp id=name để điền mô hình triển khai của bạn (nếu tên triển khai và mô hình giống nhau, bạn chỉ cần điền tên mô hình), sử dụng dấu phẩy (,) để tách biệt nhiều mô hình",
|
|
55
|
-
"title": "Danh sách mô hình triển khai Azure"
|
|
56
|
-
},
|
|
57
|
-
"endpoint": {
|
|
58
|
-
"desc": "Kiểm tra tài nguyên từ cổng Azure, bạn có thể tìm thấy giá trị này trong phần 'Khóa và điểm cuối'",
|
|
59
|
-
"placeholder": "https://docs-test-001.openai.azure.com",
|
|
60
|
-
"title": "Địa chỉ API Azure"
|
|
61
|
-
},
|
|
62
|
-
"models": {
|
|
63
|
-
"desc": "Mô hình được hỗ trợ",
|
|
64
|
-
"title": "Danh sách mô hình"
|
|
65
|
-
},
|
|
66
|
-
"title": "Azure OpenAI",
|
|
67
|
-
"token": {
|
|
68
|
-
"desc": "Kiểm tra tài nguyên từ cổng Azure, bạn có thể tìm thấy giá trị này trong phần 'Khóa và điểm cuối'. Có thể sử dụng KEY1 hoặc KEY2",
|
|
69
|
-
"placeholder": "Azure API Key",
|
|
70
|
-
"title": "API Key"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"bedrock": {
|
|
74
|
-
"accessKeyId": {
|
|
75
|
-
"desc": "Nhập AWS Access Key Id",
|
|
76
|
-
"placeholder": "AWS Access Key Id",
|
|
77
|
-
"title": "AWS Access Key Id"
|
|
78
|
-
},
|
|
79
|
-
"checker": {
|
|
80
|
-
"desc": "Kiểm tra AccessKeyId / SecretAccessKey có được nhập chính xác không"
|
|
81
|
-
},
|
|
82
|
-
"region": {
|
|
83
|
-
"desc": "Nhập AWS Region",
|
|
84
|
-
"placeholder": "AWS Region",
|
|
85
|
-
"title": "AWS Region"
|
|
86
|
-
},
|
|
87
|
-
"secretAccessKey": {
|
|
88
|
-
"desc": "Nhập AWS Secret Access Key",
|
|
89
|
-
"placeholder": "AWS Secret Access Key",
|
|
90
|
-
"title": "AWS Secret Access Key"
|
|
91
|
-
},
|
|
92
|
-
"title": "Bedrock"
|
|
93
|
-
},
|
|
94
34
|
"checker": {
|
|
95
35
|
"button": "Kiểm tra",
|
|
96
36
|
"desc": "Kiểm tra xem Api Key và địa chỉ proxy đã được điền đúng chưa",
|
|
37
|
+
"ollamaDesc": "Kiểm tra xem địa chỉ proxy đã được điền đúng chưa",
|
|
97
38
|
"pass": "Kiểm tra thành công",
|
|
98
39
|
"title": "Kiểm tra kết nối"
|
|
99
40
|
},
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
},
|
|
136
|
-
"customModelName": {
|
|
137
|
-
"desc": "Thêm mô hình tùy chỉnh, sử dụng dấu phẩy (,) để tách biệt nhiều mô hình",
|
|
138
|
-
"placeholder": "vicuna,llava,codellama,llama2:13b-text",
|
|
139
|
-
"title": "Tên mô hình tùy chỉnh"
|
|
140
|
-
},
|
|
141
|
-
"endpoint": {
|
|
142
|
-
"desc": "Nhập địa chỉ proxy API của Ollama, có thể để trống nếu không chỉ định cụ thể",
|
|
143
|
-
"placeholder": "http://127.0.0.1:11434/v1",
|
|
144
|
-
"title": "Địa chỉ proxy API"
|
|
145
|
-
},
|
|
146
|
-
"title": "Ollama"
|
|
147
|
-
},
|
|
148
|
-
"openai": {
|
|
149
|
-
"azureApiVersion": {
|
|
150
|
-
"desc": "Phiên bản API của Azure, tuân theo định dạng YYYY-MM-DD, tham khảo [phiên bản mới nhất](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
|
|
151
|
-
"fetch": "Lấy danh sách",
|
|
152
|
-
"title": "Phiên bản API Azure"
|
|
153
|
-
},
|
|
154
|
-
"customModelName": {
|
|
155
|
-
"desc": "Thêm mô hình tùy chỉnh, sử dụng dấu phẩy (,) để tách biệt nhiều mô hình",
|
|
156
|
-
"placeholder": "model1,model2,model3",
|
|
157
|
-
"title": "Tên mô hình tùy chỉnh"
|
|
158
|
-
},
|
|
159
|
-
"endpoint": {
|
|
160
|
-
"desc": "Ngoài địa chỉ mặc định, phải bao gồm http(s)://",
|
|
161
|
-
"placeholder": "https://api.openai.com/v1",
|
|
162
|
-
"title": "Địa chỉ proxy API"
|
|
163
|
-
},
|
|
164
|
-
"models": {
|
|
165
|
-
"count": "Tổng cộng hỗ trợ {{count}} mô hình",
|
|
166
|
-
"desc": "Mô hình được hỗ trợ",
|
|
167
|
-
"fetch": "Lấy danh sách mô hình",
|
|
168
|
-
"notSupport": "Azure OpenAI tạm thời không hỗ trợ xem danh sách mô hình",
|
|
169
|
-
"notSupportTip": "Bạn cần tự đảm bảo tên triển khai và tên mô hình phải giống nhau",
|
|
170
|
-
"refetch": "Lấy lại danh sách mô hình",
|
|
171
|
-
"title": "Danh sách mô hình"
|
|
172
|
-
},
|
|
173
|
-
"title": "OpenAI",
|
|
174
|
-
"token": {
|
|
175
|
-
"desc": "Sử dụng OpenAI Key của riêng bạn",
|
|
176
|
-
"placeholder": "OpenAI API Key",
|
|
177
|
-
"title": "API Key"
|
|
178
|
-
},
|
|
179
|
-
"useAzure": {
|
|
180
|
-
"desc": "Sử dụng dịch vụ OpenAI do Azure cung cấp",
|
|
181
|
-
"fetch": "Lấy danh sách",
|
|
182
|
-
"serverConfig": "Quản trị viên đã cấu hình kích hoạt Azure OpenAI ở phía máy chủ, không được phép chuyển đổi",
|
|
183
|
-
"title": "Azure OpenAI"
|
|
41
|
+
"customModelCards": {
|
|
42
|
+
"addNew": "Tạo và thêm mô hình {{id}}",
|
|
43
|
+
"config": "Cấu hình mô hình",
|
|
44
|
+
"confirmDelete": "Bạn sắp xóa mô hình tùy chỉnh này, sau khi xóa sẽ không thể khôi phục, hãy thận trọng.",
|
|
45
|
+
"modelConfig": {
|
|
46
|
+
"azureDeployName": {
|
|
47
|
+
"extra": "Trường thực tế được yêu cầu trong Azure OpenAI",
|
|
48
|
+
"placeholder": "Nhập tên triển khai mô hình trong Azure",
|
|
49
|
+
"title": "Tên triển khai mô hình"
|
|
50
|
+
},
|
|
51
|
+
"displayName": {
|
|
52
|
+
"placeholder": "Nhập tên hiển thị của mô hình, ví dụ ChatGPT, GPT-4, v.v.",
|
|
53
|
+
"title": "Tên hiển thị mô hình"
|
|
54
|
+
},
|
|
55
|
+
"files": {
|
|
56
|
+
"extra": "Hiện tại, việc tải lên tệp trong LobeChat chỉ là một phương pháp tạm thời, chỉ dành cho mục đích thử nghiệm. Chờ đợi tính năng tải lên tệp đầy đủ trong tương lai",
|
|
57
|
+
"title": "Hỗ trợ tải lên tệp"
|
|
58
|
+
},
|
|
59
|
+
"functionCall": {
|
|
60
|
+
"extra": "Cấu hình này chỉ mở khả năng gọi hàm trong LobeChat, việc hỗ trợ gọi hàm hoàn toàn phụ thuộc vào mô hình chính mình, hãy tự kiểm tra tính khả dụng của khả năng gọi hàm của mô hình",
|
|
61
|
+
"title": "Hỗ trợ gọi hàm"
|
|
62
|
+
},
|
|
63
|
+
"id": {
|
|
64
|
+
"extra": "Sẽ được hiển thị như một nhãn mô hình",
|
|
65
|
+
"placeholder": "Nhập ID mô hình, ví dụ gpt-4-turbo-preview hoặc claude-2.1",
|
|
66
|
+
"title": "ID mô hình"
|
|
67
|
+
},
|
|
68
|
+
"modalTitle": "Cấu hình mô hình tùy chỉnh",
|
|
69
|
+
"tokens": {
|
|
70
|
+
"title": "Số lượng token tối đa"
|
|
71
|
+
},
|
|
72
|
+
"vision": {
|
|
73
|
+
"extra": "Cấu hình này chỉ mở khả năng tải lên hình ảnh trong LobeChat, việc hỗ trợ nhận diện hoàn toàn phụ thuộc vào mô hình chính mình, hãy tự kiểm tra tính khả dụng của khả năng nhận diện hình ảnh của mô hình",
|
|
74
|
+
"title": "Hỗ trợ nhận diện hình ảnh"
|
|
75
|
+
}
|
|
184
76
|
}
|
|
185
77
|
},
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
|
|
189
|
-
},
|
|
190
|
-
"
|
|
191
|
-
"desc": "Thêm mô hình tùy chỉnh, sử dụng dấu phẩy (,) để tách biệt nhiều mô hình",
|
|
192
|
-
"placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
|
|
193
|
-
"title": "Tên mô hình tùy chỉnh"
|
|
194
|
-
},
|
|
195
|
-
"title": "OpenRouter",
|
|
196
|
-
"token": {
|
|
197
|
-
"desc": "Nhập API Key từ OpenRouter AI",
|
|
198
|
-
"placeholder": "OpenRouter AI API Key",
|
|
199
|
-
"title": "API Key"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
"perplexity": {
|
|
203
|
-
"title": "Perplexity",
|
|
204
|
-
"token": {
|
|
205
|
-
"desc": "Nhập API Key từ Perplexity AI",
|
|
206
|
-
"placeholder": "Perplexity AI API Key",
|
|
207
|
-
"title": "API Key"
|
|
208
|
-
}
|
|
78
|
+
"fetcher": {
|
|
79
|
+
"fetch": "Lấy danh sách mô hình",
|
|
80
|
+
"fetching": "Đang lấy danh sách mô hình...",
|
|
81
|
+
"latestTime": "Thời gian cập nhật lần cuối: {{time}}",
|
|
82
|
+
"noLatestTime": "Chưa có danh sách nào được lấy"
|
|
209
83
|
},
|
|
210
|
-
"
|
|
211
|
-
"
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
"
|
|
215
|
-
"desc": "Thêm mô hình tùy chỉnh, sử dụng dấu phẩy (,) để tách biệt nhiều mô hình",
|
|
216
|
-
"placeholder": "togethercomputer/Llama-2-7B-32K-Instruct,teknium/OpenHermes-2-Mistral-7B",
|
|
217
|
-
"title": "Tên mô hình tùy chỉnh"
|
|
218
|
-
},
|
|
219
|
-
"title": "TogetherAI",
|
|
220
|
-
"token": {
|
|
221
|
-
"desc": "Nhập API Key từ TogetherAI AI",
|
|
222
|
-
"placeholder": "TogetherAI AI API Key",
|
|
223
|
-
"title": "API Key"
|
|
224
|
-
}
|
|
84
|
+
"modelList": {
|
|
85
|
+
"desc": "Chọn mô hình hiển thị trong cuộc trò chuyện, mô hình đã chọn sẽ được hiển thị trong danh sách mô hình",
|
|
86
|
+
"placeholder": "Vui lòng chọn mô hình từ danh sách",
|
|
87
|
+
"title": "Danh sách mô hình",
|
|
88
|
+
"total": "Tổng cộng có {{count}} mô hình có sẵn"
|
|
225
89
|
},
|
|
226
|
-
"waitingForMore": "Có thêm mô hình đang <1>được lên kế hoạch tích hợp</1>, hãy chờ đợi ✨"
|
|
227
|
-
"zeroone": {
|
|
228
|
-
"title": "01.AI Zero One",
|
|
229
|
-
"token": {
|
|
230
|
-
"desc": "Nhập API Key từ 01.AI Zero One",
|
|
231
|
-
"placeholder": "01.AI Zero One API Key",
|
|
232
|
-
"title": "API Key"
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
"zhipu": {
|
|
236
|
-
"title": "Zhipu",
|
|
237
|
-
"token": {
|
|
238
|
-
"desc": "Nhập API Key từ Zhipu",
|
|
239
|
-
"placeholder": "Zhipu API Key",
|
|
240
|
-
"title": "API Key"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
90
|
+
"waitingForMore": "Có thêm mô hình đang <1>được lên kế hoạch tích hợp</1>, hãy chờ đợi ✨"
|
|
243
91
|
},
|
|
244
92
|
"ollama": {
|
|
245
93
|
"download": {
|
|
@@ -395,6 +243,7 @@
|
|
|
395
243
|
"settingTTS": {
|
|
396
244
|
"openai": {
|
|
397
245
|
"sttModel": "Mô hình nhận dạng giọng nói OpenAI",
|
|
246
|
+
"title": "OpenAI",
|
|
398
247
|
"ttsModel": "Mô hình tổng hợp giọng nói OpenAI"
|
|
399
248
|
},
|
|
400
249
|
"showAllLocaleVoice": {
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ModelSelect": {
|
|
3
|
-
"featureTag": {
|
|
4
|
-
"custom": "自定义模型,默认设定同时支持函数调用与视觉识别,请根据实际情况验证上述能力的可用性",
|
|
5
|
-
"file": "该模型支持上传文件读取与识别",
|
|
6
|
-
"functionCall": "该模型支持函数调用(Function Call)",
|
|
7
|
-
"tokens": "该模型单个会话最多支持 {{tokens}} Tokens",
|
|
8
|
-
"vision": "该模型支持视觉识别"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
2
|
"about": "关于",
|
|
12
3
|
"advanceSettings": "高级设置",
|
|
13
4
|
"appInitializing": "LobeChat 启动中,请耐心等待...",
|
|
@@ -95,23 +86,6 @@
|
|
|
95
86
|
"zh-TW": "繁体中文"
|
|
96
87
|
},
|
|
97
88
|
"layoutInitializing": "正在加载布局...",
|
|
98
|
-
"modelProvider": {
|
|
99
|
-
"anthropic": "Anthropic",
|
|
100
|
-
"azure": "Azure",
|
|
101
|
-
"bedrock": "AWS Bedrock",
|
|
102
|
-
"google": "Google",
|
|
103
|
-
"groq": "Groq",
|
|
104
|
-
"mistral": "Mistral AI",
|
|
105
|
-
"moonshot": "Moonshot AI",
|
|
106
|
-
"ollama": "Ollama",
|
|
107
|
-
"oneapi": "One API",
|
|
108
|
-
"openai": "OpenAI",
|
|
109
|
-
"openrouter": "OpenRouter",
|
|
110
|
-
"perplexity": "Perplexity",
|
|
111
|
-
"togetherai": "TogetherAI",
|
|
112
|
-
"zeroone": "01.AI 零一万物",
|
|
113
|
-
"zhipu": "智谱AI"
|
|
114
|
-
},
|
|
115
89
|
"noDescription": "暂无描述",
|
|
116
90
|
"oauth": "SSO 登录",
|
|
117
91
|
"ok": "确定",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ModelSelect": {
|
|
3
|
+
"featureTag": {
|
|
4
|
+
"custom": "自定义模型,默认设定同时支持函数调用与视觉识别,请根据实际情况验证上述能力的可用性",
|
|
5
|
+
"file": "该模型支持上传文件读取与识别",
|
|
6
|
+
"functionCall": "该模型支持函数调用(Function Call)",
|
|
7
|
+
"tokens": "该模型单个会话最多支持 {{tokens}} Tokens",
|
|
8
|
+
"vision": "该模型支持视觉识别"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"ModelSwitchPanel": {
|
|
12
|
+
"emptyModel": "没有启用的模型,请前往设置开启",
|
|
13
|
+
"provider": "提供商"
|
|
14
|
+
}
|
|
15
|
+
}
|
package/locales/zh-CN/error.json
CHANGED
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"InvalidOllamaArgs": "Ollama 配置不正确,请检查 Ollama 配置后重试",
|
|
77
77
|
"OllamaBizError": "请求 Ollama 服务出错,请根据以下信息排查或重试",
|
|
78
78
|
"OllamaServiceUnavailable": "未检测到 Ollama 服务,请检查是否正常启动",
|
|
79
|
-
"AgentRuntimeError": "Lobe
|
|
79
|
+
"AgentRuntimeError": "Lobe AI Runtime 执行出错,请根据以下信息排查或重试"
|
|
80
80
|
},
|
|
81
81
|
"stt": {
|
|
82
82
|
"responseError": "服务请求失败,请检查配置或重试"
|
|
@@ -85,58 +85,7 @@
|
|
|
85
85
|
"responseError": "服务请求失败,请检查配置或重试"
|
|
86
86
|
},
|
|
87
87
|
"unlock": {
|
|
88
|
-
"
|
|
89
|
-
"Anthropic": {
|
|
90
|
-
"description": "输入你的 Anthropic API Key 即可开始会话。应用不会记录你的 API Key",
|
|
91
|
-
"title": "使用自定义 Anthropic API Key"
|
|
92
|
-
},
|
|
93
|
-
"Bedrock": {
|
|
94
|
-
"customRegion": "自定义服务区域",
|
|
95
|
-
"description": "输入你的 AWS AccessKeyId / SecretAccessKey 即可开始会话。应用不会记录你的鉴权配置",
|
|
96
|
-
"title": "使用自定义 Bedrock 鉴权信息"
|
|
97
|
-
},
|
|
98
|
-
"Google": {
|
|
99
|
-
"description": "输入你的 Google API Key 即可开始会话。应用不会记录你的 API Key",
|
|
100
|
-
"title": "使用自定义 Google API Key"
|
|
101
|
-
},
|
|
102
|
-
"Groq": {
|
|
103
|
-
"description": "输入你的 Groq API Key 即可开始会话。应用不会记录你的 API Key",
|
|
104
|
-
"title": "使用自定义 Groq API Key"
|
|
105
|
-
},
|
|
106
|
-
"Mistral": {
|
|
107
|
-
"description": "输入你的 Mistral AI API Key 即可开始会话。应用不会记录你的 API Key",
|
|
108
|
-
"title": "使用自定义 Mistral AI API Key"
|
|
109
|
-
},
|
|
110
|
-
"Moonshot": {
|
|
111
|
-
"description": "输入你的 Moonshot AI API Key 即可开始会话。应用不会记录你的 API Key",
|
|
112
|
-
"title": "使用自定义 Moonshot AI API Key"
|
|
113
|
-
},
|
|
114
|
-
"OpenAI": {
|
|
115
|
-
"addProxyUrl": "添加 OpenAI 代理地址(可选)",
|
|
116
|
-
"description": "输入你的 OpenAI API Key 即可开始会话。应用不会记录你的 API Key",
|
|
117
|
-
"title": "使用自定义 OpenAI API Key"
|
|
118
|
-
},
|
|
119
|
-
"OpenRouter": {
|
|
120
|
-
"description": "输入你的 OpenRouter API Key 即可开始会话。应用不会记录你的 API Key",
|
|
121
|
-
"title": "使用自定义 OpenRouter API Key"
|
|
122
|
-
},
|
|
123
|
-
"Perplexity": {
|
|
124
|
-
"description": "输入你的 Perplexity API Key 即可开始会话。应用不会记录你的 API Key",
|
|
125
|
-
"title": "使用自定义 Perplexity API Key"
|
|
126
|
-
},
|
|
127
|
-
"TogetherAI": {
|
|
128
|
-
"description": "输入你的 TogetherAI API Key 即可开始会话。应用不会记录你的 API Key",
|
|
129
|
-
"title": "使用自定义 TogetherAI API Key"
|
|
130
|
-
},
|
|
131
|
-
"ZeroOne": {
|
|
132
|
-
"description": "输入你的零一万物 API Key 即可开始会话。应用不会记录你的 API Key",
|
|
133
|
-
"title": "使用自定义零一万物 API Key"
|
|
134
|
-
},
|
|
135
|
-
"Zhipu": {
|
|
136
|
-
"description": "输入你的 Zhipu API Key 即可开始会话。应用不会记录你的 API Key",
|
|
137
|
-
"title": "使用自定义 Zhipu API Key"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
88
|
+
"addProxyUrl": "添加 OpenAI 代理地址(可选)",
|
|
140
89
|
"closeMessage": "关闭提示",
|
|
141
90
|
"confirm": "确认并重试",
|
|
142
91
|
"model": {
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
{
|
|
2
|
+
"anthropic": {
|
|
3
|
+
"endpoint": {
|
|
4
|
+
"desc": "除默认地址外,必须包含 http(s)://",
|
|
5
|
+
"placeholder": "https://api.anthropic.com",
|
|
6
|
+
"title": "API 代理地址"
|
|
7
|
+
},
|
|
8
|
+
"title": "Anthropic",
|
|
9
|
+
"token": {
|
|
10
|
+
"desc": "填入来自 Anthropic 的 API Key",
|
|
11
|
+
"placeholder": "Anthropic API Key",
|
|
12
|
+
"title": "API Key"
|
|
13
|
+
},
|
|
14
|
+
"unlock": {
|
|
15
|
+
"description": "输入你的 Anthropic API Key 即可开始会话。应用不会记录你的 API Key",
|
|
16
|
+
"title": "使用自定义 Anthropic API Key"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"azure": {
|
|
20
|
+
"azureApiVersion": {
|
|
21
|
+
"desc": "Azure 的 API 版本,遵循 YYYY-MM-DD 格式,查阅[最新版本](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)",
|
|
22
|
+
"fetch": "获取列表",
|
|
23
|
+
"title": "Azure Api Version"
|
|
24
|
+
},
|
|
25
|
+
"empty": "请输入模型 ID 添加第一个模型",
|
|
26
|
+
"endpoint": {
|
|
27
|
+
"desc": "从 Azure 门户检查资源时,可在“密钥和终结点”部分中找到此值",
|
|
28
|
+
"placeholder": "https://docs-test-001.openai.azure.com",
|
|
29
|
+
"title": "Azure API 地址"
|
|
30
|
+
},
|
|
31
|
+
"modelListPlaceholder": "请选择或添加你部署的 OpenAI 模型",
|
|
32
|
+
"title": "Azure OpenAI",
|
|
33
|
+
"token": {
|
|
34
|
+
"desc": "从 Azure 门户检查资源时,可在“密钥和终结点”部分中找到此值。 可以使用 KEY1 或 KEY2",
|
|
35
|
+
"placeholder": "Azure API Key",
|
|
36
|
+
"title": "API Key"
|
|
37
|
+
},
|
|
38
|
+
"unlock": {
|
|
39
|
+
"description": "输入你的 Azure OpenAI API Key 即可开始会话",
|
|
40
|
+
"title": "使用自定义 Azure OpenAI API Key"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"bedrock": {
|
|
44
|
+
"accessKeyId": {
|
|
45
|
+
"desc": "填入AWS Access Key Id",
|
|
46
|
+
"placeholder": "AWS Access Key Id",
|
|
47
|
+
"title": "AWS Access Key Id"
|
|
48
|
+
},
|
|
49
|
+
"checker": {
|
|
50
|
+
"desc": "测试 AccessKeyId / SecretAccessKey 是否填写正确"
|
|
51
|
+
},
|
|
52
|
+
"region": {
|
|
53
|
+
"desc": "填入 AWS Region",
|
|
54
|
+
"placeholder": "AWS Region",
|
|
55
|
+
"title": "AWS Region"
|
|
56
|
+
},
|
|
57
|
+
"secretAccessKey": {
|
|
58
|
+
"desc": "填入 AWS Secret Access Key",
|
|
59
|
+
"placeholder": "AWS Secret Access Key",
|
|
60
|
+
"title": "AWS Secret Access Key"
|
|
61
|
+
},
|
|
62
|
+
"title": "Bedrock",
|
|
63
|
+
"unlock": {
|
|
64
|
+
"customRegion": "自定义服务区域",
|
|
65
|
+
"description": "输入你的 AWS AccessKeyId / SecretAccessKey 即可开始会话。应用不会记录你的鉴权配置",
|
|
66
|
+
"title": "使用自定义 Bedrock 鉴权信息"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"google": {
|
|
70
|
+
"title": "Google",
|
|
71
|
+
"token": {
|
|
72
|
+
"desc": "填入来自 Google 的 API Key",
|
|
73
|
+
"placeholder": "Google API Key",
|
|
74
|
+
"title": "API Key"
|
|
75
|
+
},
|
|
76
|
+
"unlock": {
|
|
77
|
+
"description": "输入你的 Google API Key 即可开始会话。应用不会记录你的 API Key",
|
|
78
|
+
"title": "使用自定义 Google API Key"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"groq": {
|
|
82
|
+
"title": "Groq",
|
|
83
|
+
"token": {
|
|
84
|
+
"desc": "填入来自 Groq 的 API Key",
|
|
85
|
+
"placeholder": "Groq API Key",
|
|
86
|
+
"title": "API Key"
|
|
87
|
+
},
|
|
88
|
+
"unlock": {
|
|
89
|
+
"description": "输入你的 Groq API Key 即可开始会话。应用不会记录你的 API Key",
|
|
90
|
+
"title": "使用自定义 Groq API Key"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"mistral": {
|
|
94
|
+
"title": "Mistral AI",
|
|
95
|
+
"token": {
|
|
96
|
+
"desc": "填入来自 Mistral AI 的 API Key",
|
|
97
|
+
"placeholder": "Mistral AI API Key",
|
|
98
|
+
"title": "API Key"
|
|
99
|
+
},
|
|
100
|
+
"unlock": {
|
|
101
|
+
"description": "输入你的 Mistral AI API Key 即可开始会话。应用不会记录你的 API Key",
|
|
102
|
+
"title": "使用自定义 Mistral AI API Key"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"moonshot": {
|
|
106
|
+
"title": "Moonshot AI",
|
|
107
|
+
"token": {
|
|
108
|
+
"desc": "填入来自 Moonshot AI 的 API Key",
|
|
109
|
+
"placeholder": "Moonshot AI API Key",
|
|
110
|
+
"title": "API Key"
|
|
111
|
+
},
|
|
112
|
+
"unlock": {
|
|
113
|
+
"description": "输入你的 Moonshot AI API Key 即可开始会话。应用不会记录你的 API Key",
|
|
114
|
+
"title": "使用自定义 Moonshot AI API Key"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"ollama": {
|
|
118
|
+
"checker": {
|
|
119
|
+
"desc": "测试代理地址是否正确填写"
|
|
120
|
+
},
|
|
121
|
+
"customModelName": {
|
|
122
|
+
"desc": "增加自定义模型,多个模型使用逗号(,)隔开",
|
|
123
|
+
"placeholder": "vicuna,llava,codellama,llama2:13b-text",
|
|
124
|
+
"title": "自定义模型名称"
|
|
125
|
+
},
|
|
126
|
+
"endpoint": {
|
|
127
|
+
"desc": "填入 Ollama 接口代理地址,本地未额外指定可留空",
|
|
128
|
+
"placeholder": "http://127.0.0.1:11434/v1",
|
|
129
|
+
"title": "接口代理地址"
|
|
130
|
+
},
|
|
131
|
+
"title": "Ollama"
|
|
132
|
+
},
|
|
133
|
+
"openai": {
|
|
134
|
+
"endpoint": {
|
|
135
|
+
"desc": "除默认地址外,必须包含 http(s)://",
|
|
136
|
+
"placeholder": "https://api.openai.com/v1",
|
|
137
|
+
"title": "接口代理地址"
|
|
138
|
+
},
|
|
139
|
+
"title": "OpenAI",
|
|
140
|
+
"token": {
|
|
141
|
+
"desc": "使用自己的 OpenAI Key",
|
|
142
|
+
"placeholder": "OpenAI API Key",
|
|
143
|
+
"title": "OpenAI API Key"
|
|
144
|
+
},
|
|
145
|
+
"unlock": {
|
|
146
|
+
"description": "输入你的 OpenAI API Key 即可开始会话。应用不会记录你的 API Key",
|
|
147
|
+
"title": "使用自定义 OpenAI API Key"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"openrouter": {
|
|
151
|
+
"checker": {
|
|
152
|
+
"desc": "测试代理地址是否正确填写"
|
|
153
|
+
},
|
|
154
|
+
"customModelName": {
|
|
155
|
+
"desc": "增加自定义模型,多个模型使用逗号(,)隔开",
|
|
156
|
+
"placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
|
|
157
|
+
"title": "自定义模型名称"
|
|
158
|
+
},
|
|
159
|
+
"title": "OpenRouter",
|
|
160
|
+
"token": {
|
|
161
|
+
"desc": "填入来自 OpenRouter AI 的 API Key",
|
|
162
|
+
"placeholder": "OpenRouter AI API Key",
|
|
163
|
+
"title": "API Key"
|
|
164
|
+
},
|
|
165
|
+
"unlock": {
|
|
166
|
+
"description": "输入你的 OpenRouter API Key 即可开始会话。应用不会记录你的 API Key",
|
|
167
|
+
"title": "使用自定义 OpenRouter API Key"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"perplexity": {
|
|
171
|
+
"title": "Perplexity",
|
|
172
|
+
"token": {
|
|
173
|
+
"desc": "填入来自 Perplexity AI 的 API Key",
|
|
174
|
+
"placeholder": "Perplexity AI API Key",
|
|
175
|
+
"title": "API Key"
|
|
176
|
+
},
|
|
177
|
+
"unlock": {
|
|
178
|
+
"description": "输入你的 Perplexity API Key 即可开始会话。应用不会记录你的 API Key",
|
|
179
|
+
"title": "使用自定义 Perplexity API Key"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"togetherai": {
|
|
183
|
+
"checker": {
|
|
184
|
+
"desc": "测试代理地址是否正确填写"
|
|
185
|
+
},
|
|
186
|
+
"customModelName": {
|
|
187
|
+
"desc": "增加自定义模型,多个模型使用逗号(,)隔开",
|
|
188
|
+
"placeholder": "togethercomputer/Llama-2-7B-32K-Instruct,teknium/OpenHermes-2-Mistral-7B",
|
|
189
|
+
"title": "自定义模型名称"
|
|
190
|
+
},
|
|
191
|
+
"title": "TogetherAI",
|
|
192
|
+
"token": {
|
|
193
|
+
"desc": "填入来自 TogetherAI AI 的 API Key",
|
|
194
|
+
"placeholder": "TogetherAI AI API Key",
|
|
195
|
+
"title": "API Key"
|
|
196
|
+
},
|
|
197
|
+
"unlock": {
|
|
198
|
+
"description": "输入你的 TogetherAI API Key 即可开始会话。应用不会记录你的 API Key",
|
|
199
|
+
"title": "使用自定义 TogetherAI API Key"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"zeroone": {
|
|
203
|
+
"title": "01.AI 零一万物",
|
|
204
|
+
"token": {
|
|
205
|
+
"desc": "填入来自 01.AI 零一万物的 API Key",
|
|
206
|
+
"placeholder": "01.AI 零一万物 API Key",
|
|
207
|
+
"title": "API Key"
|
|
208
|
+
},
|
|
209
|
+
"unlock": {
|
|
210
|
+
"description": "输入你的零一万物 API Key 即可开始会话。应用不会记录你的 API Key",
|
|
211
|
+
"title": "使用自定义零一万物 API Key"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"zhipu": {
|
|
215
|
+
"title": "智谱",
|
|
216
|
+
"token": {
|
|
217
|
+
"desc": "填入来自智谱的 API Key",
|
|
218
|
+
"placeholder": "Zhipu API Key",
|
|
219
|
+
"title": "API Key"
|
|
220
|
+
},
|
|
221
|
+
"unlock": {
|
|
222
|
+
"description": "输入你的 Zhipu API Key 即可开始会话。应用不会记录你的 API Key",
|
|
223
|
+
"title": "使用自定义 Zhipu API Key"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|