@lobehub/chat 1.60.4 → 1.60.5
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.60.5](https://github.com/lobehub/lobe-chat/compare/v1.60.4...v1.60.5)
|
6
|
+
|
7
|
+
<sup>Released on **2025-02-17**</sup>
|
8
|
+
|
9
|
+
#### 🐛 Bug Fixes
|
10
|
+
|
11
|
+
- **misc**: Fix loading on not login for db.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### What's fixed
|
19
|
+
|
20
|
+
- **misc**: Fix loading on not login for db, closes [#6258](https://github.com/lobehub/lobe-chat/issues/6258) ([61692b9](https://github.com/lobehub/lobe-chat/commit/61692b9))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.60.4](https://github.com/lobehub/lobe-chat/compare/v1.60.3...v1.60.4)
|
6
31
|
|
7
32
|
<sup>Released on **2025-02-17**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.60.
|
3
|
+
"version": "1.60.5",
|
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",
|
@@ -9,6 +9,8 @@ import PluginTag from '@/features/PluginTag';
|
|
9
9
|
import { useModelSupportToolUse } from '@/hooks/useModelSupportToolUse';
|
10
10
|
import { useAgentStore } from '@/store/agent';
|
11
11
|
import { agentSelectors } from '@/store/agent/selectors';
|
12
|
+
import { useUserStore } from '@/store/user';
|
13
|
+
import { authSelectors } from '@/store/user/selectors';
|
12
14
|
|
13
15
|
import KnowledgeTag from './KnowledgeTag';
|
14
16
|
|
@@ -23,8 +25,9 @@ const TitleTags = memo(() => {
|
|
23
25
|
|
24
26
|
const showPlugin = useModelSupportToolUse(model, provider);
|
25
27
|
const isLoading = useAgentStore(agentSelectors.isAgentConfigLoading);
|
28
|
+
const isLogin = useUserStore(authSelectors.isLogin);
|
26
29
|
|
27
|
-
return isLoading ? (
|
30
|
+
return isLoading && isLogin ? (
|
28
31
|
<Skeleton.Button active size={'small'} style={{ height: 20 }} />
|
29
32
|
) : (
|
30
33
|
<Flexbox align={'center'} horizontal>
|