@lobehub/chat 1.94.6 → 1.94.8
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,56 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.94.8](https://github.com/lobehub/lobe-chat/compare/v1.94.7...v1.94.8)
|
6
|
+
|
7
|
+
<sup>Released on **2025-06-15**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Correctly handle `reasoning_effort`.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### What's fixed
|
19
|
+
|
20
|
+
- **misc**: Correctly handle `reasoning_effort`, closes [#8180](https://github.com/lobehub/lobe-chat/issues/8180) ([1c04736](https://github.com/lobehub/lobe-chat/commit/1c04736))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
30
|
+
### [Version 1.94.7](https://github.com/lobehub/lobe-chat/compare/v1.94.6...v1.94.7)
|
31
|
+
|
32
|
+
<sup>Released on **2025-06-12**</sup>
|
33
|
+
|
34
|
+
#### 💄 Styles
|
35
|
+
|
36
|
+
- **misc**: Add Doubao Seed 1.6 model.
|
37
|
+
|
38
|
+
<br/>
|
39
|
+
|
40
|
+
<details>
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
42
|
+
|
43
|
+
#### Styles
|
44
|
+
|
45
|
+
- **misc**: Add Doubao Seed 1.6 model, closes [#8167](https://github.com/lobehub/lobe-chat/issues/8167) ([bdfa44b](https://github.com/lobehub/lobe-chat/commit/bdfa44b))
|
46
|
+
|
47
|
+
</details>
|
48
|
+
|
49
|
+
<div align="right">
|
50
|
+
|
51
|
+
[](#readme-top)
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
5
55
|
### [Version 1.94.6](https://github.com/lobehub/lobe-chat/compare/v1.94.5...v1.94.6)
|
6
56
|
|
7
57
|
<sup>Released on **2025-06-12**</sup>
|
package/changelog/v1.json
CHANGED
@@ -1,4 +1,22 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"children": {
|
4
|
+
"fixes": [
|
5
|
+
"Correctly handle reasoning_effort."
|
6
|
+
]
|
7
|
+
},
|
8
|
+
"date": "2025-06-15",
|
9
|
+
"version": "1.94.8"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"children": {
|
13
|
+
"improvements": [
|
14
|
+
"Add Doubao Seed 1.6 model."
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"date": "2025-06-12",
|
18
|
+
"version": "1.94.7"
|
19
|
+
},
|
2
20
|
{
|
3
21
|
"children": {
|
4
22
|
"fixes": [
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.94.
|
3
|
+
"version": "1.94.8",
|
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",
|
@@ -121,7 +121,7 @@
|
|
121
121
|
"dependencies": {
|
122
122
|
"@ant-design/icons": "^5.6.1",
|
123
123
|
"@ant-design/pro-components": "^2.8.7",
|
124
|
-
"@anthropic-ai/sdk": "^0.
|
124
|
+
"@anthropic-ai/sdk": "^0.54.0",
|
125
125
|
"@auth/core": "^0.38.0",
|
126
126
|
"@aws-sdk/client-bedrock-runtime": "^3.821.0",
|
127
127
|
"@aws-sdk/client-s3": "^3.821.0",
|
@@ -4,6 +4,75 @@ import { AIChatModelCard } from '@/types/aiModel';
|
|
4
4
|
// pricing https://console.volcengine.com/ark/region:ark+cn-beijing/openManagement
|
5
5
|
|
6
6
|
const doubaoChatModels: AIChatModelCard[] = [
|
7
|
+
{
|
8
|
+
abilities: {
|
9
|
+
functionCall: true,
|
10
|
+
reasoning: true,
|
11
|
+
vision: true,
|
12
|
+
},
|
13
|
+
config: {
|
14
|
+
deploymentName: 'doubao-seed-1-6-thinking-250615',
|
15
|
+
},
|
16
|
+
contextWindowTokens: 256_000,
|
17
|
+
description:
|
18
|
+
'Doubao-Seed-1.6-thinking模型思考能力大幅强化, 对比Doubao-1.5-thinking-pro,在Coding、Math、 逻辑推理等基础能力上进一步提升, 支持视觉理解。 支持 256k 上下文窗口,输出长度支持最大 16k tokens。',
|
19
|
+
displayName: 'Doubao Seed 1.6 Thinking',
|
20
|
+
enabled: true,
|
21
|
+
id: 'doubao-seed-1.6-thinking',
|
22
|
+
maxOutput: 16_000,
|
23
|
+
pricing: {
|
24
|
+
currency: 'CNY',
|
25
|
+
input: 2.4,
|
26
|
+
output: 12,
|
27
|
+
},
|
28
|
+
type: 'chat',
|
29
|
+
},
|
30
|
+
{
|
31
|
+
abilities: {
|
32
|
+
functionCall: true,
|
33
|
+
reasoning: true,
|
34
|
+
vision: true,
|
35
|
+
},
|
36
|
+
config: {
|
37
|
+
deploymentName: 'doubao-seed-1-6-250615',
|
38
|
+
},
|
39
|
+
contextWindowTokens: 256_000,
|
40
|
+
description:
|
41
|
+
'Doubao-Seed-1.6全新多模态深度思考模型,同时支持auto/thinking/non-thinking三种思考模式。 non-thinking模式下,模型效果对比Doubao-1.5-pro/250115大幅提升。支持 256k 上下文窗口,输出长度支持最大 16k tokens。',
|
42
|
+
displayName: 'Doubao Seed 1.6',
|
43
|
+
enabled: true,
|
44
|
+
id: 'doubao-seed-1.6',
|
45
|
+
maxOutput: 16_000,
|
46
|
+
pricing: {
|
47
|
+
currency: 'CNY',
|
48
|
+
input: 2.4,
|
49
|
+
output: 24,
|
50
|
+
},
|
51
|
+
type: 'chat',
|
52
|
+
},
|
53
|
+
{
|
54
|
+
abilities: {
|
55
|
+
functionCall: true,
|
56
|
+
reasoning: true,
|
57
|
+
vision: true,
|
58
|
+
},
|
59
|
+
config: {
|
60
|
+
deploymentName: 'doubao-seed-1-6-flash-250615',
|
61
|
+
},
|
62
|
+
contextWindowTokens: 256_000,
|
63
|
+
description:
|
64
|
+
'Doubao-Seed-1.6-flash推理速度极致的多模态深度思考模型,TPOT仅需10ms; 同时支持文本和视觉理解,文本理解能力超过上一代lite,视觉理解比肩友商pro系列模型。支持 256k 上下文窗口,输出长度支持最大 16k tokens。',
|
65
|
+
displayName: 'Doubao Seed 1.6 Flash',
|
66
|
+
enabled: true,
|
67
|
+
id: 'doubao-seed-1.6-flash',
|
68
|
+
maxOutput: 16_000,
|
69
|
+
pricing: {
|
70
|
+
currency: 'CNY',
|
71
|
+
input: 0.6,
|
72
|
+
output: 6,
|
73
|
+
},
|
74
|
+
type: 'chat',
|
75
|
+
},
|
7
76
|
{
|
8
77
|
abilities: {
|
9
78
|
functionCall: true,
|
@@ -530,6 +530,11 @@ export const generateAIChat: StateCreator<
|
|
530
530
|
? agentConfig.params.max_tokens
|
531
531
|
: undefined;
|
532
532
|
|
533
|
+
// 4. handle reasoning_effort
|
534
|
+
agentConfig.params.reasoning_effort = chatConfig.enableReasoningEffort
|
535
|
+
? agentConfig.params.reasoning_effort
|
536
|
+
: undefined;
|
537
|
+
|
533
538
|
let isFunctionCall = false;
|
534
539
|
let msgTraceId: string | undefined;
|
535
540
|
let output = '';
|