@lobehub/chat 1.91.2 → 1.91.3
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/.eslintrc.js +2 -0
- package/CHANGELOG.md +33 -0
- package/changelog/v1.json +12 -0
- package/package.json +1 -1
- package/src/app/[variants]/(main)/profile/features/ClerkProfile.tsx +1 -4
- package/src/config/aiModels/modelscope.ts +4 -1
- package/src/config/aiModels/novita.ts +2 -0
- package/src/config/aiModels/openrouter.ts +2 -0
- package/src/config/aiModels/siliconcloud.ts +1 -0
- package/src/config/modelProviders/anthropic.ts +30 -11
- package/src/config/modelProviders/openai.ts +14 -0
- package/src/layout/AuthProvider/Clerk/useAppearance.ts +1 -4
- package/src/app/[variants]/(main)/settings/provider/(detail)/ollama/OllamaModelDownloader/index.tsx +0 -0
package/.eslintrc.js
CHANGED
@@ -19,6 +19,8 @@ config.rules['unicorn/no-array-for-each'] = 0;
|
|
19
19
|
config.rules['unicorn/prefer-number-properties'] = 0;
|
20
20
|
config.rules['unicorn/prefer-query-selector'] = 0;
|
21
21
|
config.rules['unicorn/no-array-callback-reference'] = 0;
|
22
|
+
// FIXME: Linting error in src/app/[variants]/(main)/chat/features/Migration/DBReader.ts, the fundamental solution should be upgrading typescript-eslint
|
23
|
+
config.rules['@typescript-eslint/no-useless-constructor'] = 0;
|
22
24
|
|
23
25
|
config.overrides = [
|
24
26
|
{
|
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,39 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.91.3](https://github.com/lobehub/lobe-chat/compare/v1.91.2...v1.91.3)
|
6
|
+
|
7
|
+
<sup>Released on **2025-06-05**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Correct deepseek R1 fc support display.
|
12
|
+
|
13
|
+
#### 💄 Styles
|
14
|
+
|
15
|
+
- **misc**: Add openAI websearch and claude 4 to modelproviders.
|
16
|
+
|
17
|
+
<br/>
|
18
|
+
|
19
|
+
<details>
|
20
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
21
|
+
|
22
|
+
#### What's fixed
|
23
|
+
|
24
|
+
- **misc**: Correct deepseek R1 fc support display, closes [#8069](https://github.com/lobehub/lobe-chat/issues/8069) ([ed5bb5f](https://github.com/lobehub/lobe-chat/commit/ed5bb5f))
|
25
|
+
|
26
|
+
#### Styles
|
27
|
+
|
28
|
+
- **misc**: Add openAI websearch and claude 4 to modelproviders, closes [#7988](https://github.com/lobehub/lobe-chat/issues/7988) ([95994f4](https://github.com/lobehub/lobe-chat/commit/95994f4))
|
29
|
+
|
30
|
+
</details>
|
31
|
+
|
32
|
+
<div align="right">
|
33
|
+
|
34
|
+
[](#readme-top)
|
35
|
+
|
36
|
+
</div>
|
37
|
+
|
5
38
|
### [Version 1.91.2](https://github.com/lobehub/lobe-chat/compare/v1.91.1...v1.91.2)
|
6
39
|
|
7
40
|
<sup>Released on **2025-06-05**</sup>
|
package/changelog/v1.json
CHANGED
@@ -1,4 +1,16 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"children": {
|
4
|
+
"fixes": [
|
5
|
+
"Correct deepseek R1 fc support display."
|
6
|
+
],
|
7
|
+
"improvements": [
|
8
|
+
"Add openAI websearch and claude 4 to modelproviders."
|
9
|
+
]
|
10
|
+
},
|
11
|
+
"date": "2025-06-05",
|
12
|
+
"version": "1.91.3"
|
13
|
+
},
|
2
14
|
{
|
3
15
|
"children": {
|
4
16
|
"improvements": [
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.91.
|
3
|
+
"version": "1.91.3",
|
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",
|
@@ -50,10 +50,7 @@ export const useStyles = createStyles(
|
|
50
50
|
scrollBox: css`
|
51
51
|
background: transparent;
|
52
52
|
`,
|
53
|
-
}) as Partial<
|
54
|
-
// eslint-disable-next-line unused-imports/no-unused-vars
|
55
|
-
[k in keyof ElementsConfig]: any;
|
56
|
-
}>,
|
53
|
+
}) as Partial<Record<keyof ElementsConfig, any>>,
|
57
54
|
);
|
58
55
|
|
59
56
|
const Client = memo<{ mobile?: boolean }>(({ mobile }) => {
|
@@ -4,9 +4,11 @@ const modelscopeChatModels: AIChatModelCard[] = [
|
|
4
4
|
{
|
5
5
|
abilities: {
|
6
6
|
functionCall: true,
|
7
|
+
reasoning: true,
|
7
8
|
},
|
8
9
|
contextWindowTokens: 131_072,
|
9
|
-
description:
|
10
|
+
description:
|
11
|
+
'DeepSeek R1 通过利用增加的计算资源和在后训练过程中引入算法优化机制,显著提高了其推理和推断能力的深度。该模型在各种基准评估中表现出色,包括数学、编程和一般逻辑方面。其整体性能现已接近领先模型,如 O3 和 Gemini 2.5 Pro。',
|
10
12
|
displayName: 'DeepSeek-R1-0528',
|
11
13
|
enabled: true,
|
12
14
|
id: 'deepseek-ai/DeepSeek-R1-0528',
|
@@ -26,6 +28,7 @@ const modelscopeChatModels: AIChatModelCard[] = [
|
|
26
28
|
{
|
27
29
|
abilities: {
|
28
30
|
functionCall: true,
|
31
|
+
reasoning: true,
|
29
32
|
},
|
30
33
|
contextWindowTokens: 131_072,
|
31
34
|
description: 'DeepSeek-R1是DeepSeek最新的推理模型,专注于复杂推理任务。',
|
@@ -227,6 +227,7 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
227
227
|
},
|
228
228
|
{
|
229
229
|
abilities: {
|
230
|
+
functionCall: true,
|
230
231
|
reasoning: true,
|
231
232
|
},
|
232
233
|
contextWindowTokens: 128_000,
|
@@ -241,6 +242,7 @@ const novitaChatModels: AIChatModelCard[] = [
|
|
241
242
|
},
|
242
243
|
{
|
243
244
|
abilities: {
|
245
|
+
functionCall: true,
|
244
246
|
reasoning: true,
|
245
247
|
},
|
246
248
|
contextWindowTokens: 128_000,
|
@@ -501,6 +501,7 @@ const openrouterChatModels: AIChatModelCard[] = [
|
|
501
501
|
},
|
502
502
|
{
|
503
503
|
abilities: {
|
504
|
+
functionCall: true,
|
504
505
|
reasoning: true,
|
505
506
|
},
|
506
507
|
contextWindowTokens: 163_840,
|
@@ -517,6 +518,7 @@ const openrouterChatModels: AIChatModelCard[] = [
|
|
517
518
|
},
|
518
519
|
{
|
519
520
|
abilities: {
|
521
|
+
functionCall: true,
|
520
522
|
reasoning: true,
|
521
523
|
},
|
522
524
|
contextWindowTokens: 163_840,
|
@@ -6,25 +6,44 @@ const Anthropic: ModelProviderCard = {
|
|
6
6
|
{
|
7
7
|
contextWindowTokens: 200_000,
|
8
8
|
description:
|
9
|
-
'Claude
|
10
|
-
displayName: 'Claude
|
9
|
+
'Claude 4 Opus 是 Anthropic 最强大的下一代模型,具有卓越的推理能力和创造力,适用于最复杂的任务和高级分析。',
|
10
|
+
displayName: 'Claude 4 Opus',
|
11
11
|
enabled: true,
|
12
12
|
functionCall: true,
|
13
|
-
id: 'claude-
|
14
|
-
maxOutput:
|
13
|
+
id: 'claude-opus-4-20250514',
|
14
|
+
maxOutput: 32_000,
|
15
15
|
pricing: {
|
16
|
-
cachedInput:
|
17
|
-
input:
|
18
|
-
output:
|
19
|
-
writeCacheInput:
|
16
|
+
cachedInput: 7.5,
|
17
|
+
input: 30,
|
18
|
+
output: 150,
|
19
|
+
writeCacheInput: 37.5,
|
20
20
|
},
|
21
|
-
releasedAt: '2025-
|
21
|
+
releasedAt: '2025-05-14',
|
22
|
+
vision: true,
|
23
|
+
},
|
24
|
+
{
|
25
|
+
contextWindowTokens: 200_000,
|
26
|
+
description:
|
27
|
+
'Claude 4 Sonnet 提供了优异的性能和速度平衡,是新一代模型中的理想选择,适用于广泛的企业和创意任务。',
|
28
|
+
displayName: 'Claude 4 Sonnet',
|
29
|
+
enabled: true,
|
30
|
+
functionCall: true,
|
31
|
+
id: 'claude-sonnet-4-20250514',
|
32
|
+
maxOutput: 64_000,
|
33
|
+
pricing: {
|
34
|
+
cachedInput: 1.5,
|
35
|
+
input: 6,
|
36
|
+
output: 30,
|
37
|
+
writeCacheInput: 7.5,
|
38
|
+
},
|
39
|
+
releasedAt: '2025-05-14',
|
40
|
+
vision: true,
|
22
41
|
},
|
23
42
|
{
|
24
43
|
contextWindowTokens: 200_000,
|
25
44
|
description:
|
26
|
-
'Claude 3.7 sonnet
|
27
|
-
displayName: 'Claude 3.7 Sonnet
|
45
|
+
'Claude 3.7 sonnet 是 Anthropic 最快的下一代模型。与 Claude 3 Haiku 相比,Claude 3.7 Sonnet 在各项技能上都有所提升,并在许多智力基准测试中超越了上一代最大的模型 Claude 3 Opus。',
|
46
|
+
displayName: 'Claude 3.7 Sonnet',
|
28
47
|
enabled: true,
|
29
48
|
functionCall: true,
|
30
49
|
id: 'claude-3-7-sonnet-20250219',
|
@@ -78,6 +78,20 @@ const OpenAI: ModelProviderCard = {
|
|
78
78
|
},
|
79
79
|
vision: true,
|
80
80
|
},
|
81
|
+
{
|
82
|
+
contextWindowTokens: 128_000,
|
83
|
+
description: 'GPT-4o mini search preview 是一个专门为搜索功能优化的预览版本,具有增强的网络搜索能力和实时信息检索功能。',
|
84
|
+
displayName: 'GPT-4o mini Search Preview',
|
85
|
+
functionCall: true,
|
86
|
+
id: 'gpt-4o-mini-search-preview',
|
87
|
+
maxOutput: 16_384,
|
88
|
+
pricing: {
|
89
|
+
input: 0.15,
|
90
|
+
output: 0.6,
|
91
|
+
},
|
92
|
+
releasedAt: '2024-12-01',
|
93
|
+
vision: true,
|
94
|
+
},
|
81
95
|
{
|
82
96
|
contextWindowTokens: 128_000,
|
83
97
|
description:
|
@@ -89,10 +89,7 @@ export const useStyles = createStyles(
|
|
89
89
|
socialButtonsBlockButton__google: css`
|
90
90
|
order: -1;
|
91
91
|
`,
|
92
|
-
}) as Partial<
|
93
|
-
// eslint-disable-next-line unused-imports/no-unused-vars
|
94
|
-
[k in keyof ElementsConfig]: any;
|
95
|
-
}>,
|
92
|
+
}) as Partial<Record<keyof ElementsConfig, any>>,
|
96
93
|
);
|
97
94
|
|
98
95
|
export const useAppearance = () => {
|
package/src/app/[variants]/(main)/settings/provider/(detail)/ollama/OllamaModelDownloader/index.tsx
DELETED
File without changes
|