@lobehub/chat 1.94.0 → 1.94.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 CHANGED
@@ -2,6 +2,33 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.94.1](https://github.com/lobehub/lobe-chat/compare/v1.94.0...v1.94.1)
6
+
7
+ <sup>Released on **2025-06-10**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **ModelSelect**: Improve mobile layout and text overflow handling.
12
+ - **misc**: Update pplx abilities tags, support `vision`.
13
+
14
+ <br/>
15
+
16
+ <details>
17
+ <summary><kbd>Improvements and Fixes</kbd></summary>
18
+
19
+ #### Styles
20
+
21
+ - **ModelSelect**: Improve mobile layout and text overflow handling, closes [#8118](https://github.com/lobehub/lobe-chat/issues/8118) ([d97aa49](https://github.com/lobehub/lobe-chat/commit/d97aa49))
22
+ - **misc**: Update pplx abilities tags, support `vision`, closes [#8119](https://github.com/lobehub/lobe-chat/issues/8119) ([5c2e5f7](https://github.com/lobehub/lobe-chat/commit/5c2e5f7))
23
+
24
+ </details>
25
+
26
+ <div align="right">
27
+
28
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
29
+
30
+ </div>
31
+
5
32
  ## [Version 1.94.0](https://github.com/lobehub/lobe-chat/compare/v1.93.3...v1.94.0)
6
33
 
7
34
  <sup>Released on **2025-06-10**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "improvements": [
5
+ "Update pplx abilities tags, support vision."
6
+ ]
7
+ },
8
+ "date": "2025-06-10",
9
+ "version": "1.94.1"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "features": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.94.0",
3
+ "version": "1.94.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",
@@ -174,11 +174,23 @@ export const ModelItemRender = memo<ModelItemRenderProps>(({ showInfoTag = true,
174
174
  gap={32}
175
175
  horizontal
176
176
  justify={'space-between'}
177
- style={{ overflow: 'hidden', position: 'relative', width: mobile ? '80vw' : 'auto' }}
177
+ style={{
178
+ minWidth: mobile ? '100%' : undefined,
179
+ overflow: 'hidden',
180
+ position: 'relative',
181
+ width: mobile ? '80vw' : 'auto',
182
+ }}
178
183
  >
179
- <Flexbox align={'center'} gap={8} horizontal style={{ overflow: 'hidden' }}>
184
+ <Flexbox
185
+ align={'center'}
186
+ gap={8}
187
+ horizontal
188
+ style={{ flexShrink: 1, minWidth: 0, overflow: 'hidden' }}
189
+ >
180
190
  <ModelIcon model={model.id} size={20} />
181
- <Typography.Text style={mobile ? { overflowX: 'auto', whiteSpace: 'nowrap' } : {}}>
191
+ <Typography.Text
192
+ style={mobile ? { maxWidth: '60vw', overflowX: 'auto', whiteSpace: 'nowrap' } : {}}
193
+ >
182
194
  {model.displayName || model.id}
183
195
  </Typography.Text>
184
196
  </Flexbox>
@@ -15,6 +15,7 @@ const perplexityChatModels: AIChatModelCard[] = [
15
15
  pricing: { input: 2, output: 8 },
16
16
  releasedAt: '2025-02-14',
17
17
  settings: {
18
+ extendParams: ['reasoningEffort'],
18
19
  searchImpl: 'internal',
19
20
  },
20
21
  type: 'chat',
@@ -23,6 +24,7 @@ const perplexityChatModels: AIChatModelCard[] = [
23
24
  abilities: {
24
25
  reasoning: true,
25
26
  search: true,
27
+ vision: true,
26
28
  },
27
29
  contextWindowTokens: 127_072,
28
30
  description: '支持搜索上下文的高级搜索产品,支持高级查询和跟进。',
@@ -41,6 +43,7 @@ const perplexityChatModels: AIChatModelCard[] = [
41
43
  abilities: {
42
44
  reasoning: true,
43
45
  search: true,
46
+ vision: true,
44
47
  },
45
48
  contextWindowTokens: 127_072,
46
49
  description: '支持搜索上下文的高级搜索产品,支持高级查询和跟进。',
@@ -58,6 +61,7 @@ const perplexityChatModels: AIChatModelCard[] = [
58
61
  {
59
62
  abilities: {
60
63
  search: true,
64
+ vision: true,
61
65
  },
62
66
  contextWindowTokens: 200_000,
63
67
  description: '支持搜索上下文的高级搜索产品,支持高级查询和跟进。',
@@ -74,6 +78,7 @@ const perplexityChatModels: AIChatModelCard[] = [
74
78
  {
75
79
  abilities: {
76
80
  search: true,
81
+ vision: true,
77
82
  },
78
83
  contextWindowTokens: 127_072,
79
84
  description: '基于搜索上下文的轻量级搜索产品,比 Sonar Pro 更快、更便宜。',
@@ -85,12 +90,12 @@ const perplexityChatModels: AIChatModelCard[] = [
85
90
  settings: {
86
91
  searchImpl: 'internal',
87
92
  },
88
-
89
93
  type: 'chat',
90
94
  },
91
95
  {
92
96
  abilities: {
93
97
  reasoning: true,
98
+ vision: true,
94
99
  },
95
100
  contextWindowTokens: 127_072,
96
101
  description: