@lobehub/chat 1.19.1 → 1.19.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.

Potentially problematic release.


This version of @lobehub/chat might be problematic. Click here for more details.

package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.19.2](https://github.com/lobehub/lobe-chat/compare/v1.19.1...v1.19.2)
6
+
7
+ <sup>Released on **2024-09-19**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Updata qwen model info & add qwen2.5 & reorder provider list.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Updata qwen model info & add qwen2.5 & reorder provider list, closes [#4020](https://github.com/lobehub/lobe-chat/issues/4020) ([d5e7578](https://github.com/lobehub/lobe-chat/commit/d5e7578))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 1.19.1](https://github.com/lobehub/lobe-chat/compare/v1.19.0...v1.19.1)
6
31
 
7
32
  <sup>Released on **2024-09-19**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
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",
@@ -51,14 +51,14 @@ export const useProviderList = (): ProviderItem[] => {
51
51
  DeepSeekProviderCard,
52
52
  OpenRouterProviderCard,
53
53
  GithubProvider,
54
- GroqProviderCard,
55
54
  NovitaProviderCard,
56
- PerplexityProviderCard,
57
- MistralProviderCard,
58
55
  TogetherAIProviderCard,
59
56
  FireworksAIProviderCard,
60
- UpstageProviderCard,
57
+ GroqProviderCard,
58
+ PerplexityProviderCard,
59
+ MistralProviderCard,
61
60
  Ai21ProviderCard,
61
+ UpstageProviderCard,
62
62
  QwenProviderCard,
63
63
  SparkProviderCard,
64
64
  ZhiPuProviderCard,
@@ -69,14 +69,14 @@ export const DEFAULT_MODEL_PROVIDER_LIST = [
69
69
  DeepSeekProvider,
70
70
  OpenRouterProvider,
71
71
  GithubProvider,
72
- GroqProvider,
73
72
  NovitaProvider,
74
- PerplexityProvider,
75
- MistralProvider,
76
73
  TogetherAIProvider,
77
74
  FireworksAIProvider,
78
- UpstageProvider,
75
+ GroqProvider,
76
+ PerplexityProvider,
77
+ MistralProvider,
79
78
  Ai21Provider,
79
+ UpstageProvider,
80
80
  QwenProvider,
81
81
  SparkProvider,
82
82
  ZhiPuProvider,
@@ -7,24 +7,38 @@ const Qwen: ModelProviderCard = {
7
7
  description:
8
8
  '通义千问超大规模语言模型,支持长文本上下文,以及基于长文档、多文档等多个场景的对话功能。',
9
9
  displayName: 'Qwen Long',
10
- enabled: true,
11
10
  id: 'qwen-long',
12
- tokens: 1_000_000,
11
+ pricing: {
12
+ currency: 'CNY',
13
+ input: 0.5,
14
+ output: 2,
15
+ },
16
+ tokens: 1_000_000, // https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction
13
17
  },
14
18
  {
15
19
  description: '通义千问超大规模语言模型,支持中文、英文等不同语言输入',
16
20
  displayName: 'Qwen Turbo',
17
21
  enabled: true,
18
22
  functionCall: true,
19
- id: 'qwen-turbo',
20
- tokens: 8000, // https://www.alibabacloud.com/help/zh/model-studio/developer-reference/use-qwen-by-calling-api
23
+ id: 'qwen-turbo-latest',
24
+ pricing: {
25
+ currency: 'CNY',
26
+ input: 0.3,
27
+ output: 0.6,
28
+ },
29
+ tokens: 131_072, // https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction
21
30
  },
22
31
  {
23
32
  description: '通义千问超大规模语言模型增强版,支持中文、英文等不同语言输入',
24
33
  displayName: 'Qwen Plus',
25
34
  enabled: true,
26
35
  functionCall: true,
27
- id: 'qwen-plus',
36
+ id: 'qwen-plus-latest',
37
+ pricing: {
38
+ currency: 'CNY',
39
+ input: 0.8,
40
+ output: 2,
41
+ },
28
42
  tokens: 131_072, // https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction
29
43
  },
30
44
  {
@@ -33,16 +47,13 @@ const Qwen: ModelProviderCard = {
33
47
  displayName: 'Qwen Max',
34
48
  enabled: true,
35
49
  functionCall: true,
36
- id: 'qwen-max',
37
- tokens: 8000,
38
- },
39
- {
40
- description:
41
- '通义千问千亿级别超大规模语言模型,支持中文、英文等不同语言输入,扩展了上下文窗口',
42
- displayName: 'Qwen Max LongContext',
43
- functionCall: true,
44
- id: 'qwen-max-longcontext',
45
- tokens: 30_000,
50
+ id: 'qwen-max-latest',
51
+ pricing: {
52
+ currency: 'CNY',
53
+ input: 20,
54
+ output: 60,
55
+ },
56
+ tokens: 32_768, // https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction
46
57
  },
47
58
  {
48
59
  description:
@@ -50,8 +61,13 @@ const Qwen: ModelProviderCard = {
50
61
  displayName: 'Qwen VL Plus',
51
62
  enabled: true,
52
63
  id: 'qwen-vl-plus',
64
+ pricing: {
65
+ currency: 'CNY',
66
+ input: 8,
67
+ output: 8,
68
+ },
53
69
  tokens: 8192,
54
- vision: true,
70
+ vision: true, // https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-qianwen-vl-plus-api
55
71
  },
56
72
  {
57
73
  description:
@@ -59,31 +75,61 @@ const Qwen: ModelProviderCard = {
59
75
  displayName: 'Qwen VL Max',
60
76
  enabled: true,
61
77
  id: 'qwen-vl-max',
78
+ pricing: {
79
+ currency: 'CNY',
80
+ input: 20,
81
+ output: 20,
82
+ },
62
83
  tokens: 32_768,
63
- vision: true,
84
+ vision: true, // https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-qianwen-vl-plus-api
64
85
  },
65
86
  // ref :https://help.aliyun.com/zh/dashscope/developer-reference/tongyi-qianwen-7b-14b-72b-api-detailes
87
+ {
88
+ description: '通义千问2.5对外开源的7B规模的模型',
89
+ displayName: 'Qwen2.5 7B',
90
+ functionCall: true,
91
+ id: 'qwen2.5-7b-instruct',
92
+ tokens: 131_072, // https://huggingface.co/Qwen/Qwen2.5-7B-Instruct
93
+ },
94
+ {
95
+ description: '通义千问2.5对外开源的32B规模的模型',
96
+ displayName: 'Qwen2.5 32B',
97
+ functionCall: true,
98
+ id: 'qwen2.5-32b-instruct',
99
+ tokens: 131_072, // https://huggingface.co/Qwen/Qwen2.5-32B-Instruct
100
+ },
101
+ {
102
+ description: '通义千问2.5对外开源的72B规模的模型',
103
+ displayName: 'Qwen2.5 72B',
104
+ functionCall: true,
105
+ id: 'qwen2.5-72b-instruct',
106
+ tokens: 131_072, // https://huggingface.co/Qwen/Qwen2.5-72B-Instruct
107
+ },
66
108
  {
67
109
  description: '通义千问2对外开源的7B规模的模型',
68
110
  displayName: 'Qwen2 7B',
111
+ functionCall: true,
69
112
  id: 'qwen2-7b-instruct',
70
113
  tokens: 131_072, // https://huggingface.co/Qwen/Qwen2-7B-Instruct
71
114
  },
72
115
  {
73
116
  description: '通义千问2对外开源的57B规模14B激活参数的MOE模型',
74
117
  displayName: 'Qwen2 57B A14B MoE',
118
+ functionCall: true,
75
119
  id: 'qwen2-57b-a14b-instruct',
76
120
  tokens: 65_536, // https://huggingface.co/Qwen/Qwen2-57B-A14B-Instruct
77
121
  },
78
122
  {
79
123
  description: '通义千问2对外开源的72B规模的模型',
80
124
  displayName: 'Qwen2 72B',
125
+ functionCall: true,
81
126
  id: 'qwen2-72b-instruct',
82
127
  tokens: 131_072, // https://huggingface.co/Qwen/Qwen2-72B-Instruct
83
128
  },
84
129
  {
85
130
  description: 'Qwen2-Math 模型具有强大的数学解题能力',
86
131
  displayName: 'Qwen2 Math 72B',
132
+ functionCall: true,
87
133
  id: 'qwen2-math-72b-instruct',
88
134
  tokens: 4096, // https://help.aliyun.com/zh/dashscope/developer-reference/use-qwen2-math-by-calling-api
89
135
  },