@lobehub/chat 1.91.0 → 1.91.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/CHANGELOG.md +25 -0
- package/changelog/v1.json +9 -0
- package/docs/changelog/2023-09-09-plugin-system.mdx +2 -3
- package/docs/changelog/2023-11-14-gpt4-vision.mdx +4 -6
- package/docs/changelog/2023-11-19-tts-stt.mdx +2 -3
- package/docs/changelog/2023-12-22-dalle-3.mdx +2 -5
- package/docs/changelog/2023-12-22-dalle-3.zh-CN.mdx +2 -2
- package/docs/changelog/2024-02-08-sso-oauth.mdx +2 -2
- package/docs/changelog/2024-06-19-lobe-chat-v1.mdx +2 -3
- package/docs/changelog/2024-06-19-lobe-chat-v1.zh-CN.mdx +2 -2
- package/docs/changelog/2024-07-19-gpt-4o-mini.mdx +2 -3
- package/docs/changelog/2024-07-19-gpt-4o-mini.zh-CN.mdx +2 -2
- package/docs/changelog/2024-08-02-lobe-chat-database-docker.mdx +2 -3
- package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.mdx +4 -5
- package/docs/changelog/2024-09-13-openai-o1-models.mdx +2 -2
- package/docs/changelog/2024-09-20-artifacts.mdx +2 -3
- package/docs/changelog/2024-09-20-artifacts.zh-CN.mdx +2 -2
- package/docs/changelog/2024-10-27-pin-assistant.mdx +2 -3
- package/docs/changelog/2024-11-06-share-text-json.mdx +2 -4
- package/docs/changelog/2024-11-06-share-text-json.zh-CN.mdx +2 -2
- package/docs/changelog/2024-11-25-november-providers.mdx +2 -2
- package/docs/changelog/2024-11-27-forkable-chat.mdx +2 -2
- package/docs/changelog/2025-01-03-user-profile.mdx +2 -2
- package/docs/changelog/2025-01-22-new-ai-provider.mdx +2 -2
- package/docs/changelog/2025-02-02-deepseek-r1.mdx +4 -4
- package/docs/development/basic/add-new-authentication-providers.zh-CN.mdx +1 -2
- package/docs/development/basic/chat-api.mdx +2 -4
- package/docs/development/basic/chat-api.zh-CN.mdx +2 -4
- package/docs/development/internationalization/internationalization-implementation.mdx +10 -10
- package/docs/development/internationalization/internationalization-implementation.zh-CN.mdx +10 -10
- package/docs/self-hosting/advanced/analytics.mdx +2 -2
- package/docs/self-hosting/advanced/auth/clerk.mdx +2 -2
- package/docs/self-hosting/advanced/auth/next-auth/auth0.mdx +2 -3
- package/docs/self-hosting/advanced/auth/next-auth/authelia.mdx +2 -3
- package/docs/self-hosting/advanced/auth/next-auth/authentik.mdx +2 -3
- package/docs/self-hosting/advanced/auth/next-auth/casdoor.mdx +4 -7
- package/docs/self-hosting/advanced/auth/next-auth/casdoor.zh-CN.mdx +0 -3
- package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.mdx +2 -3
- package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.zh-CN.mdx +2 -2
- package/docs/self-hosting/advanced/auth/next-auth/github.mdx +2 -3
- package/docs/self-hosting/advanced/auth/next-auth/keycloak.mdx +12 -6
- package/docs/self-hosting/advanced/auth/next-auth/keycloak.zh-CN.mdx +5 -1
- package/docs/self-hosting/advanced/auth/next-auth/logto.mdx +8 -14
- package/docs/self-hosting/advanced/auth/next-auth/logto.zh-CN.mdx +6 -12
- package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.mdx +2 -3
- package/docs/self-hosting/advanced/auth/next-auth/wechat.mdx +2 -2
- package/docs/self-hosting/advanced/auth/next-auth/zitadel.mdx +2 -3
- package/docs/self-hosting/advanced/auth.mdx +2 -3
- package/docs/self-hosting/advanced/desktop.mdx +2 -1
- package/docs/self-hosting/advanced/desktop.zh-CN.mdx +1 -3
- package/docs/self-hosting/advanced/feature-flags.mdx +2 -3
- package/docs/self-hosting/advanced/knowledge-base.mdx +4 -3
- package/docs/self-hosting/advanced/model-list.mdx +11 -10
- package/docs/self-hosting/advanced/model-list.zh-CN.mdx +10 -9
- package/docs/self-hosting/advanced/observability/langfuse.mdx +2 -3
- package/docs/self-hosting/advanced/online-search.mdx +11 -10
- package/docs/self-hosting/advanced/online-search.zh-CN.mdx +7 -7
- package/docs/self-hosting/advanced/s3/tencent-cloud.mdx +2 -2
- package/docs/self-hosting/advanced/settings-url-share.mdx +2 -3
- package/docs/self-hosting/advanced/upstream-sync.mdx +2 -3
- package/docs/self-hosting/advanced/webrtc.mdx +2 -2
- package/docs/self-hosting/environment-variables/analytics.mdx +2 -3
- package/docs/self-hosting/environment-variables/auth.mdx +2 -3
- package/docs/self-hosting/environment-variables/basic.mdx +4 -5
- package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +2 -2
- package/docs/self-hosting/environment-variables/model-provider.mdx +2 -3
- package/docs/self-hosting/environment-variables/s3.mdx +3 -5
- package/docs/self-hosting/environment-variables.mdx +2 -2
- package/docs/self-hosting/examples/azure-openai.mdx +2 -2
- package/docs/self-hosting/examples/ollama.mdx +2 -3
- package/docs/self-hosting/faq/no-v1-suffix.mdx +4 -4
- package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.mdx +2 -3
- package/docs/self-hosting/platform/alibaba-cloud.mdx +2 -3
- package/docs/self-hosting/platform/btpanel.mdx +5 -5
- package/docs/self-hosting/platform/btpanel.zh-CN.mdx +4 -3
- package/docs/self-hosting/platform/docker-compose.mdx +2 -3
- package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +0 -2
- package/docs/self-hosting/platform/docker.mdx +2 -2
- package/docs/self-hosting/platform/netlify.mdx +2 -4
- package/docs/self-hosting/platform/netlify.zh-CN.mdx +2 -2
- package/docs/self-hosting/platform/railway.mdx +2 -3
- package/docs/self-hosting/platform/repocloud.mdx +2 -3
- package/docs/self-hosting/platform/sealos.mdx +2 -2
- package/docs/self-hosting/platform/tencentcloud-lighthouse.mdx +2 -3
- package/docs/self-hosting/platform/vercel.mdx +2 -3
- package/docs/self-hosting/platform/zeabur.mdx +2 -2
- package/docs/self-hosting/server-database/docker-compose.mdx +65 -44
- package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +48 -55
- package/docs/self-hosting/server-database/docker.mdx +2 -2
- package/docs/self-hosting/server-database/docker.zh-CN.mdx +2 -2
- package/docs/self-hosting/server-database/dokploy.mdx +4 -5
- package/docs/self-hosting/server-database/dokploy.zh-CN.mdx +137 -138
- package/docs/self-hosting/server-database/netlify.mdx +2 -2
- package/docs/self-hosting/server-database/netlify.zh-CN.mdx +2 -2
- package/docs/self-hosting/server-database/railway.mdx +2 -2
- package/docs/self-hosting/server-database/repocloud.mdx +2 -2
- package/docs/self-hosting/server-database/sealos.mdx +4 -5
- package/docs/self-hosting/server-database/sealos.zh-CN.mdx +18 -20
- package/docs/self-hosting/server-database/vercel.mdx +5 -3
- package/docs/self-hosting/server-database/vercel.zh-CN.mdx +2 -2
- package/docs/self-hosting/server-database/zeabur.mdx +2 -2
- package/docs/self-hosting/server-database.mdx +1 -1
- package/docs/self-hosting/server-database.zh-CN.mdx +2 -1
- package/docs/self-hosting/start.mdx +2 -2
- package/docs/self-hosting/start.zh-CN.mdx +2 -2
- package/docs/usage/agents/agent-organization.mdx +2 -2
- package/docs/usage/agents/concepts.mdx +4 -5
- package/docs/usage/agents/concepts.zh-CN.mdx +2 -2
- package/docs/usage/agents/custom-agent.mdx +3 -4
- package/docs/usage/agents/custom-agent.zh-CN.mdx +1 -1
- package/docs/usage/agents/model.mdx +5 -5
- package/docs/usage/agents/model.zh-CN.mdx +3 -5
- package/docs/usage/agents/prompt.mdx +4 -5
- package/docs/usage/agents/topics.mdx +3 -4
- package/docs/usage/agents/topics.zh-CN.mdx +1 -1
- package/docs/usage/features/agent-market.mdx +3 -11
- package/docs/usage/features/agent-market.zh-CN.mdx +2 -7
- package/docs/usage/features/artifacts.mdx +2 -2
- package/docs/usage/features/auth.mdx +2 -3
- package/docs/usage/features/cot.mdx +2 -2
- package/docs/usage/features/database.mdx +2 -2
- package/docs/usage/features/knowledge-base.mdx +4 -3
- package/docs/usage/features/knowledge-base.zh-CN.mdx +2 -1
- package/docs/usage/features/local-llm.mdx +2 -3
- package/docs/usage/features/mobile.mdx +2 -2
- package/docs/usage/features/more.mdx +2 -3
- package/docs/usage/features/multi-ai-providers.mdx +2 -3
- package/docs/usage/features/plugin-system.mdx +3 -11
- package/docs/usage/features/plugin-system.zh-CN.mdx +1 -8
- package/docs/usage/features/pwa.mdx +4 -4
- package/docs/usage/features/pwa.zh-CN.mdx +2 -1
- package/docs/usage/features/text-to-image.mdx +3 -11
- package/docs/usage/features/text-to-image.zh-CN.mdx +3 -10
- package/docs/usage/features/theme.mdx +2 -3
- package/docs/usage/features/tts.mdx +3 -11
- package/docs/usage/features/tts.zh-CN.mdx +1 -8
- package/docs/usage/features/vision.mdx +3 -11
- package/docs/usage/features/vision.zh-CN.mdx +1 -8
- package/docs/usage/foundation/basic.mdx +2 -3
- package/docs/usage/foundation/share.mdx +2 -3
- package/docs/usage/foundation/text2image.mdx +2 -2
- package/docs/usage/foundation/translate.mdx +2 -2
- package/docs/usage/foundation/tts-stt.mdx +2 -2
- package/docs/usage/foundation/vision.mdx +2 -3
- package/docs/usage/plugins/basic-usage.mdx +2 -3
- package/docs/usage/plugins/custom-plugin.mdx +2 -2
- package/docs/usage/plugins/development.mdx +2 -4
- package/docs/usage/plugins/store.mdx +2 -2
- package/docs/usage/providers/ai21.mdx +2 -2
- package/docs/usage/providers/anthropic.mdx +2 -3
- package/docs/usage/providers/anthropic.zh-CN.mdx +2 -2
- package/docs/usage/providers/azure.mdx +2 -3
- package/docs/usage/providers/azureai.mdx +4 -2
- package/docs/usage/providers/azureai.zh-CN.mdx +2 -1
- package/docs/usage/providers/baichuan.mdx +2 -3
- package/docs/usage/providers/bedrock.mdx +2 -3
- package/docs/usage/providers/cloudflare.mdx +3 -2
- package/docs/usage/providers/deepseek.mdx +2 -2
- package/docs/usage/providers/fireworksai.mdx +2 -2
- package/docs/usage/providers/giteeai.mdx +2 -2
- package/docs/usage/providers/github.mdx +1 -1
- package/docs/usage/providers/github.zh-CN.mdx +1 -1
- package/docs/usage/providers/google.mdx +2 -3
- package/docs/usage/providers/groq.mdx +2 -2
- package/docs/usage/providers/hunyuan.mdx +2 -2
- package/docs/usage/providers/infiniai.zh-CN.mdx +3 -1
- package/docs/usage/providers/internlm.mdx +2 -2
- package/docs/usage/providers/jina.mdx +4 -3
- package/docs/usage/providers/jina.zh-CN.mdx +2 -2
- package/docs/usage/providers/lmstudio.mdx +2 -2
- package/docs/usage/providers/lmstudio.zh-CN.mdx +2 -4
- package/docs/usage/providers/minimax.mdx +2 -3
- package/docs/usage/providers/minimax.zh-CN.mdx +2 -2
- package/docs/usage/providers/mistral.mdx +2 -3
- package/docs/usage/providers/modelscope.mdx +4 -0
- package/docs/usage/providers/modelscope.zh-CN.mdx +4 -0
- package/docs/usage/providers/moonshot.mdx +2 -3
- package/docs/usage/providers/novita.mdx +2 -3
- package/docs/usage/providers/novita.zh-CN.mdx +2 -2
- package/docs/usage/providers/nvidia.mdx +3 -2
- package/docs/usage/providers/ollama/gemma.mdx +2 -3
- package/docs/usage/providers/ollama/gemma.zh-CN.mdx +2 -2
- package/docs/usage/providers/ollama.mdx +2 -2
- package/docs/usage/providers/openai.mdx +5 -5
- package/docs/usage/providers/openai.zh-CN.mdx +3 -3
- package/docs/usage/providers/openrouter.mdx +2 -3
- package/docs/usage/providers/perplexity.mdx +2 -2
- package/docs/usage/providers/ppio.mdx +5 -6
- package/docs/usage/providers/ppio.zh-CN.mdx +6 -6
- package/docs/usage/providers/qiniu.mdx +6 -6
- package/docs/usage/providers/qiniu.zh-CN.mdx +2 -1
- package/docs/usage/providers/qwen.mdx +2 -4
- package/docs/usage/providers/sambanova.mdx +2 -1
- package/docs/usage/providers/sensenova.mdx +2 -2
- package/docs/usage/providers/siliconcloud.mdx +2 -2
- package/docs/usage/providers/stepfun.mdx +2 -3
- package/docs/usage/providers/taichu.mdx +2 -3
- package/docs/usage/providers/togetherai.mdx +2 -2
- package/docs/usage/providers/vllm.mdx +15 -12
- package/docs/usage/providers/vllm.zh-CN.mdx +9 -7
- package/docs/usage/providers/volcengine.mdx +16 -14
- package/docs/usage/providers/wenxin.mdx +2 -2
- package/docs/usage/providers/xai.mdx +2 -2
- package/docs/usage/providers/zeroone.mdx +2 -3
- package/docs/usage/providers/zeroone.zh-CN.mdx +2 -2
- package/docs/usage/providers/zhipu.mdx +2 -3
- package/docs/usage/providers/zhipu.zh-CN.mdx +1 -1
- package/docs/usage/providers.mdx +2 -3
- package/docs/usage/start.mdx +2 -3
- package/docs/usage/tools-calling/anthropic.mdx +2 -2
- package/docs/usage/tools-calling/anthropic.zh-CN.mdx +2 -2
- package/docs/usage/tools-calling/google.mdx +2 -2
- package/docs/usage/tools-calling/google.zh-CN.mdx +4 -4
- package/docs/usage/tools-calling/groq.zh-CN.mdx +2 -2
- package/docs/usage/tools-calling/openai.mdx +2 -2
- package/docs/usage/tools-calling/openai.zh-CN.mdx +2 -2
- package/package.json +1 -1
- package/src/app/(backend)/webapi/user/avatar/[id]/[image]/route.ts +1 -1
- package/src/app/[variants]/(main)/repos/[id]/_layout/Mobile.tsx +7 -7
- package/src/config/aiModels/deepseek.ts +1 -0
- package/src/config/aiModels/hunyuan.ts +1 -0
- package/src/config/aiModels/mistral.ts +1 -2
- package/src/config/aiModels/novita.ts +23 -22
- package/src/config/aiModels/openrouter.ts +1 -0
- package/src/config/aiModels/qwen.ts +11 -11
- package/src/config/aiModels/siliconcloud.ts +7 -6
- package/src/config/aiModels/vertexai.ts +2 -2
- package/src/config/aiModels/wenxin.ts +1 -2
- package/src/config/modelProviders/baichuan.ts +3 -0
- package/src/config/modelProviders/fireworksai.ts +3 -0
- package/src/config/modelProviders/giteeai.ts +3 -0
- package/src/config/modelProviders/github.ts +1 -2
- package/src/config/modelProviders/groq.ts +0 -3
- package/src/config/modelProviders/hunyuan.ts +3 -0
- package/src/config/modelProviders/infiniai.ts +0 -3
- package/src/config/modelProviders/internlm.ts +3 -0
- package/src/config/modelProviders/minimax.ts +3 -4
- package/src/config/modelProviders/moonshot.ts +0 -7
- package/src/config/modelProviders/novita.ts +3 -0
- package/src/config/modelProviders/openrouter.ts +0 -4
- package/src/config/modelProviders/perplexity.ts +0 -3
- package/src/config/modelProviders/qiniu.ts +0 -3
- package/src/config/modelProviders/qwen.ts +0 -3
- package/src/config/modelProviders/sensenova.ts +3 -0
- package/src/config/modelProviders/siliconcloud.ts +0 -3
- package/src/config/modelProviders/spark.ts +0 -5
- package/src/config/modelProviders/stepfun.ts +3 -6
- package/src/config/modelProviders/taichu.ts +3 -0
- package/src/config/modelProviders/tencentcloud.ts +3 -0
- package/src/config/modelProviders/togetherai.ts +3 -0
- package/src/config/modelProviders/upstage.ts +3 -0
- package/src/config/modelProviders/wenxin.ts +3 -4
- package/src/config/modelProviders/xai.ts +0 -3
- package/src/config/modelProviders/zhipu.ts +3 -0
- package/src/database/migrations/meta/0014_snapshot.json +182 -539
- package/src/database/migrations/meta/0016_snapshot.json +182 -539
- package/src/database/repositories/dataImporter/__tests__/fixtures/with-client-id.json +13 -58
- package/src/features/ChatInput/ActionBar/Model/ControlsForm.tsx +1 -8
- package/src/features/ChatInput/ActionBar/Model/index.tsx +8 -16
- package/src/features/ChatInput/ActionBar/Search/Controls.tsx +4 -12
- package/src/features/ChatInput/ActionBar/Search/FCSearchModel.tsx +1 -7
- package/src/features/ChatInput/ActionBar/Search/index.tsx +2 -4
- package/src/features/ModelSwitchPanel/index.tsx +1 -4
- package/src/libs/model-runtime/anthropic/index.test.ts +4 -2
- package/src/libs/model-runtime/utils/streams/anthropic.ts +12 -11
- package/src/libs/model-runtime/utils/streams/openai.ts +6 -4
- package/src/libs/model-runtime/utils/streams/protocol.ts +1 -1
- package/src/libs/model-runtime/utils/streams/spark.test.ts +1 -1
- package/src/libs/model-runtime/utils/streams/spark.ts +1 -2
- package/src/middleware.ts +1 -1
- package/src/server/services/user/index.ts +3 -4
- package/src/services/__tests__/assistant.test.ts +4 -6
- package/src/services/__tests__/tool.test.ts +3 -1
- package/src/store/user/slices/auth/selectors.ts +1 -1
- package/src/store/user/slices/common/action.test.ts +1 -1
- package/src/tools/web-browsing/index.ts +1 -7
@@ -1,9 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: Using 01 AI API Key in LobeChat
|
3
3
|
description: >-
|
4
|
-
Learn how to integrate and use 01 AI in LobeChat with step-by-step
|
5
|
-
|
6
|
-
AI models.
|
4
|
+
Learn how to integrate and use 01 AI in LobeChat with step-by-step instructions. Obtain an API key, configure 01 AI, and start conversations with AI models.
|
5
|
+
|
7
6
|
tags:
|
8
7
|
- 01.AI
|
9
8
|
- Web UI
|
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: 在 LobeChat 中使用 01.AI 零一万物 API Key
|
3
3
|
description: >-
|
4
|
-
学习如何在 LobeChat 中配置并使用 01.AI 零一万物提供的 AI 模型进行对话。获取 API 密钥、填入设置项、选择模型,开始与 AI
|
5
|
-
|
4
|
+
学习如何在 LobeChat 中配置并使用 01.AI 零一万物提供的 AI 模型进行对话。获取 API 密钥、填入设置项、选择模型,开始与 AI 助手交流。
|
5
|
+
|
6
6
|
tags:
|
7
7
|
- LobeChat
|
8
8
|
- 01.AI
|
@@ -1,9 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: Using Zhipu ChatGLM API Key in LobeChat
|
3
3
|
description: >-
|
4
|
-
Learn how to integrate and utilize Zhipu AI models in LobeChat for enhanced
|
5
|
-
|
6
|
-
engaging with cognitive intelligence.
|
4
|
+
Learn how to integrate and utilize Zhipu AI models in LobeChat for enhanced conversational experiences. Obtain the API key, configure settings, and start engaging with cognitive intelligence.
|
5
|
+
|
7
6
|
tags:
|
8
7
|
- Zhipu AI
|
9
8
|
- ChatGLM
|
@@ -35,7 +35,7 @@ tags:
|
|
35
35
|
- 打开智谱 AI 并填入获得的 API 密钥
|
36
36
|
- 为你的助手选择一个智谱 AI 的模型即可开始对话
|
37
37
|
|
38
|
-
<Image alt={' 选择并使用智谱AI模型 '} inStep src={
|
38
|
+
<Image alt={' 选择并使用智谱AI模型 '} inStep src={'https://github.com/lobehub/lobe-chat/assets/34400653/b83da559-73d1-4734-87d5-5e22955a9da2'} />
|
39
39
|
|
40
40
|
<Callout type={'warning'}>
|
41
41
|
在使用过程中你可能需要向 API 服务提供商付费,请参考智谱 AI 的费用政策。
|
package/docs/usage/providers.mdx
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: Enhancing LobeChat with Multiple Model Providers for AI Conversations
|
3
3
|
description: >-
|
4
|
-
Discover how LobeChat offers diverse AI conversation options by supporting
|
5
|
-
|
6
|
-
for users and developers.
|
4
|
+
Discover how LobeChat offers diverse AI conversation options by supporting multiple model providers, providing flexibility and a wide range of choices for users and developers.
|
5
|
+
|
7
6
|
tags:
|
8
7
|
- LobeChat
|
9
8
|
- AI Conversations
|
package/docs/usage/start.mdx
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: Get started with LobeChat
|
3
3
|
description: >-
|
4
|
-
Explore the exciting features in LobeChat, including Vision Model, TTS & STT,
|
5
|
-
|
6
|
-
System, and Personalization.
|
4
|
+
Explore the exciting features in LobeChat, including Vision Model, TTS & STT, Local LLMs, and Multi AI Providers. Discover more about Agent Market, Plugin System, and Personalization.
|
5
|
+
|
7
6
|
tags:
|
8
7
|
- Feature Overview
|
9
8
|
- Vision Model
|
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: Anthropic Claude 系列 Tools Calling 评测
|
3
3
|
description: >-
|
4
|
-
使用 LobeChat 测试 Anthropic Claude 系列模型(Claude 3.5 sonnet / Claude 3 Opus /
|
5
|
-
|
4
|
+
使用 LobeChat 测试 Anthropic Claude 系列模型(Claude 3.5 sonnet / Claude 3 Opus / Claude 3 haiku) 的工具调用(Function Calling)能力,并展现评测结果
|
5
|
+
|
6
6
|
tags:
|
7
7
|
- Tools Calling
|
8
8
|
- Benchmark
|
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: Anthropic Claude 系列 Tools Calling 评测
|
3
3
|
description: >-
|
4
|
-
使用 LobeChat 测试 Anthropic Claude 系列模型(Claude 3.5 sonnet / Claude 3 Opus /
|
5
|
-
|
4
|
+
使用 LobeChat 测试 Anthropic Claude 系列模型(Claude 3.5 sonnet / Claude 3 Opus / Claude 3 haiku) 的工具调用(Function Calling)能力,并展现评测结果
|
5
|
+
|
6
6
|
tags:
|
7
7
|
- Tools Calling
|
8
8
|
- Benchmark
|
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: Google Gemini 系列 Tool Calling 评测
|
3
3
|
description: >-
|
4
|
-
使用 LobeChat 测试 Google Gemini 系列模型(Gemini 1.5 Pro / Gemini 1.5 Flash)
|
5
|
-
|
4
|
+
使用 LobeChat 测试 Google Gemini 系列模型(Gemini 1.5 Pro / Gemini 1.5 Flash) 的工具调用(Function Calling)能力,并展现评测结果
|
5
|
+
|
6
6
|
tags:
|
7
7
|
- Tools Calling
|
8
8
|
- Benchmark
|
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: Google Gemini 系列 Tools Calling 评测
|
3
3
|
description: >-
|
4
|
-
使用 LobeChat 测试 Google Gemini 系列模型(Gemini 1.5 Pro / Gemini 1.5
|
5
|
-
|
4
|
+
使用 LobeChat 测试 Google Gemini 系列模型(Gemini 1.5 Pro / Gemini 1.5 Flash)的工具调用(Function Calling)能力,并展现评测结果
|
5
|
+
|
6
6
|
tags:
|
7
7
|
- Tools Calling
|
8
8
|
- Benchmark
|
@@ -21,8 +21,8 @@ Google Gemini 系列模型 Tools Calling 能力一览:
|
|
21
21
|
| Gemini 1.5 Flash | ❌ | ❌ | ❌ | ⛔ | ⛔ |
|
22
22
|
|
23
23
|
<Callout type={'important'}>
|
24
|
-
根据我们的的实际测试,强烈建议不要给 Gemini 开启插件,因为目前(截止 2024.07.07)它的 Tools
|
25
|
-
能力实在太烂了。
|
24
|
+
根据我们的的实际测试,强烈建议不要给 Gemini 开启插件,因为目前(截止 2024.07.07)它的 Tools
|
25
|
+
Calling 能力实在太烂了。
|
26
26
|
</Callout>
|
27
27
|
|
28
28
|
## Gemini 1.5 Pro
|
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: OpenAI GPT 系列 Tools Calling 评测
|
3
3
|
description: >-
|
4
|
-
使用 LobeChat 测试 OpenAI GPT 系列模型(GPT 3.5-turbo / GPT-4 /GPT-4o) 的工具调用(Function
|
5
|
-
|
4
|
+
使用 LobeChat 测试 OpenAI GPT 系列模型(GPT 3.5-turbo / GPT-4 /GPT-4o) 的工具调用(Function Calling)能力,并展现评测结果
|
5
|
+
|
6
6
|
tags:
|
7
7
|
- Tools Calling
|
8
8
|
- Benchmark
|
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: OpenAI GPT 系列 Tools Calling 评测
|
3
3
|
description: >-
|
4
|
-
使用 LobeChat 测试 OpenAI GPT 系列模型(GPT 3.5-turbo / GPT-4 /GPT-4o) 的工具调用(Function
|
5
|
-
|
4
|
+
使用 LobeChat 测试 OpenAI GPT 系列模型(GPT 3.5-turbo / GPT-4 /GPT-4o) 的工具调用(Function Calling)能力,并展现评测结果
|
5
|
+
|
6
6
|
tags:
|
7
7
|
- Tools Calling
|
8
8
|
- Benchmark
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.91.
|
3
|
+
"version": "1.91.1",
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
5
5
|
"keywords": [
|
6
6
|
"framework",
|
@@ -2,7 +2,7 @@ import { UserService } from '@/server/services/user';
|
|
2
2
|
|
3
3
|
export const runtime = 'nodejs';
|
4
4
|
|
5
|
-
type Params = Promise<{ id: string
|
5
|
+
type Params = Promise<{ id: string; image: string }>;
|
6
6
|
|
7
7
|
// 扩展名到内容类型的映射
|
8
8
|
const CONTENT_TYPE_MAP: Record<string, string> = {
|
@@ -22,13 +22,13 @@ const Layout = memo<LayoutProps>(({ children }) => {
|
|
22
22
|
|
23
23
|
return (
|
24
24
|
<Flexbox
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
25
|
+
className={styles.main}
|
26
|
+
height="100%"
|
27
|
+
style={showMobileWorkspace ? { display: 'none' } : undefined}
|
28
|
+
width="100%"
|
29
|
+
>
|
30
|
+
{children}
|
31
|
+
</Flexbox>
|
32
32
|
);
|
33
33
|
});
|
34
34
|
|
@@ -9,8 +9,7 @@ const mistralChatModels: AIChatModelCard[] = [
|
|
9
9
|
functionCall: true,
|
10
10
|
},
|
11
11
|
contextWindowTokens: 128_000,
|
12
|
-
description:
|
13
|
-
'Mistral Medium 3 以 8 倍的成本提供最先进的性能,并从根本上简化了企业部署。',
|
12
|
+
description: 'Mistral Medium 3 以 8 倍的成本提供最先进的性能,并从根本上简化了企业部署。',
|
14
13
|
displayName: 'Mistral Medium 3',
|
15
14
|
enabled: true,
|
16
15
|
id: 'mistral-medium-latest',
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { AIChatModelCard } from '@/types/aiModel';
|
2
|
+
|
2
3
|
// https://novita.ai/pricing
|
3
4
|
const novitaChatModels: AIChatModelCard[] = [
|
4
5
|
{
|
@@ -7,7 +8,7 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
7
8
|
id: 'qwen/qwen3-4b-fp8',
|
8
9
|
pricing: {
|
9
10
|
input: 0,
|
10
|
-
output: 0
|
11
|
+
output: 0,
|
11
12
|
},
|
12
13
|
type: 'chat',
|
13
14
|
},
|
@@ -17,7 +18,7 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
17
18
|
id: 'qwen/qwen3-235b-a22b-fp8',
|
18
19
|
pricing: {
|
19
20
|
input: 0.2,
|
20
|
-
output: 0.8
|
21
|
+
output: 0.8,
|
21
22
|
},
|
22
23
|
type: 'chat',
|
23
24
|
},
|
@@ -27,7 +28,7 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
27
28
|
id: 'qwen/qwen3-30b-a3b-fp8',
|
28
29
|
pricing: {
|
29
30
|
input: 0.1,
|
30
|
-
output: 0.45
|
31
|
+
output: 0.45,
|
31
32
|
},
|
32
33
|
type: 'chat',
|
33
34
|
},
|
@@ -37,7 +38,7 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
37
38
|
id: 'qwen/qwen3-32b-fp8',
|
38
39
|
pricing: {
|
39
40
|
input: 0.1,
|
40
|
-
output: 0.45
|
41
|
+
output: 0.45,
|
41
42
|
},
|
42
43
|
type: 'chat',
|
43
44
|
},
|
@@ -47,7 +48,7 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
47
48
|
id: 'meta-llama/llama-3.3-70b-instruct',
|
48
49
|
pricing: {
|
49
50
|
input: 0.13,
|
50
|
-
output: 0.39
|
51
|
+
output: 0.39,
|
51
52
|
},
|
52
53
|
type: 'chat',
|
53
54
|
},
|
@@ -57,7 +58,7 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
57
58
|
id: 'qwen/qwen3-8b-fp8',
|
58
59
|
pricing: {
|
59
60
|
input: 0.035,
|
60
|
-
output: 0.138
|
61
|
+
output: 0.138,
|
61
62
|
},
|
62
63
|
type: 'chat',
|
63
64
|
},
|
@@ -384,9 +385,9 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
384
385
|
contextWindowTokens: 131_000,
|
385
386
|
displayName: 'Llama 3.2 1B Instruct',
|
386
387
|
id: 'meta-llama/llama-3.2-1b-instruct',
|
387
|
-
pricing: {
|
388
|
-
input: 0,
|
389
|
-
output: 0
|
388
|
+
pricing: {
|
389
|
+
input: 0,
|
390
|
+
output: 0,
|
390
391
|
},
|
391
392
|
type: 'chat',
|
392
393
|
},
|
@@ -434,9 +435,9 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
434
435
|
contextWindowTokens: 32_000,
|
435
436
|
displayName: 'GLM 4 9B 0414',
|
436
437
|
id: 'thudm/glm-4-9b-0414',
|
437
|
-
pricing: {
|
438
|
+
pricing: {
|
438
439
|
input: 0,
|
439
|
-
output: 0
|
440
|
+
output: 0,
|
440
441
|
},
|
441
442
|
type: 'chat',
|
442
443
|
},
|
@@ -444,9 +445,9 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
444
445
|
contextWindowTokens: 32_000,
|
445
446
|
displayName: 'GLM Z1 9B 0414',
|
446
447
|
id: 'thudm/glm-z1-9b-0414',
|
447
|
-
pricing: {
|
448
|
+
pricing: {
|
448
449
|
input: 0,
|
449
|
-
output: 0
|
450
|
+
output: 0,
|
450
451
|
},
|
451
452
|
type: 'chat',
|
452
453
|
},
|
@@ -454,9 +455,9 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
454
455
|
contextWindowTokens: 32_000,
|
455
456
|
displayName: 'GLM Z1 32B 0414',
|
456
457
|
id: 'thudm/glm-z1-32b-0414',
|
457
|
-
pricing: {
|
458
|
-
input: 0.24,
|
459
|
-
output: 0.24
|
458
|
+
pricing: {
|
459
|
+
input: 0.24,
|
460
|
+
output: 0.24,
|
460
461
|
},
|
461
462
|
type: 'chat',
|
462
463
|
},
|
@@ -464,9 +465,9 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
464
465
|
contextWindowTokens: 32_000,
|
465
466
|
displayName: 'GLM 4 32B 0414',
|
466
467
|
id: 'thudm/glm-4-32b-0414',
|
467
|
-
pricing: {
|
468
|
-
input: 0.24,
|
469
|
-
output: 0.24
|
468
|
+
pricing: {
|
469
|
+
input: 0.24,
|
470
|
+
output: 0.24,
|
470
471
|
},
|
471
472
|
type: 'chat',
|
472
473
|
},
|
@@ -474,9 +475,9 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
474
475
|
contextWindowTokens: 32_000,
|
475
476
|
displayName: 'GLM Z1 Rumination 32B 0414',
|
476
477
|
id: 'thudm/glm-z1-rumination-32b-0414',
|
477
|
-
pricing: {
|
478
|
-
input: 0.24,
|
479
|
-
output: 0.24
|
478
|
+
pricing: {
|
479
|
+
input: 0.24,
|
480
|
+
output: 0.24,
|
480
481
|
},
|
481
482
|
type: 'chat',
|
482
483
|
},
|
@@ -280,7 +280,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
280
280
|
search: true,
|
281
281
|
},
|
282
282
|
config: {
|
283
|
-
deploymentName: 'qwen-max-2025-01-25',
|
283
|
+
deploymentName: 'qwen-max-2025-01-25',
|
284
284
|
},
|
285
285
|
contextWindowTokens: 131_072,
|
286
286
|
description:
|
@@ -305,7 +305,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
305
305
|
functionCall: true,
|
306
306
|
},
|
307
307
|
config: {
|
308
|
-
deploymentName: 'qwen-long-latest',
|
308
|
+
deploymentName: 'qwen-long-latest',
|
309
309
|
},
|
310
310
|
contextWindowTokens: 10_000_000,
|
311
311
|
description:
|
@@ -327,7 +327,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
327
327
|
vision: true,
|
328
328
|
},
|
329
329
|
config: {
|
330
|
-
deploymentName: 'qwen-omni-turbo-latest',
|
330
|
+
deploymentName: 'qwen-omni-turbo-latest',
|
331
331
|
},
|
332
332
|
contextWindowTokens: 32_768,
|
333
333
|
description:
|
@@ -367,7 +367,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
367
367
|
vision: true,
|
368
368
|
},
|
369
369
|
config: {
|
370
|
-
deploymentName: 'qwen-vl-plus-2025-01-25',
|
370
|
+
deploymentName: 'qwen-vl-plus-2025-01-25',
|
371
371
|
},
|
372
372
|
contextWindowTokens: 131_072,
|
373
373
|
description:
|
@@ -388,7 +388,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
388
388
|
vision: true,
|
389
389
|
},
|
390
390
|
config: {
|
391
|
-
deploymentName: 'qwen-vl-max-2025-04-08',
|
391
|
+
deploymentName: 'qwen-vl-max-2025-04-08',
|
392
392
|
},
|
393
393
|
contextWindowTokens: 131_072,
|
394
394
|
description:
|
@@ -410,7 +410,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
410
410
|
vision: true,
|
411
411
|
},
|
412
412
|
config: {
|
413
|
-
deploymentName: 'qwen-vl-ocr-2025-04-13',
|
413
|
+
deploymentName: 'qwen-vl-ocr-2025-04-13',
|
414
414
|
},
|
415
415
|
contextWindowTokens: 34_096,
|
416
416
|
description:
|
@@ -428,7 +428,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
428
428
|
},
|
429
429
|
{
|
430
430
|
config: {
|
431
|
-
deploymentName: 'qwen-math-turbo-latest',
|
431
|
+
deploymentName: 'qwen-math-turbo-latest',
|
432
432
|
},
|
433
433
|
contextWindowTokens: 4096,
|
434
434
|
description: '通义千问数学模型是专门用于数学解题的语言模型。',
|
@@ -445,7 +445,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
445
445
|
},
|
446
446
|
{
|
447
447
|
config: {
|
448
|
-
deploymentName: 'qwen-math-plus-latest',
|
448
|
+
deploymentName: 'qwen-math-plus-latest',
|
449
449
|
},
|
450
450
|
contextWindowTokens: 4096,
|
451
451
|
description: '通义千问数学模型是专门用于数学解题的语言模型。',
|
@@ -462,7 +462,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
462
462
|
},
|
463
463
|
{
|
464
464
|
config: {
|
465
|
-
deploymentName: 'qwen-coder-turbo-latest',
|
465
|
+
deploymentName: 'qwen-coder-turbo-latest',
|
466
466
|
},
|
467
467
|
contextWindowTokens: 131_072,
|
468
468
|
description: '通义千问代码模型。',
|
@@ -479,7 +479,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
479
479
|
},
|
480
480
|
{
|
481
481
|
config: {
|
482
|
-
deploymentName: 'qwen-coder-plus-latest',
|
482
|
+
deploymentName: 'qwen-coder-plus-latest',
|
483
483
|
},
|
484
484
|
contextWindowTokens: 131_072,
|
485
485
|
description: '通义千问代码模型。',
|
@@ -541,7 +541,7 @@ const qwenChatModels: AIChatModelCard[] = [
|
|
541
541
|
vision: true,
|
542
542
|
},
|
543
543
|
config: {
|
544
|
-
deploymentName: 'qvq-max-latest',
|
544
|
+
deploymentName: 'qvq-max-latest',
|
545
545
|
},
|
546
546
|
contextWindowTokens: 122_880,
|
547
547
|
description:
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { AIChatModelCard } from '@/types/aiModel';
|
2
|
+
|
2
3
|
// https://siliconflow.cn/zh-cn/models
|
3
4
|
const siliconcloudChatModels: AIChatModelCard[] = [
|
4
5
|
{
|
@@ -331,7 +332,7 @@ const siliconcloudChatModels: AIChatModelCard[] = [
|
|
331
332
|
{
|
332
333
|
abilities: {
|
333
334
|
functionCall: true,
|
334
|
-
reasoning: true
|
335
|
+
reasoning: true,
|
335
336
|
},
|
336
337
|
contextWindowTokens: 131_072,
|
337
338
|
description:
|
@@ -348,7 +349,7 @@ const siliconcloudChatModels: AIChatModelCard[] = [
|
|
348
349
|
{
|
349
350
|
abilities: {
|
350
351
|
functionCall: true,
|
351
|
-
reasoning: true
|
352
|
+
reasoning: true,
|
352
353
|
},
|
353
354
|
contextWindowTokens: 131_072,
|
354
355
|
description:
|
@@ -365,7 +366,7 @@ const siliconcloudChatModels: AIChatModelCard[] = [
|
|
365
366
|
{
|
366
367
|
abilities: {
|
367
368
|
functionCall: true,
|
368
|
-
reasoning: true
|
369
|
+
reasoning: true,
|
369
370
|
},
|
370
371
|
contextWindowTokens: 131_072,
|
371
372
|
description:
|
@@ -382,7 +383,7 @@ const siliconcloudChatModels: AIChatModelCard[] = [
|
|
382
383
|
{
|
383
384
|
abilities: {
|
384
385
|
functionCall: true,
|
385
|
-
reasoning: true
|
386
|
+
reasoning: true,
|
386
387
|
},
|
387
388
|
contextWindowTokens: 131_072,
|
388
389
|
description:
|
@@ -399,7 +400,7 @@ const siliconcloudChatModels: AIChatModelCard[] = [
|
|
399
400
|
{
|
400
401
|
abilities: {
|
401
402
|
functionCall: true,
|
402
|
-
reasoning: true
|
403
|
+
reasoning: true,
|
403
404
|
},
|
404
405
|
contextWindowTokens: 131_072,
|
405
406
|
description:
|
@@ -416,7 +417,7 @@ const siliconcloudChatModels: AIChatModelCard[] = [
|
|
416
417
|
{
|
417
418
|
abilities: {
|
418
419
|
functionCall: true,
|
419
|
-
reasoning: true
|
420
|
+
reasoning: true,
|
420
421
|
},
|
421
422
|
contextWindowTokens: 131_072,
|
422
423
|
description:
|
@@ -100,7 +100,7 @@ const vertexaiChatModels: AIChatModelCard[] = [
|
|
100
100
|
{
|
101
101
|
abilities: {
|
102
102
|
functionCall: true,
|
103
|
-
vision: true
|
103
|
+
vision: true,
|
104
104
|
},
|
105
105
|
contextWindowTokens: 1_000_000 + 8192,
|
106
106
|
description: 'Gemini 1.5 Flash 002 是一款高效的多模态模型,支持广泛应用的扩展。',
|
@@ -117,7 +117,7 @@ const vertexaiChatModels: AIChatModelCard[] = [
|
|
117
117
|
{
|
118
118
|
abilities: {
|
119
119
|
functionCall: true,
|
120
|
-
vision: true
|
120
|
+
vision: true,
|
121
121
|
},
|
122
122
|
contextWindowTokens: 2_000_000 + 8192,
|
123
123
|
description:
|
@@ -6,8 +6,7 @@ const wenxinChatModels: AIChatModelCard[] = [
|
|
6
6
|
reasoning: true,
|
7
7
|
},
|
8
8
|
contextWindowTokens: 32_768,
|
9
|
-
description:
|
10
|
-
'与ERNIE-X1-32K相比,模型效果和性能更好。',
|
9
|
+
description: '与ERNIE-X1-32K相比,模型效果和性能更好。',
|
11
10
|
displayName: 'ERNIE X1 Turbo 32K',
|
12
11
|
enabled: true,
|
13
12
|
id: 'ernie-x1-turbo-32k',
|
@@ -97,6 +97,9 @@ const Baichuan: ModelProviderCard = {
|
|
97
97
|
modelsUrl: 'https://platform.baichuan-ai.com/price',
|
98
98
|
name: 'Baichuan',
|
99
99
|
settings: {
|
100
|
+
proxyUrl: {
|
101
|
+
placeholder: 'https://api.baichuan-ai.com/v1',
|
102
|
+
},
|
100
103
|
sdkType: 'openai',
|
101
104
|
showModelFetcher: true,
|
102
105
|
smoothing: {
|
@@ -273,6 +273,9 @@ const FireworksAI: ModelProviderCard = {
|
|
273
273
|
modelsUrl: 'https://fireworks.ai/models?show=Serverless',
|
274
274
|
name: 'Fireworks AI',
|
275
275
|
settings: {
|
276
|
+
proxyUrl: {
|
277
|
+
placeholder: 'https://api.fireworks.ai/inference/v1',
|
278
|
+
},
|
276
279
|
sdkType: 'openai',
|
277
280
|
showModelFetcher: true,
|
278
281
|
},
|
@@ -176,9 +176,6 @@ const Groq: ModelProviderCard = {
|
|
176
176
|
modelList: { showModelFetcher: true },
|
177
177
|
modelsUrl: 'https://console.groq.com/docs/models',
|
178
178
|
name: 'Groq',
|
179
|
-
proxyUrl: {
|
180
|
-
placeholder: 'https://api.groq.com/openai/v1',
|
181
|
-
},
|
182
179
|
settings: {
|
183
180
|
proxyUrl: {
|
184
181
|
placeholder: 'https://api.groq.com/openai/v1',
|
@@ -168,9 +168,6 @@ const InfiniAI: ModelProviderCard = {
|
|
168
168
|
modelList: { showModelFetcher: true },
|
169
169
|
modelsUrl: 'https://cloud.infini-ai.com/genstudio/model',
|
170
170
|
name: 'InfiniAI',
|
171
|
-
proxyUrl: {
|
172
|
-
placeholder: 'https://cloud.infini-ai.com/maas/v1',
|
173
|
-
},
|
174
171
|
settings: {
|
175
172
|
proxyUrl: {
|
176
173
|
placeholder: 'https://cloud.infini-ai.com/maas/v1',
|