@lobehub/chat 1.77.8 → 1.77.10

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 CHANGED
@@ -2,6 +2,58 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.77.10](https://github.com/lobehub/lobe-chat/compare/v1.77.9...v1.77.10)
6
+
7
+ <sup>Released on **2025-04-03**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **web-crawler**: Remove unnecessary urlTransform for YouTube links.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **web-crawler**: Remove unnecessary urlTransform for YouTube links, closes [#7285](https://github.com/lobehub/lobe-chat/issues/7285) ([220bca0](https://github.com/lobehub/lobe-chat/commit/220bca0))
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
+
30
+ ### [Version 1.77.9](https://github.com/lobehub/lobe-chat/compare/v1.77.8...v1.77.9)
31
+
32
+ <sup>Released on **2025-04-03**</sup>
33
+
34
+ #### 💄 Styles
35
+
36
+ - **web-crawler**: Add special support for YouTube,Reddit and WeChat links.
37
+ - **misc**: Add QVQ-Max model.
38
+
39
+ <br/>
40
+
41
+ <details>
42
+ <summary><kbd>Improvements and Fixes</kbd></summary>
43
+
44
+ #### Styles
45
+
46
+ - **web-crawler**: Add special support for YouTube,Reddit and WeChat links, closes [#7251](https://github.com/lobehub/lobe-chat/issues/7251) ([8f0da93](https://github.com/lobehub/lobe-chat/commit/8f0da93))
47
+ - **misc**: Add QVQ-Max model, closes [#7258](https://github.com/lobehub/lobe-chat/issues/7258) ([2be019c](https://github.com/lobehub/lobe-chat/commit/2be019c))
48
+
49
+ </details>
50
+
51
+ <div align="right">
52
+
53
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
54
+
55
+ </div>
56
+
5
57
  ### [Version 1.77.8](https://github.com/lobehub/lobe-chat/compare/v1.77.7...v1.77.8)
6
58
 
7
59
  <sup>Released on **2025-04-03**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,18 @@
1
1
  [
2
+ {
3
+ "children": {},
4
+ "date": "2025-04-03",
5
+ "version": "1.77.10"
6
+ },
7
+ {
8
+ "children": {
9
+ "improvements": [
10
+ "Add QVQ-Max model."
11
+ ]
12
+ },
13
+ "date": "2025-04-03",
14
+ "version": "1.77.9"
15
+ },
2
16
  {
3
17
  "children": {
4
18
  "fixes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.77.8",
3
+ "version": "1.77.10",
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",
@@ -11,6 +11,21 @@ export const crawUrlRules: CrawlUrlRule[] = [
11
11
  impls: ['search1api'],
12
12
  urlPattern: 'https://sogou.com/link(.*)',
13
13
  },
14
+ // YouTube 链接,使用 search1api,格式化 markdown,且可以返回字幕内容
15
+ {
16
+ impls: ['search1api'],
17
+ urlPattern: 'https://www.youtube.com/watch(.*)',
18
+ },
19
+ // Reddit 链接,使用 search1api,格式化 markdown,包含标题、作者、互动数量、具体评论内容等
20
+ {
21
+ impls: ['search1api'],
22
+ urlPattern: 'https://www.reddit.com/r/(.*)/comments/(.*)',
23
+ },
24
+ // 微信公众号有爬虫防护,优先使用 search1api,jina 作为兜底(目前 jina 爬取会被风控)
25
+ {
26
+ impls: ['search1api', 'jina'],
27
+ urlPattern: 'https://mp.weixin.qq.com(.*)',
28
+ },
14
29
  // github 源码解析
15
30
  {
16
31
  filterOptions: {
@@ -45,11 +60,6 @@ export const crawUrlRules: CrawlUrlRule[] = [
45
60
  impls: ['jina'],
46
61
  urlPattern: 'https://zhihu.com(.*)',
47
62
  },
48
- // 微信公众号有爬虫防护,使用 jina
49
- {
50
- impls: ['jina'],
51
- urlPattern: 'https://mp.weixin.qq.com(.*)',
52
- },
53
63
  {
54
64
  // Medium 文章转换为 Scribe.rip
55
65
  urlPattern: 'https://medium.com/(.*)',
@@ -62,7 +62,6 @@ const novitaChatModels: AIChatModelCard[] = [
62
62
  contextWindowTokens: 8192,
63
63
  description: 'Gemma 2 9B 是谷歌的一款开源语言模型,以其在效率和性能方面设立了新的标准。',
64
64
  displayName: 'Gemma 2 9B',
65
- enabled: true,
66
65
  id: 'google/gemma-2-9b-it',
67
66
  pricing: {
68
67
  input: 0.08,
@@ -70,11 +69,22 @@ const novitaChatModels: AIChatModelCard[] = [
70
69
  },
71
70
  type: 'chat',
72
71
  },
72
+ {
73
+ contextWindowTokens: 32_000,
74
+ description: 'Gemma 3 27B 是谷歌的一款开源语言模型,以其在效率和性能方面设立了新的标准。',
75
+ displayName: 'Gemma 3 27B',
76
+ enabled: true,
77
+ id: 'google/gemma-3-27b-it',
78
+ pricing: {
79
+ input: 0.2,
80
+ output: 0.2,
81
+ },
82
+ type: 'chat',
83
+ },
73
84
  {
74
85
  contextWindowTokens: 131_072,
75
86
  description: 'Mistral Nemo 是多语言支持和高性能编程的7.3B参数模型。',
76
87
  displayName: 'Mistral Nemo',
77
- enabled: true,
78
88
  id: 'mistralai/mistral-nemo',
79
89
  pricing: {
80
90
  input: 0.17,
@@ -86,7 +96,6 @@ const novitaChatModels: AIChatModelCard[] = [
86
96
  contextWindowTokens: 32_768,
87
97
  description: 'Mistral 7B Instruct 是一款兼有速度优化和长上下文支持的高性能行业标准模型。',
88
98
  displayName: 'Mistral 7B Instruct',
89
- enabled: true,
90
99
  id: 'mistralai/mistral-7b-instruct',
91
100
  pricing: {
92
101
  input: 0.059,
@@ -98,7 +107,6 @@ const novitaChatModels: AIChatModelCard[] = [
98
107
  contextWindowTokens: 65_535,
99
108
  description: 'WizardLM-2 8x22B 是微软AI最先进的Wizard模型,显示出极其竞争力的表现。',
100
109
  displayName: 'WizardLM-2 8x22B',
101
- enabled: true,
102
110
  id: 'microsoft/wizardlm-2-8x22b',
103
111
  pricing: {
104
112
  input: 0.62,
@@ -166,6 +174,7 @@ const novitaChatModels: AIChatModelCard[] = [
166
174
  },
167
175
  contextWindowTokens: 64_000,
168
176
  displayName: 'Deepseek R1 Turbo',
177
+ enabled: true,
169
178
  id: 'deepseek/deepseek-r1-turbo',
170
179
  pricing: {
171
180
  input: 0.7,
@@ -179,7 +188,6 @@ const novitaChatModels: AIChatModelCard[] = [
179
188
  },
180
189
  contextWindowTokens: 64_000,
181
190
  displayName: 'Deepseek R1',
182
- enabled: true,
183
191
  id: 'deepseek/deepseek-r1',
184
192
  pricing: {
185
193
  input: 4,
@@ -188,24 +196,23 @@ const novitaChatModels: AIChatModelCard[] = [
188
196
  type: 'chat',
189
197
  },
190
198
  {
191
- contextWindowTokens: 64_000,
192
- displayName: 'Deepseek V3',
199
+ contextWindowTokens: 128_000,
200
+ displayName: 'Deepseek V3 0324',
193
201
  enabled: true,
194
- id: 'deepseek/deepseek_v3',
202
+ id: 'deepseek/deepseek-v3-0324',
195
203
  pricing: {
196
- input: 0.89,
197
- output: 0.89,
204
+ input: 0.4,
205
+ output: 1.3,
198
206
  },
199
207
  type: 'chat',
200
208
  },
201
209
  {
202
210
  contextWindowTokens: 64_000,
203
- displayName: 'Deepseek V3 0324',
204
- enabled: true,
205
- id: 'deepseek/deepseek-v3-0324',
211
+ displayName: 'Deepseek V3',
212
+ id: 'deepseek/deepseek_v3',
206
213
  pricing: {
207
- input: 1.2,
208
- output: 1.2,
214
+ input: 0.89,
215
+ output: 0.89,
209
216
  },
210
217
  type: 'chat',
211
218
  },
@@ -241,7 +248,6 @@ const novitaChatModels: AIChatModelCard[] = [
241
248
  },
242
249
  contextWindowTokens: 64_000,
243
250
  displayName: 'Deepseek R1 Distill Qwen 32B',
244
- enabled: true,
245
251
  id: 'deepseek/deepseek-r1-distill-qwen-32b',
246
252
  pricing: {
247
253
  input: 0.3,
@@ -352,6 +358,16 @@ const novitaChatModels: AIChatModelCard[] = [
352
358
  },
353
359
  type: 'chat',
354
360
  },
361
+ {
362
+ contextWindowTokens: 96_000,
363
+ displayName: 'Qwen 2.5 VL 72B Instruct',
364
+ id: 'qwen/qwen2.5-vl-72b-instruct',
365
+ pricing: {
366
+ input: 0.8,
367
+ output: 0.8,
368
+ },
369
+ type: 'chat',
370
+ },
355
371
  {
356
372
  contextWindowTokens: 131_000,
357
373
  displayName: 'Llama 3.2 1B Instruct',
@@ -293,6 +293,26 @@ const qwenChatModels: AIChatModelCard[] = [
293
293
  releasedAt: '2024-11-28',
294
294
  type: 'chat',
295
295
  },
296
+ {
297
+ abilities: {
298
+ reasoning: true,
299
+ vision: true,
300
+ },
301
+ contextWindowTokens: 122_880,
302
+ description:
303
+ '通义千问QVQ视觉推理模型,支持视觉输入及思维链输出,在数学、编程、视觉分析、创作以及通用任务上都表现了更强的能力。',
304
+ displayName: 'QVQ Max',
305
+ id: 'qvq-max-latest',
306
+ maxOutput: 8192,
307
+ organization: 'Qwen',
308
+ pricing: {
309
+ currency: 'CNY',
310
+ input: 8,
311
+ output: 32,
312
+ },
313
+ releasedAt: '2025-03-25',
314
+ type: 'chat',
315
+ },
296
316
  {
297
317
  abilities: {
298
318
  reasoning: true,
@@ -496,7 +516,7 @@ const qwenChatModels: AIChatModelCard[] = [
496
516
  '指令跟随、数学、解题、代码整体提升,万物识别能力提升,支持多样格式直接精准定位视觉元素,支持对长视频文件(最长10分钟)进行理解和秒级别的事件时刻定位,能理解时间先后和快慢,基于解析和定位能力支持操控OS或Mobile的Agent,关键信息抽取能力和Json格式输出能力强,此版本为72B版本,本系列能力最强的版本。',
497
517
  displayName: 'Qwen2.5 VL 72B',
498
518
  id: 'qwen2.5-vl-72b-instruct',
499
- maxOutput: 2048,
519
+ maxOutput: 8192,
500
520
  organization: 'Qwen',
501
521
  pricing: {
502
522
  currency: 'CNY',
@@ -506,6 +526,25 @@ const qwenChatModels: AIChatModelCard[] = [
506
526
  releasedAt: '2025-01-27',
507
527
  type: 'chat',
508
528
  },
529
+ {
530
+ abilities: {
531
+ vision: true,
532
+ },
533
+ contextWindowTokens: 131_072,
534
+ description:
535
+ 'Qwen2.5VL系列模型,在math和学科问题解答达到了接近Qwen2.5VL-72B的水平,回复风格面向人类偏好进行大幅调整,尤其是数学、逻辑推理、知识问答等客观类query,模型回复详实程度和格式清晰度明显改善。此版本为32B版本。',
536
+ displayName: 'Qwen2.5 VL 32B',
537
+ id: 'qwen2.5-vl-32b-instruct',
538
+ maxOutput: 8192,
539
+ organization: 'Qwen',
540
+ pricing: {
541
+ currency: 'CNY',
542
+ input: 8,
543
+ output: 24,
544
+ },
545
+ releasedAt: '2025-03-24',
546
+ type: 'chat',
547
+ },
509
548
  {
510
549
  abilities: {
511
550
  vision: true,
@@ -515,7 +554,7 @@ const qwenChatModels: AIChatModelCard[] = [
515
554
  '指令跟随、数学、解题、代码整体提升,万物识别能力提升,支持多样格式直接精准定位视觉元素,支持对长视频文件(最长10分钟)进行理解和秒级别的事件时刻定位,能理解时间先后和快慢,基于解析和定位能力支持操控OS或Mobile的Agent,关键信息抽取能力和Json格式输出能力强,此版本为72B版本,本系列能力最强的版本。',
516
555
  displayName: 'Qwen2.5 VL 7B',
517
556
  id: 'qwen2.5-vl-7b-instruct',
518
- maxOutput: 2048,
557
+ maxOutput: 8192,
519
558
  organization: 'Qwen',
520
559
  pricing: {
521
560
  currency: 'CNY',
@@ -57,7 +57,7 @@ exports[`NovitaAI > models > should get models 1`] = `
57
57
  "description": "Gemma 2 9B by Google is an advanced, open-source language model that sets a new standard for efficiency and performance in its size class.
58
58
  Designed for a wide variety of tasks, it empowers developers and researchers to build innovative applications, while maintaining accessibility, safety, and cost-effectiveness.",
59
59
  "displayName": "google/gemma-2-9b-it",
60
- "enabled": true,
60
+ "enabled": false,
61
61
  "functionCall": false,
62
62
  "id": "google/gemma-2-9b-it",
63
63
  "reasoning": false,
@@ -87,7 +87,7 @@ Designed for a wide variety of tasks, it empowers developers and researchers to
87
87
  "contextWindowTokens": 32768,
88
88
  "description": "A high-performing, industry-standard 7.3B parameter model, with optimizations for speed and context length.",
89
89
  "displayName": "mistralai/mistral-7b-instruct",
90
- "enabled": true,
90
+ "enabled": false,
91
91
  "functionCall": false,
92
92
  "id": "mistralai/mistral-7b-instruct",
93
93
  "reasoning": false,
@@ -177,7 +177,7 @@ Designed for a wide variety of tasks, it empowers developers and researchers to
177
177
  "contextWindowTokens": 65535,
178
178
  "description": "WizardLM-2 8x22B is Microsoft AI's most advanced Wizard model. It demonstrates highly competitive performance compared to leading proprietary models, and it consistently outperforms all existing state-of-the-art opensource models.",
179
179
  "displayName": "microsoft/wizardlm-2-8x22b",
180
- "enabled": true,
180
+ "enabled": false,
181
181
  "functionCall": false,
182
182
  "id": "microsoft/wizardlm-2-8x22b",
183
183
  "reasoning": false,
@@ -668,7 +668,7 @@ The model is multilingual, supporting English, French, German, Spanish, Italian,
668
668
 
669
669
  It supports function calling and is released under the Apache 2.0 license.",
670
670
  "displayName": "Mistral: Mistral Nemo",
671
- "enabled": true,
671
+ "enabled": false,
672
672
  "functionCall": true,
673
673
  "id": "mistralai/mistral-nemo",
674
674
  "maxTokens": undefined,
@@ -856,7 +856,7 @@ Designed for a wide variety of tasks, it empowers developers and researchers to
856
856
 
857
857
  See the [launch announcement](https://blog.google/technology/developers/google-gemma-2/) for more details. Usage of Gemma is subject to Google's [Gemma Terms of Use](https://ai.google.dev/gemma/terms).",
858
858
  "displayName": "Google: Gemma 2 9B",
859
- "enabled": true,
859
+ "enabled": false,
860
860
  "functionCall": false,
861
861
  "id": "google/gemma-2-9b-it",
862
862
  "maxTokens": undefined,
@@ -1135,7 +1135,7 @@ _These are free, rate-limited endpoints for [Mistral 7B Instruct](/models/mistra
1135
1135
 
1136
1136
  *Mistral 7B Instruct has multiple version variants, and this is intended to be the latest version.*",
1137
1137
  "displayName": "Mistral: Mistral 7B Instruct",
1138
- "enabled": true,
1138
+ "enabled": false,
1139
1139
  "functionCall": true,
1140
1140
  "id": "mistralai/mistral-7b-instruct",
1141
1141
  "maxTokens": undefined,
@@ -1767,7 +1767,7 @@ To read more about the model release, [click here](https://wizardlm.github.io/Wi
1767
1767
 
1768
1768
  #moe",
1769
1769
  "displayName": "WizardLM-2 8x22B",
1770
- "enabled": true,
1770
+ "enabled": false,
1771
1771
  "functionCall": false,
1772
1772
  "id": "microsoft/wizardlm-2-8x22b",
1773
1773
  "maxTokens": undefined,