@lobehub/chat 1.15.0 → 1.15.2

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/docker-compose/local/.env.example +1 -1
  3. package/docker-compose/production/.env.example +36 -15
  4. package/docker-compose/production/.env.zh-CN.example +34 -14
  5. package/docs/self-hosting/advanced/auth/next-auth/authelia.zh-CN.mdx +1 -1
  6. package/docs/self-hosting/advanced/auth/next-auth/authentik.zh-CN.mdx +1 -1
  7. package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.zh-CN.mdx +1 -1
  8. package/docs/self-hosting/advanced/auth/next-auth/github.zh-CN.mdx +1 -1
  9. package/docs/self-hosting/advanced/auth/next-auth/logto.zh-CN.mdx +1 -1
  10. package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.zh-CN.mdx +1 -1
  11. package/docs/self-hosting/advanced/auth/next-auth/zitadel.zh-CN.mdx +1 -1
  12. package/docs/self-hosting/advanced/knowledge-base.mdx +53 -0
  13. package/docs/self-hosting/advanced/knowledge-base.zh-CN.mdx +10 -4
  14. package/docs/self-hosting/advanced/model-list.mdx +3 -1
  15. package/docs/self-hosting/advanced/model-list.zh-CN.mdx +3 -1
  16. package/docs/self-hosting/advanced/s3/cloudflare-r2.zh-CN.mdx +54 -52
  17. package/docs/self-hosting/advanced/s3/tencent-cloud.mdx +66 -0
  18. package/docs/self-hosting/advanced/s3/tencent-cloud.zh-CN.mdx +82 -0
  19. package/docs/self-hosting/advanced/s3.mdx +2 -1
  20. package/docs/self-hosting/advanced/s3.zh-CN.mdx +1 -0
  21. package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +2 -2
  22. package/docs/self-hosting/environment-variables/s3.mdx +82 -0
  23. package/docs/self-hosting/environment-variables/s3.zh-CN.mdx +81 -0
  24. package/docs/self-hosting/environment-variables.mdx +1 -0
  25. package/docs/self-hosting/environment-variables.zh-CN.mdx +1 -0
  26. package/docs/self-hosting/examples/azure-openai.mdx +1 -1
  27. package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +1 -1
  28. package/docs/self-hosting/examples/ollama.zh-CN.mdx +1 -1
  29. package/docs/self-hosting/platform/docker.zh-CN.mdx +1 -1
  30. package/docs/self-hosting/platform/netlify.zh-CN.mdx +1 -1
  31. package/docs/self-hosting/platform/vercel.zh-CN.mdx +1 -1
  32. package/docs/self-hosting/server-database/docker-compose.mdx +115 -56
  33. package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +113 -58
  34. package/docs/self-hosting/server-database/docker.mdx +1 -1
  35. package/docs/self-hosting/server-database/zeabur.mdx +6 -2
  36. package/docs/self-hosting/server-database/zeabur.zh-CN.mdx +2 -2
  37. package/docs/self-hosting/server-database.mdx +2 -2
  38. package/docs/self-hosting/start.mdx +1 -1
  39. package/docs/usage/agents/custom-agent.zh-CN.mdx +2 -2
  40. package/docs/usage/features/local-llm.zh-CN.mdx +2 -2
  41. package/docs/usage/features/multi-ai-providers.zh-CN.mdx +3 -3
  42. package/docs/usage/features/plugin-system.mdx +1 -1
  43. package/docs/usage/features/plugin-system.zh-CN.mdx +2 -2
  44. package/docs/usage/foundation/basic.mdx +5 -5
  45. package/docs/usage/foundation/basic.zh-CN.mdx +5 -5
  46. package/docs/usage/foundation/text2image.mdx +1 -1
  47. package/docs/usage/foundation/text2image.zh-CN.mdx +1 -1
  48. package/docs/usage/plugins/custom-plugin.zh-CN.mdx +1 -1
  49. package/docs/usage/providers/ollama/gemma.zh-CN.mdx +2 -2
  50. package/docs/usage/providers/ollama/qwen.zh-CN.mdx +2 -2
  51. package/docs/usage/tools-calling/openai.mdx +1 -1
  52. package/package.json +1 -1
  53. package/src/config/modelProviders/baichuan.ts +1 -1
  54. package/src/config/modelProviders/google.ts +14 -14
  55. package/src/config/modelProviders/minimax.ts +1 -1
  56. package/src/config/modelProviders/qwen.ts +39 -35
@@ -16,28 +16,28 @@ const Google: ModelProviderCard = {
16
16
  },
