@lobehub/chat 1.94.8 → 1.94.9
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,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.94.9](https://github.com/lobehub/lobe-chat/compare/v1.94.8...v1.94.9)
|
6
|
+
|
7
|
+
<sup>Released on **2025-06-15**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Add `kimi-thinking-preview` model from Moonshot.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Add `kimi-thinking-preview` model from Moonshot, closes [#8171](https://github.com/lobehub/lobe-chat/issues/8171) ([93d677c](https://github.com/lobehub/lobe-chat/commit/93d677c))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.94.8](https://github.com/lobehub/lobe-chat/compare/v1.94.7...v1.94.8)
|
6
31
|
|
7
32
|
<sup>Released on **2025-06-15**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.94.
|
3
|
+
"version": "1.94.9",
|
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",
|
@@ -26,6 +26,25 @@ const moonshotChatModels: AIChatModelCard[] = [
|
|
26
26
|
},
|
27
27
|
type: 'chat',
|
28
28
|
},
|
29
|
+
{
|
30
|
+
abilities: {
|
31
|
+
reasoning: true,
|
32
|
+
vision: true,
|
33
|
+
},
|
34
|
+
contextWindowTokens: 131_072,
|
35
|
+
description:
|
36
|
+
'kimi-thinking-preview 模型是月之暗面提供的具有多模态推理能力和通用推理能力的多模态思考模型,它擅长深度推理,帮助解决更多更难的事情',
|
37
|
+
displayName: 'Kimi Thinking Preview',
|
38
|
+
enabled: true,
|
39
|
+
id: 'kimi-thinking-preview',
|
40
|
+
pricing: {
|
41
|
+
currency: 'CNY',
|
42
|
+
input: 200,
|
43
|
+
output: 200,
|
44
|
+
},
|
45
|
+
releasedAt: '2025-05-06',
|
46
|
+
type: 'chat',
|
47
|
+
},
|
29
48
|
{
|
30
49
|
abilities: {
|
31
50
|
functionCall: true,
|
@@ -40,7 +40,9 @@ export const LobeMoonshotAI = createOpenAICompatibleRuntime({
|
|
40
40
|
|
41
41
|
const functionCallKeywords = ['moonshot-v1', 'kimi-latest'];
|
42
42
|
|
43
|
-
const visionKeywords = ['kimi-latest', 'vision'];
|
43
|
+
const visionKeywords = ['kimi-latest', 'kimi-thinking', 'vision'];
|
44
|
+
|
45
|
+
const reasoningKeywords = ['thinking'];
|
44
46
|
|
45
47
|
const modelsPage = (await client.models.list()) as any;
|
46
48
|
const modelList: MoonshotModelCard[] = modelsPage.data;
|
@@ -60,7 +62,10 @@ export const LobeMoonshotAI = createOpenAICompatibleRuntime({
|
|
60
62
|
knownModel?.abilities?.functionCall ||
|
61
63
|
false,
|
62
64
|
id: model.id,
|
63
|
-
reasoning:
|
65
|
+
reasoning:
|
66
|
+
reasoningKeywords.some((keyword) => model.id.toLowerCase().includes(keyword)) ||
|
67
|
+
knownModel?.abilities?.reasoning ||
|
68
|
+
false,
|
64
69
|
vision:
|
65
70
|
visionKeywords.some((keyword) => model.id.toLowerCase().includes(keyword)) ||
|
66
71
|
knownModel?.abilities?.vision ||
|