@lobehub/chat 0.62.0 → 0.62.1
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 0.62.1](https://github.com/lobehub/lobe-chat/compare/v0.62.0...v0.62.1)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2023-08-26**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix plugin settings error.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Fix plugin settings error, closes [#117](https://github.com/lobehub/lobe-chat/issues/117) ([064d90e](https://github.com/lobehub/lobe-chat/commit/064d90e))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
## [Version 0.62.0](https://github.com/lobehub/lobe-chat/compare/v0.61.0...v0.62.0)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2023-08-26**</sup>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.62.
|
|
3
|
+
"version": "0.62.1",
|
|
4
4
|
"description": "Lobe Chat is an open-source chatbot client using LangChain, Typescript and Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chatbot",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@ant-design/icons": "^5",
|
|
66
66
|
"@emoji-mart/data": "^1",
|
|
67
67
|
"@emoji-mart/react": "^1",
|
|
68
|
-
"@icons-pack/react-simple-icons": "^
|
|
68
|
+
"@icons-pack/react-simple-icons": "^9",
|
|
69
69
|
"@lobehub/chat-plugin-sdk": "latest",
|
|
70
70
|
"@lobehub/chat-plugins-gateway": "latest",
|
|
71
71
|
"@lobehub/ui": "latest",
|
|
@@ -113,7 +113,7 @@ const AgentPlugin = memo<AgentPluginProps>(({ config, updateConfig }) => {
|
|
|
113
113
|
if (!item) return null;
|
|
114
114
|
const manifest = pluginManifestMap[identifier];
|
|
115
115
|
|
|
116
|
-
if (!manifest
|
|
116
|
+
if (!manifest?.settings) return null;
|
|
117
117
|
|
|
118
118
|
return {
|
|
119
119
|
children: transformPluginSettings(manifest.settings).map((item) => ({
|
|
@@ -41,7 +41,7 @@ const PluginSettings = memo<PluginSettingsProps>(({ id, pluginIdentifier }) => {
|
|
|
41
41
|
</Flexbox>
|
|
42
42
|
<Flexbox className={styles.desc}>{t('pluginSettings.desc')}</Flexbox>
|
|
43
43
|
<Divider style={{ margin: '0 16px' }} />
|
|
44
|
-
{manifest
|
|
44
|
+
{manifest.settings && (
|
|
45
45
|
<PluginSettingsConfig id={manifest.identifier} settings={manifest.settings} />
|
|
46
46
|
)}
|
|
47
47
|
<Button
|