17
17
  {
18
18
  description: 'Fast and versatile multimodal model for scaling across diverse tasks',
19
- displayName: 'Gemini 1.5 Flash 001',
19
+ displayName: 'Gemini 1.5 Flash 0827',
20
+ enabled: true,
20
21
  functionCall: true,
21
- id: 'gemini-1.5-flash-001',
22
+ id: 'gemini-1.5-flash-exp-0827',
22
23
  maxOutput: 8192,
23
24
  tokens: 1_048_576 + 8192,
24
25
  vision: true,
25
26
  },
26
27
  {
27
28
  description: 'Fast and versatile multimodal model for scaling across diverse tasks',
28
- displayName: 'Gemini 1.5 Flash Experimental 0827',
29
- enabled: true,
29
+ displayName: 'Gemini 1.5 Flash 8B 0827',
30
30
  functionCall: true,
31
- id: 'gemini-1.5-flash-exp-0827',
31
+ id: 'gemini-1.5-flash-8b-exp-0827',
32
32
  maxOutput: 8192,
33
33
  tokens: 1_048_576 + 8192,
34
34
  vision: true,
35
35
  },
36
36
  {
37
37
  description: 'Fast and versatile multimodal model for scaling across diverse tasks',
38
- displayName: 'Gemini 1.5 Flash 8B Experimental 0827',
38
+ displayName: 'Gemini 1.5 Flash 001',
39
39
  functionCall: true,
40
- id: 'gemini-1.5-flash-8b-exp-0827',
40
+ id: 'gemini-1.5-flash-001',
41
41
  maxOutput: 8192,
42
42
  tokens: 1_048_576 + 8192,
43
43
  vision: true,
@@ -54,16 +54,17 @@ const Google: ModelProviderCard = {
54
54
  },
55
55
  {
56
56
  description: 'Mid-size multimodal model that supports up to 2 million tokens',
57
- displayName: 'Gemini 1.5 Pro 001',
57
+ displayName: 'Gemini 1.5 Pro 0827',
58
+ enabled: true,
58
59
  functionCall: true,
59
- id: 'gemini-1.5-pro-001',
60
+ id: 'gemini-1.5-pro-exp-0827',
60
61
  maxOutput: 8192,
61
62
  tokens: 2_097_152 + 8192,
62
63
  vision: true,
63
64
  },
64
65
  {
65
66
  description: 'Mid-size multimodal model that supports up to 2 million tokens',
66
- displayName: 'Gemini 1.5 Pro Experimental 0801',
67
+ displayName: 'Gemini 1.5 Pro 0801',
67
68
  functionCall: true,
68
69
  id: 'gemini-1.5-pro-exp-0801',
69
70
  maxOutput: 8192,
@@ -72,10 +73,9 @@ const Google: ModelProviderCard = {
72
73
  },
73
74
  {
74
75
  description: 'Mid-size multimodal model that supports up to 2 million tokens',
75
- displayName: 'Gemini 1.5 Pro Experimental 0827',
76
- enabled: true,
76
+ displayName: 'Gemini 1.5 Pro 001',
77
77
  functionCall: true,
78
- id: 'gemini-1.5-pro-exp-0827',
78
+ id: 'gemini-1.5-pro-001',
79
79
  maxOutput: 8192,
80
80
  tokens: 2_097_152 + 8192,
81
81
  vision: true,
@@ -106,7 +106,7 @@ const Google: ModelProviderCard = {
106
106
  tokens: 30_720 + 2048,
107
107
  },
108
108
  ],
109
- checkModel: 'gemini-1.5-flash',
109
+ checkModel: 'gemini-1.5-flash-latest',
110
110
  id: 'google',
111
111
  name: 'Google',
112
112
  proxyUrl: {
@@ -42,7 +42,7 @@ const Minimax: ModelProviderCard = {
42
42
  tokens: 8192,
43
43
  },
44
44
  ],
45
- checkModel: 'abab5.5s-chat',
45
+ checkModel: 'abab6.5s-chat',
46
46
  id: 'minimax',
47
47
  name: 'Minimax',
48
48
  };
@@ -3,6 +3,13 @@ import { ModelProviderCard } from '@/types/llm';
3
3
  // ref https://help.aliyun.com/zh/dashscope/developer-reference/api-details
4
4
  const Qwen: ModelProviderCard = {
5
5
  chatModels: [
6
+ {
7
+ description: '通义千问超大规模语言模型,支持长文本上下文,以及基于长文档、多文档等多个场景的对话功能。',
8
+ displayName: 'Qwen Long',
9
+ enabled: true,
10
+ id: 'qwen-long',
11
+ tokens: 1_000_000,
12
+ },
6
13
  {
7
14
  description: '通义千问超大规模语言模型,支持中文、英文等不同语言输入',
8
15
  displayName: 'Qwen Turbo',
@@ -17,7 +24,7 @@ const Qwen: ModelProviderCard = {
17
24
  enabled: true,
18
25
  functionCall: true,
19
26
  id: 'qwen-plus',
20
- tokens: 32_768,
27
+ tokens: 130_000,
21
28
  },
22
29
  {
23
30
  description:
@@ -34,7 +41,34 @@ const Qwen: ModelProviderCard = {
34
41
  displayName: 'Qwen Max LongContext',
35
42
  functionCall: true,
36
43
  id: 'qwen-max-longcontext',
44
+ tokens: 30_720,
45
+ },
46
+ {
47
+ description:
48
+ '通义千问大规模视觉语言模型增强版。大幅提升细节识别能力和文字识别能力,支持超百万像素分辨率和任意长宽比规格的图像。',
49
+ displayName: 'Qwen VL Plus',
50
+ enabled: true,
51
+ id: 'qwen-vl-plus',
52
+ tokens: 8192,
53
+ vision: true,
54
+ },
55
+ {
56
+ description:
57
+ '通义千问超大规模视觉语言模型。相比增强版,再次提升视觉推理能力和指令遵循能力,提供更高的视觉感知和认知水平。',
58
+ displayName: 'Qwen VL Max',
59
+ enabled: true,
60
+ id: 'qwen-vl-max',
61
+ tokens: 8192,
62
+ vision: true,
63
+ },
64
+ {
65
+ description:
66
+ '抢先体验即将升级的 qwen-vl-max 大模型。',
67
+ displayName: 'Qwen VL Max 0809',
68
+ enabled: true,
69
+ id: 'qwen-vl-max-0809',
37
70
  tokens: 32_768,
71
+ vision: true,
38
72
  },
39
73
  {
40
74
  description: '通义千问2对外开源的7B规模的模型',
@@ -55,28 +89,15 @@ const Qwen: ModelProviderCard = {
55
89
  tokens: 128_000,
56
90
  },
57
91
  {
58
- description:
59
- '通义千问大规模视觉语言模型增强版。大幅提升细节识别能力和文字识别能力,支持超百万像素分辨率和任意长宽比规格的图像。',
60
- displayName: 'Qwen VL Plus',
61
- enabled: true,
62
- id: 'qwen-vl-plus',
63
- tokens: 8192,
64
- vision: true,
65
- },
66
- {
67
- description:
68
- '通义千问超大规模视觉语言模型。相比增强版,再次提升视觉推理能力和指令遵循能力,提供更高的视觉感知和认知水平。',
69
- displayName: 'Qwen VL Max',
70
- enabled: true,
71
- id: 'qwen-vl-max',
72
- tokens: 8192,
73
- vision: true,
92
+ description: 'Qwen2-Math 模型具有强大的数学解题能力',
93
+ displayName: 'Qwen2 Math 72B',
94
+ id: 'qwen2-math-72b-instruct',
95
+ tokens: 128_000,
74
96
  },
75
97
  {
76
98
  description:
77
99
  '以 Qwen-7B 语言模型初始化,添加图像模型,图像输入分辨率为448的预训练模型。',
78
100
  displayName: 'Qwen VL',
79
- enabled: true,
80
101
  id: 'qwen-vl-v1',
81
102
  tokens: 8192,
82
103
  vision: true,
@@ -85,27 +106,10 @@ const Qwen: ModelProviderCard = {
85
106
  description:
86
107
  '通义千问VL支持灵活的交互方式,包括多图、多轮问答、创作等能力的模型。',
87
108
  displayName: 'Qwen VL Chat',
88
- enabled: true,
89
109
  id: 'qwen-vl-chat-v1',
90
110
  tokens: 8192,
91
111
  vision: true,
92
112
  },
93
- {
94
- description: 'Qwen2-Math 模型具有强大的数学解题能力',
95
- displayName: 'Qwen2 Math 72B',
96
- enabled: true,
97
- id: 'qwen2-math-72b-instruct',
98
- tokens: 4096,
99
- },
100
- {
101
- description:
102
- '抢先体验即将升级的 qwen-vl-max 大模型。',
103
- displayName: 'Qwen VL Max 0809',
104
- enabled: true,
105
- id: 'qwen-vl-max-0809',
106
- tokens: 32_768,
107
- vision: true,
108
- },
109
113
  ],
110
114
  checkModel: 'qwen-turbo',
111
115
  disableBrowserRequest: true,