@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
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"exportType": "settings",
|
|
3
|
+
"state": {
|
|
4
|
+
"settings": {
|
|
5
|
+
"defaultAgent": {
|
|
6
|
+
"config": {
|
|
7
|
+
"autoCreateTopicThreshold": 2,
|
|
8
|
+
"displayMode": "chat",
|
|
9
|
+
"enableAutoCreateTopic": true,
|
|
10
|
+
"historyCount": 1,
|
|
11
|
+
"model": "gpt-4-vision-preview",
|
|
12
|
+
"params": {
|
|
13
|
+
"frequency_penalty": 0,
|
|
14
|
+
"presence_penalty": 0,
|
|
15
|
+
"temperature": 0.6,
|
|
16
|
+
"top_p": 1
|
|
17
|
+
},
|
|
18
|
+
"plugins": ["realtime-weather", "steam"],
|
|
19
|
+
"provider": "openai",
|
|
20
|
+
"systemRole": "",
|
|
21
|
+
"tts": {
|
|
22
|
+
"showAllLocaleVoice": false,
|
|
23
|
+
"sttLocale": "auto",
|
|
24
|
+
"ttsService": "openai",
|
|
25
|
+
"voice": { "openai": "alloy" }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"meta": {}
|
|
29
|
+
},
|
|
30
|
+
"languageModel": {
|
|
31
|
+
"anthropic": { "apiKey": "", "enabled": false },
|
|
32
|
+
"azure": {
|
|
33
|
+
"apiKey": "asbdasd",
|
|
34
|
+
"apiVersion": "2024-02-15-preview",
|
|
35
|
+
"enabled": true,
|
|
36
|
+
"endpoint": "https://api.chatanywhere.com.cn"
|
|
37
|
+
},
|
|
38
|
+
"bedrock": {
|
|
39
|
+
"accessKeyId": "",
|
|
40
|
+
"enabled": false,
|
|
41
|
+
"region": "us-east-1",
|
|
42
|
+
"secretAccessKey": ""
|
|
43
|
+
},
|
|
44
|
+
"google": { "apiKey": "", "enabled": false },
|
|
45
|
+
"groq": { "apiKey": "", "enabled": false },
|
|
46
|
+
"mistral": { "apiKey": "", "enabled": false },
|
|
47
|
+
"moonshot": { "apiKey": "", "enabled": false },
|
|
48
|
+
"ollama": { "enabled": false, "endpoint": "" },
|
|
49
|
+
"openrouter": { "apiKey": "", "enabled": false },
|
|
50
|
+
"perplexity": { "apiKey": "", "enabled": false },
|
|
51
|
+
"togetherai": { "apiKey": "", "enabled": false },
|
|
52
|
+
"zeroone": { "apiKey": "", "enabled": false },
|
|
53
|
+
"zhipu": { "apiKey": "", "enabled": false },
|
|
54
|
+
"openai": {
|
|
55
|
+
"apiKey": "",
|
|
56
|
+
"endpoint": "",
|
|
57
|
+
"enabled": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"sync": { "webrtc": { "enabled": false } },
|
|
61
|
+
"tool": { "dalle": { "autoGenerate": false } },
|
|
62
|
+
"tts": {
|
|
63
|
+
"openAI": { "sttModel": "whisper-1", "ttsModel": "tts-1" },
|
|
64
|
+
"sttAutoStop": true,
|
|
65
|
+
"sttServer": "openai"
|
|
66
|
+
},
|
|
67
|
+
"fontSize": 14,
|
|
68
|
+
"language": "auto",
|
|
69
|
+
"themeMode": "auto",
|
|
70
|
+
"primaryColor": "",
|
|
71
|
+
"neutralColor": ""
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"version": 4
|
|
75
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"exportType": "settings",
|
|
3
|
+
"state": {
|
|
4
|
+
"settings": {
|
|
5
|
+
"defaultAgent": {
|
|
6
|
+
"config": {
|
|
7
|
+
"autoCreateTopicThreshold": 2,
|
|
8
|
+
"displayMode": "chat",
|
|
9
|
+
"enableAutoCreateTopic": true,
|
|
10
|
+
"historyCount": 1,
|
|
11
|
+
"model": "gpt-4-vision-preview",
|
|
12
|
+
"params": {
|
|
13
|
+
"frequency_penalty": 0,
|
|
14
|
+
"presence_penalty": 0,
|
|
15
|
+
"temperature": 0.6,
|
|
16
|
+
"top_p": 1
|
|
17
|
+
},
|
|
18
|
+
"plugins": ["realtime-weather", "steam"],
|
|
19
|
+
"provider": "openai",
|
|
20
|
+
"systemRole": "",
|
|
21
|
+
"tts": {
|
|
22
|
+
"showAllLocaleVoice": false,
|
|
23
|
+
"sttLocale": "auto",
|
|
24
|
+
"ttsService": "openai",
|
|
25
|
+
"voice": { "openai": "alloy" }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"meta": {}
|
|
29
|
+
},
|
|
30
|
+
"languageModel": {
|
|
31
|
+
"anthropic": { "apiKey": "", "enabled": false },
|
|
32
|
+
"azure": { "apiKey": "", "deployments": "", "enabled": false, "endpoint": "" },
|
|
33
|
+
"bedrock": {
|
|
34
|
+
"accessKeyId": "",
|
|
35
|
+
"enabled": false,
|
|
36
|
+
"region": "us-east-1",
|
|
37
|
+
"secretAccessKey": ""
|
|
38
|
+
},
|
|
39
|
+
"google": { "apiKey": "", "enabled": false },
|
|
40
|
+
"groq": { "apiKey": "", "enabled": false },
|
|
41
|
+
"mistral": { "apiKey": "", "enabled": false },
|
|
42
|
+
"moonshot": { "apiKey": "", "enabled": false },
|
|
43
|
+
"ollama": {
|
|
44
|
+
"enabled": false,
|
|
45
|
+
"endpoint": "",
|
|
46
|
+
"customModelName": "-all,+llava"
|
|
47
|
+
},
|
|
48
|
+
"openAI": {
|
|
49
|
+
"OPENAI_API_KEY": "",
|
|
50
|
+
"enabled": true,
|
|
51
|
+
"models": [],
|
|
52
|
+
"endpoint": "",
|
|
53
|
+
"customModelName": "",
|
|
54
|
+
"useAzure": false
|
|
55
|
+
},
|
|
56
|
+
"openrouter": {
|
|
57
|
+
"apiKey": "",
|
|
58
|
+
"enabled": true
|
|
59
|
+
},
|
|
60
|
+
"perplexity": { "apiKey": "", "enabled": false },
|
|
61
|
+
"togetherai": { "apiKey": "", "enabled": false },
|
|
62
|
+
"zeroone": { "apiKey": "", "enabled": false },
|
|
63
|
+
"zhipu": { "apiKey": "", "enabled": false },
|
|
64
|
+
"openai": {
|
|
65
|
+
"OPENAI_API_KEY": "",
|
|
66
|
+
"models": ["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4"],
|
|
67
|
+
"endpoint": ""
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"sync": { "webrtc": { "enabled": false } },
|
|
71
|
+
"tool": { "dalle": { "autoGenerate": false } },
|
|
72
|
+
"tts": {
|
|
73
|
+
"openAI": { "sttModel": "whisper-1", "ttsModel": "tts-1" },
|
|
74
|
+
"sttAutoStop": true,
|
|
75
|
+
"sttServer": "openai"
|
|
76
|
+
},
|
|
77
|
+
"fontSize": 14,
|
|
78
|
+
"language": "auto",
|
|
79
|
+
"themeMode": "auto",
|
|
80
|
+
"primaryColor": "",
|
|
81
|
+
"neutralColor": ""
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"version": 3
|
|
85
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"exportType": "settings",
|
|
3
|
+
"state": {
|
|
4
|
+
"settings": {
|
|
5
|
+
"defaultAgent": {
|
|
6
|
+
"config": {
|
|
7
|
+
"autoCreateTopicThreshold": 2,
|
|
8
|
+
"displayMode": "chat",
|
|
9
|
+
"enableAutoCreateTopic": true,
|
|
10
|
+
"historyCount": 1,
|
|
11
|
+
"model": "gpt-4-vision-preview",
|
|
12
|
+
"params": {
|
|
13
|
+
"frequency_penalty": 0,
|
|
14
|
+
"presence_penalty": 0,
|
|
15
|
+
"temperature": 0.6,
|
|
16
|
+
"top_p": 1
|
|
17
|
+
},
|
|
18
|
+
"plugins": ["realtime-weather", "steam"],
|
|
19
|
+
"provider": "openai",
|
|
20
|
+
"systemRole": "",
|
|
21
|
+
"tts": {
|
|
22
|
+
"showAllLocaleVoice": false,
|
|
23
|
+
"sttLocale": "auto",
|
|
24
|
+
"ttsService": "openai",
|
|
25
|
+
"voice": { "openai": "alloy" }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"meta": {}
|
|
29
|
+
},
|
|
30
|
+
"languageModel": {
|
|
31
|
+
"anthropic": { "apiKey": "", "enabled": false },
|
|
32
|
+
"azure": { "apiKey": "", "enabled": false, "endpoint": "" },
|
|
33
|
+
"bedrock": {
|
|
34
|
+
"accessKeyId": "",
|
|
35
|
+
"enabled": false,
|
|
36
|
+
"region": "us-east-1",
|
|
37
|
+
"secretAccessKey": ""
|
|
38
|
+
},
|
|
39
|
+
"google": { "apiKey": "", "enabled": false },
|
|
40
|
+
"groq": { "apiKey": "", "enabled": false },
|
|
41
|
+
"mistral": { "apiKey": "", "enabled": false },
|
|
42
|
+
"moonshot": { "apiKey": "", "enabled": false },
|
|
43
|
+
"ollama": {
|
|
44
|
+
"enabled": false,
|
|
45
|
+
"endpoint": "",
|
|
46
|
+
"customModelCards": [
|
|
47
|
+
{
|
|
48
|
+
"displayName": "LLaVA 7B",
|
|
49
|
+
"enabled": true,
|
|
50
|
+
"functionCall": false,
|
|
51
|
+
"id": "llava",
|
|
52
|
+
"tokens": 4000,
|
|
53
|
+
"vision": true
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"openrouter": {
|
|
58
|
+
"apiKey": "",
|
|
59
|
+
"enabled": true
|
|
60
|
+
},
|
|
61
|
+
"perplexity": { "apiKey": "", "enabled": false },
|
|
62
|
+
"togetherai": { "apiKey": "", "enabled": false },
|
|
63
|
+
"zeroone": { "apiKey": "", "enabled": false },
|
|
64
|
+
"zhipu": { "apiKey": "", "enabled": false },
|
|
65
|
+
"openai": {
|
|
66
|
+
"apiKey": "",
|
|
67
|
+
"enabled": true,
|
|
68
|
+
"endpoint": ""
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"sync": { "webrtc": { "enabled": false } },
|
|
72
|
+
"tool": { "dalle": { "autoGenerate": false } },
|
|
73
|
+
"tts": {
|
|
74
|
+
"openAI": { "sttModel": "whisper-1", "ttsModel": "tts-1" },
|
|
75
|
+
"sttAutoStop": true,
|
|
76
|
+
"sttServer": "openai"
|
|
77
|
+
},
|
|
78
|
+
"fontSize": 14,
|
|
79
|
+
"language": "auto",
|
|
80
|
+
"themeMode": "auto",
|
|
81
|
+
"primaryColor": "",
|
|
82
|
+
"neutralColor": ""
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"version": 4
|
|
86
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"exportType": "settings",
|
|
3
|
+
"state": {
|
|
4
|
+
"settings": {
|
|
5
|
+
"defaultAgent": {
|
|
6
|
+
"config": {
|
|
7
|
+
"autoCreateTopicThreshold": 2,
|
|
8
|
+
"displayMode": "chat",
|
|
9
|
+
"enableAutoCreateTopic": true,
|
|
10
|
+
"historyCount": 1,
|
|
11
|
+
"model": "gpt-4-vision-preview",
|
|
12
|
+
"params": {
|
|
13
|
+
"frequency_penalty": 0,
|
|
14
|
+
"presence_penalty": 0,
|
|
15
|
+
"temperature": 0.6,
|
|
16
|
+
"top_p": 1
|
|
17
|
+
},
|
|
18
|
+
"plugins": ["realtime-weather", "steam"],
|
|
19
|
+
"provider": "openai",
|
|
20
|
+
"systemRole": "",
|
|
21
|
+
"tts": {
|
|
22
|
+
"showAllLocaleVoice": false,
|
|
23
|
+
"sttLocale": "auto",
|
|
24
|
+
"ttsService": "openai",
|
|
25
|
+
"voice": { "openai": "alloy" }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"meta": {}
|
|
29
|
+
},
|
|
30
|
+
"languageModel": {
|
|
31
|
+
"anthropic": { "apiKey": "", "enabled": false },
|
|
32
|
+
"azure": { "apiKey": "", "deployments": "", "enabled": false, "endpoint": "" },
|
|
33
|
+
"bedrock": {
|
|
34
|
+
"accessKeyId": "",
|
|
35
|
+
"enabled": false,
|
|
36
|
+
"region": "us-east-1",
|
|
37
|
+
"secretAccessKey": ""
|
|
38
|
+
},
|
|
39
|
+
"google": { "apiKey": "", "enabled": false },
|
|
40
|
+
"groq": { "apiKey": "", "enabled": false },
|
|
41
|
+
"mistral": { "apiKey": "", "enabled": false },
|
|
42
|
+
"moonshot": { "apiKey": "", "enabled": false },
|
|
43
|
+
"ollama": { "enabled": false, "endpoint": "" },
|
|
44
|
+
"openAI": {
|
|
45
|
+
"OPENAI_API_KEY": "asbdasd",
|
|
46
|
+
"enabled": true,
|
|
47
|
+
"models": [],
|
|
48
|
+
"endpoint": "https://api.chatanywhere.com.cn",
|
|
49
|
+
"customModelName": "deerercsds"
|
|
50
|
+
},
|
|
51
|
+
"openrouter": { "apiKey": "", "enabled": false },
|
|
52
|
+
"perplexity": { "apiKey": "", "enabled": false },
|
|
53
|
+
"togetherai": { "apiKey": "", "enabled": false },
|
|
54
|
+
"zeroone": { "apiKey": "", "enabled": false },
|
|
55
|
+
"zhipu": { "apiKey": "", "enabled": false },
|
|
56
|
+
"openai": {
|
|
57
|
+
"OPENAI_API_KEY": "",
|
|
58
|
+
"models": ["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4"],
|
|
59
|
+
"endpoint": ""
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"sync": { "webrtc": { "enabled": false } },
|
|
63
|
+
"tool": { "dalle": { "autoGenerate": false } },
|
|
64
|
+
"tts": {
|
|
65
|
+
"openAI": { "sttModel": "whisper-1", "ttsModel": "tts-1" },
|
|
66
|
+
"sttAutoStop": true,
|
|
67
|
+
"sttServer": "openai"
|
|
68
|
+
},
|
|
69
|
+
"fontSize": 14,
|
|
70
|
+
"language": "auto",
|
|
71
|
+
"themeMode": "auto",
|
|
72
|
+
"primaryColor": "",
|
|
73
|
+
"neutralColor": ""
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"version": 3
|
|
77
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"exportType": "settings",
|
|
3
|
+
"state": {
|
|
4
|
+
"settings": {
|
|
5
|
+
"defaultAgent": {
|
|
6
|
+
"config": {
|
|
7
|
+
"autoCreateTopicThreshold": 2,
|
|
8
|
+
"displayMode": "chat",
|
|
9
|
+
"enableAutoCreateTopic": true,
|
|
10
|
+
"historyCount": 1,
|
|
11
|
+
"model": "gpt-4-vision-preview",
|
|
12
|
+
"params": {
|
|
13
|
+
"frequency_penalty": 0,
|
|
14
|
+
"presence_penalty": 0,
|
|
15
|
+
"temperature": 0.6,
|
|
16
|
+
"top_p": 1
|
|
17
|
+
},
|
|
18
|
+
"plugins": ["realtime-weather", "steam"],
|
|
19
|
+
"provider": "openai",
|
|
20
|
+
"systemRole": "",
|
|
21
|
+
"tts": {
|
|
22
|
+
"showAllLocaleVoice": false,
|
|
23
|
+
"sttLocale": "auto",
|
|
24
|
+
"ttsService": "openai",
|
|
25
|
+
"voice": { "openai": "alloy" }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"meta": {}
|
|
29
|
+
},
|
|
30
|
+
"languageModel": {
|
|
31
|
+
"anthropic": { "apiKey": "", "enabled": false },
|
|
32
|
+
"azure": { "apiKey": "", "enabled": false, "endpoint": "" },
|
|
33
|
+
"bedrock": {
|
|
34
|
+
"accessKeyId": "",
|
|
35
|
+
"enabled": false,
|
|
36
|
+
"region": "us-east-1",
|
|
37
|
+
"secretAccessKey": ""
|
|
38
|
+
},
|
|
39
|
+
"google": { "apiKey": "", "enabled": false },
|
|
40
|
+
"groq": { "apiKey": "", "enabled": false },
|
|
41
|
+
"mistral": { "apiKey": "", "enabled": false },
|
|
42
|
+
"moonshot": { "apiKey": "", "enabled": false },
|
|
43
|
+
"ollama": { "enabled": false, "endpoint": "" },
|
|
44
|
+
"openrouter": { "apiKey": "", "enabled": false },
|
|
45
|
+
"perplexity": { "apiKey": "", "enabled": false },
|
|
46
|
+
"togetherai": { "apiKey": "", "enabled": false },
|
|
47
|
+
"zeroone": { "apiKey": "", "enabled": false },
|
|
48
|
+
"zhipu": { "apiKey": "", "enabled": false },
|
|
49
|
+
"openai": {
|
|
50
|
+
"enabled": true,
|
|
51
|
+
"apiKey": "asbdasd",
|
|
52
|
+
"endpoint": "https://api.chatanywhere.com.cn",
|
|
53
|
+
"customModelCards": [
|
|
54
|
+
{
|
|
55
|
+
"displayName": "deerercsds",
|
|
56
|
+
"enabled": true,
|
|
57
|
+
"functionCall": true,
|
|
58
|
+
"id": "deerercsds",
|
|
59
|
+
"vision": true
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"sync": { "webrtc": { "enabled": false } },
|
|
65
|
+
"tool": { "dalle": { "autoGenerate": false } },
|
|
66
|
+
"tts": {
|
|
67
|
+
"openAI": { "sttModel": "whisper-1", "ttsModel": "tts-1" },
|
|
68
|
+
"sttAutoStop": true,
|
|
69
|
+
"sttServer": "openai"
|
|
70
|
+
},
|
|
71
|
+
"fontSize": 14,
|
|
72
|
+
"language": "auto",
|
|
73
|
+
"themeMode": "auto",
|
|
74
|
+
"primaryColor": "",
|
|
75
|
+
"neutralColor": ""
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"version": 4
|
|
79
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"exportType": "settings",
|
|
3
|
+
"state": {
|
|
4
|
+
"settings": {
|
|
5
|
+
"defaultAgent": {
|
|
6
|
+
"config": {
|
|
7
|
+
"autoCreateTopicThreshold": 2,
|
|
8
|
+
"displayMode": "chat",
|
|
9
|
+
"enableAutoCreateTopic": true,
|
|
10
|
+
"historyCount": 1,
|
|
11
|
+
"model": "gpt-4-vision-preview",
|
|
12
|
+
"params": {
|
|
13
|
+
"frequency_penalty": 0,
|
|
14
|
+
"presence_penalty": 0,
|
|
15
|
+
"temperature": 0.6,
|
|
16
|
+
"top_p": 1
|
|
17
|
+
},
|
|
18
|
+
"plugins": ["realtime-weather", "steam"],
|
|
19
|
+
"provider": "openai",
|
|
20
|
+
"systemRole": "",
|
|
21
|
+
"tts": {
|
|
22
|
+
"showAllLocaleVoice": false,
|
|
23
|
+
"sttLocale": "auto",
|
|
24
|
+
"ttsService": "openai",
|
|
25
|
+
"voice": { "openai": "alloy" }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"meta": {}
|
|
29
|
+
},
|
|
30
|
+
"languageModel": {
|
|
31
|
+
"anthropic": { "apiKey": "", "enabled": false },
|
|
32
|
+
"azure": { "apiKey": "", "deployments": "", "enabled": false, "endpoint": "" },
|
|
33
|
+
"bedrock": {
|
|
34
|
+
"accessKeyId": "",
|
|
35
|
+
"enabled": false,
|
|
36
|
+
"region": "us-east-1",
|
|
37
|
+
"secretAccessKey": ""
|
|
38
|
+
},
|
|
39
|
+
"google": { "apiKey": "", "enabled": false },
|
|
40
|
+
"groq": { "apiKey": "", "enabled": false },
|
|
41
|
+
"mistral": { "apiKey": "", "enabled": false },
|
|
42
|
+
"moonshot": { "apiKey": "", "enabled": false },
|
|
43
|
+
"ollama": { "enabled": false, "endpoint": "" },
|
|
44
|
+
"openAI": {
|
|
45
|
+
"OPENAI_API_KEY": "",
|
|
46
|
+
"enabled": true,
|
|
47
|
+
"models": [],
|
|
48
|
+
"endpoint": "",
|
|
49
|
+
"customModelName": "",
|
|
50
|
+
"useAzure": false
|
|
51
|
+
},
|
|
52
|
+
"openrouter": {
|
|
53
|
+
"apiKey": "",
|
|
54
|
+
"enabled": true,
|
|
55
|
+
"customModelName": "-all,+01-ai/yi-34b-chat,+huggingfaceh4/zephyr-7b-beta"
|
|
56
|
+
},
|
|
57
|
+
"perplexity": { "apiKey": "", "enabled": false },
|
|
58
|
+
"togetherai": { "apiKey": "", "enabled": false },
|
|
59
|
+
"zeroone": { "apiKey": "", "enabled": false },
|
|
60
|
+
"zhipu": { "apiKey": "", "enabled": false },
|
|
61
|
+
"openai": {
|
|
62
|
+
"OPENAI_API_KEY": "",
|
|
63
|
+
"models": ["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4"],
|
|
64
|
+
"endpoint": ""
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"sync": { "webrtc": { "enabled": false } },
|
|
68
|
+
"tool": { "dalle": { "autoGenerate": false } },
|
|
69
|
+
"tts": {
|
|
70
|
+
"openAI": { "sttModel": "whisper-1", "ttsModel": "tts-1" },
|
|
71
|
+
"sttAutoStop": true,
|
|
72
|
+
"sttServer": "openai"
|
|
73
|
+
},
|
|
74
|
+
"fontSize": 14,
|
|
75
|
+
"language": "auto",
|
|
76
|
+
"themeMode": "auto",
|
|
77
|
+
"primaryColor": "",
|
|
78
|
+
"neutralColor": ""
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"version": 3
|
|
82
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"exportType": "settings",
|
|
3
|
+
"state": {
|
|
4
|
+
"settings": {
|
|
5
|
+
"defaultAgent": {
|
|
6
|
+
"config": {
|
|
7
|
+
"autoCreateTopicThreshold": 2,
|
|
8
|
+
"displayMode": "chat",
|
|
9
|
+
"enableAutoCreateTopic": true,
|
|
10
|
+
"historyCount": 1,
|
|
11
|
+
"model": "gpt-4-vision-preview",
|
|
12
|
+
"params": {
|
|
13
|
+
"frequency_penalty": 0,
|
|
14
|
+
"presence_penalty": 0,
|
|
15
|
+
"temperature": 0.6,
|
|
16
|
+
"top_p": 1
|
|
17
|
+
},
|
|
18
|
+
"plugins": ["realtime-weather", "steam"],
|
|
19
|
+
"provider": "openai",
|
|
20
|
+
"systemRole": "",
|
|
21
|
+
"tts": {
|
|
22
|
+
"showAllLocaleVoice": false,
|
|
23
|
+
"sttLocale": "auto",
|
|
24
|
+
"ttsService": "openai",
|
|
25
|
+
"voice": { "openai": "alloy" }
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"meta": {}
|
|
29
|
+
},
|
|
30
|
+
"languageModel": {
|
|
31
|
+
"anthropic": { "apiKey": "", "enabled": false },
|
|
32
|
+
"azure": { "apiKey": "", "enabled": false, "endpoint": "" },
|
|
33
|
+
"bedrock": {
|
|
34
|
+
"accessKeyId": "",
|
|
35
|
+
"enabled": false,
|
|
36
|
+
"region": "us-east-1",
|
|
37
|
+
"secretAccessKey": ""
|
|
38
|
+
},
|
|
39
|
+
"google": { "apiKey": "", "enabled": false },
|
|
40
|
+
"groq": { "apiKey": "", "enabled": false },
|
|
41
|
+
"mistral": { "apiKey": "", "enabled": false },
|
|
42
|
+
"moonshot": { "apiKey": "", "enabled": false },
|
|
43
|
+
"ollama": { "enabled": false, "endpoint": "" },
|
|
44
|
+
"openrouter": {
|
|
45
|
+
"apiKey": "",
|
|
46
|
+
"enabled": true,
|
|
47
|
+
"customModelCards": [
|
|
48
|
+
{
|
|
49
|
+
"displayName": "01-ai/yi-34b-chat",
|
|
50
|
+
"enabled": true,
|
|
51
|
+
"functionCall": true,
|
|
52
|
+
"id": "01-ai/yi-34b-chat",
|
|
53
|
+
"vision": true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"displayName": "huggingfaceh4/zephyr-7b-beta",
|
|
57
|
+
"enabled": true,
|
|
58
|
+
"functionCall": true,
|
|
59
|
+
"id": "huggingfaceh4/zephyr-7b-beta",
|
|
60
|
+
"vision": true
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"perplexity": { "apiKey": "", "enabled": false },
|
|
65
|
+
"togetherai": { "apiKey": "", "enabled": false },
|
|
66
|
+
"zeroone": { "apiKey": "", "enabled": false },
|
|
67
|
+
"zhipu": { "apiKey": "", "enabled": false },
|
|
68
|
+
"openai": {
|
|
69
|
+
"apiKey": "",
|
|
70
|
+
"enabled": true,
|
|
71
|
+
"endpoint": ""
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"sync": { "webrtc": { "enabled": false } },
|
|
75
|
+
"tool": { "dalle": { "autoGenerate": false } },
|
|
76
|
+
"tts": {
|
|
77
|
+
"openAI": { "sttModel": "whisper-1", "ttsModel": "tts-1" },
|
|
78
|
+
"sttAutoStop": true,
|
|
79
|
+
"sttServer": "openai"
|
|
80
|
+
},
|
|
81
|
+
"fontSize": 14,
|
|
82
|
+
"language": "auto",
|
|
83
|
+
"themeMode": "auto",
|
|
84
|
+
"primaryColor": "",
|
|
85
|
+
"neutralColor": ""
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"version": 4
|
|
89
|
+
}
|