@lobehub/chat 1.94.0 → 1.94.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.
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,58 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.94.2](https://github.com/lobehub/lobe-chat/compare/v1.94.1...v1.94.2)
|
6
|
+
|
7
|
+
<sup>Released on **2025-06-11**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Update Gemini range of thinkingBudget.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### What's fixed
|
19
|
+
|
20
|
+
- **misc**: Update Gemini range of thinkingBudget, closes [#8122](https://github.com/lobehub/lobe-chat/issues/8122) ([7331e8a](https://github.com/lobehub/lobe-chat/commit/7331e8a))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
30
|
+
### [Version 1.94.1](https://github.com/lobehub/lobe-chat/compare/v1.94.0...v1.94.1)
|
31
|
+
|
32
|
+
<sup>Released on **2025-06-10**</sup>
|
33
|
+
|
34
|
+
#### 💄 Styles
|
35
|
+
|
36
|
+
- **ModelSelect**: Improve mobile layout and text overflow handling.
|
37
|
+
- **misc**: Update pplx abilities tags, support `vision`.
|
38
|
+
|
39
|
+
<br/>
|
40
|
+
|
41
|
+
<details>
|
42
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
43
|
+
|
44
|
+
#### Styles
|
45
|
+
|
46
|
+
- **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))
|
47
|
+
- **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))
|
48
|
+
|
49
|
+
</details>
|
50
|
+
|
51
|
+
<div align="right">
|
52
|
+
|
53
|
+
[](#readme-top)
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
5
57
|
## [Version 1.94.0](https://github.com/lobehub/lobe-chat/compare/v1.93.3...v1.94.0)
|
6
58
|
|
7
59
|
<sup>Released on **2025-06-10**</sup>
|
package/changelog/v1.json
CHANGED
@@ -1,4 +1,22 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"children": {
|
4
|
+
"fixes": [
|
5
|
+
"Update Gemini range of thinkingBudget."
|
6
|
+
]
|
7
|
+
},
|
8
|
+
"date": "2025-06-11",
|
9
|
+
"version": "1.94.2"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"children": {
|
13
|
+
"improvements": [
|
14
|
+
"Update pplx abilities tags, support vision."
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"date": "2025-06-10",
|
18
|
+
"version": "1.94.1"
|
19
|
+
},
|
2
20
|
{
|
3
21
|
"children": {
|
4
22
|
"features": [
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.94.
|
3
|
+
"version": "1.94.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",
|
@@ -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={{
|
177
|
+
style={{
|
178
|
+
minWidth: mobile ? '100%' : undefined,
|
179
|
+
overflow: 'hidden',
|
180
|
+
position: 'relative',
|
181
|
+
width: mobile ? '80vw' : 'auto',
|
182
|
+
}}
|
178
183
|
>
|
179
|
-
<Flexbox
|
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
|
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:
|
@@ -123,9 +123,17 @@ export class LobeGoogleAI implements LobeRuntimeAI {
|
|
123
123
|
: undefined,
|
124
124
|
thinkingBudget:
|
125
125
|
thinking?.type === 'enabled'
|
126
|
-
?
|
126
|
+
? (() => {
|
127
|
+
const budget = thinking.budget_tokens;
|
128
|
+
if (model.includes('-2.5-flash')) {
|
129
|
+
return Math.min(budget, 24_576);
|
130
|
+
} else if (model.includes('-2.5-pro')) {
|
131
|
+
return Math.max(128, Math.min(budget, 32_768));
|
132
|
+
}
|
133
|
+
return Math.min(budget, 24_576);
|
134
|
+
})()
|
127
135
|
: thinking?.type === 'disabled'
|
128
|
-
? 0
|
136
|
+
? model.includes('-2.5-pro') ? 128 : 0
|
129
137
|
: undefined,
|
130
138
|
};
|
131
139
|
|