@lobehub/chat 1.25.1 β 1.25.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/CHANGELOG.md
CHANGED
@@ -2,6 +2,56 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.25.3](https://github.com/lobehub/lobe-chat/compare/v1.25.2...v1.25.3)
|
6
|
+
|
7
|
+
<sup>Released on **2024-10-27**</sup>
|
8
|
+
|
9
|
+
#### π Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Fix the issue of the switch assistant portal not closing.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### What's fixed
|
19
|
+
|
20
|
+
- **misc**: Fix the issue of the switch assistant portal not closing, closes [#4500](https://github.com/lobehub/lobe-chat/issues/4500) ([83f896b](https://github.com/lobehub/lobe-chat/commit/83f896b))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
30
|
+
### [Version 1.25.2](https://github.com/lobehub/lobe-chat/compare/v1.25.1...v1.25.2)
|
31
|
+
|
32
|
+
<sup>Released on **2024-10-27**</sup>
|
33
|
+
|
34
|
+
#### π Styles
|
35
|
+
|
36
|
+
- **misc**: Update stepfun models.
|
37
|
+
|
38
|
+
<br/>
|
39
|
+
|
40
|
+
<details>
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
42
|
+
|
43
|
+
#### Styles
|
44
|
+
|
45
|
+
- **misc**: Update stepfun models, closes [#4512](https://github.com/lobehub/lobe-chat/issues/4512) ([4a26d8a](https://github.com/lobehub/lobe-chat/commit/4a26d8a))
|
46
|
+
|
47
|
+
</details>
|
48
|
+
|
49
|
+
<div align="right">
|
50
|
+
|
51
|
+
[](#readme-top)
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
5
55
|
### [Version 1.25.1](https://github.com/lobehub/lobe-chat/compare/v1.25.0...v1.25.1)
|
6
56
|
|
7
57
|
<sup>Released on **2024-10-26**</sup>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.25.
|
3
|
+
"version": "1.25.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",
|
@@ -102,7 +102,7 @@
|
|
102
102
|
"dependencies": {
|
103
103
|
"@ant-design/icons": "^5.5.1",
|
104
104
|
"@ant-design/pro-components": "^2.7.18",
|
105
|
-
"@anthropic-ai/sdk": "^0.
|
105
|
+
"@anthropic-ai/sdk": "^0.30.0",
|
106
106
|
"@auth/core": "^0.34.2",
|
107
107
|
"@aws-sdk/client-bedrock-runtime": "^3.675.0",
|
108
108
|
"@aws-sdk/client-s3": "^3.675.0",
|
@@ -1,17 +1,20 @@
|
|
1
1
|
import { useCallback } from 'react';
|
2
2
|
|
3
3
|
import { useQueryRoute } from '@/hooks/useQueryRoute';
|
4
|
+
import { useChatStore } from '@/store/chat';
|
4
5
|
import { useServerConfigStore } from '@/store/serverConfig';
|
5
6
|
import { useSessionStore } from '@/store/session';
|
6
7
|
|
7
8
|
export const useSwitchSession = () => {
|
8
9
|
const switchSession = useSessionStore((s) => s.switchSession);
|
10
|
+
const togglePortal = useChatStore((s) => s.togglePortal);
|
9
11
|
const mobile = useServerConfigStore((s) => s.isMobile);
|
10
12
|
const router = useQueryRoute();
|
11
13
|
|
12
14
|
return useCallback(
|
13
15
|
(id: string) => {
|
14
16
|
switchSession(id);
|
17
|
+
togglePortal(false);
|
15
18
|
|
16
19
|
if (mobile) {
|
17
20
|
setTimeout(() => {
|
@@ -111,9 +111,9 @@ const Stepfun: ModelProviderCard = {
|
|
111
111
|
},
|
112
112
|
{
|
113
113
|
description: 'θ―₯樑εζ₯ζεΌΊε€§ηθ§ι’ηθ§£θ½εγ',
|
114
|
-
displayName: 'Step 1.5V
|
114
|
+
displayName: 'Step 1.5V Mini',
|
115
115
|
enabled: true,
|
116
|
-
id: 'step-1.5v-
|
116
|
+
id: 'step-1.5v-mini',
|
117
117
|
pricing: {
|
118
118
|
currency: 'CNY',
|
119
119
|
input: 8,
|