@lobehub/chat 0.83.4 โ 0.83.6
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 0.83.6](https://github.com/lobehub/lobe-chat/compare/v0.83.5...v0.83.6)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2023-10-06**</sup>
|
|
8
|
+
|
|
9
|
+
#### ๐ Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Update modal style.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Update modal style ([2ab1475](https://github.com/lobehub/lobe-chat/commit/2ab1475))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 0.83.5](https://github.com/lobehub/lobe-chat/compare/v0.83.4...v0.83.5)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2023-10-06**</sup>
|
|
33
|
+
|
|
34
|
+
#### ๐ Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **misc**: Fix agent market list.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### What's fixed
|
|
44
|
+
|
|
45
|
+
- **misc**: Fix agent market list, closes [#273](https://github.com/lobehub/lobe-chat/issues/273) ([c020277](https://github.com/lobehub/lobe-chat/commit/c020277))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
### [Version 0.83.4](https://github.com/lobehub/lobe-chat/compare/v0.83.3...v0.83.4)
|
|
6
56
|
|
|
7
57
|
<sup>Released on **2023-10-06**</sup>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.83.
|
|
3
|
+
"version": "0.83.6",
|
|
4
4
|
"description": "An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chatbot",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Avatar, Form } from '@lobehub/ui';
|
|
2
|
-
import { Form as AForm, FormInstance, Switch, Tag } from 'antd';
|
|
2
|
+
import { Form as AForm, Card, FormInstance, Switch, Tag } from 'antd';
|
|
3
3
|
import { memo } from 'react';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
import { Flexbox } from 'react-layout-kit';
|
|
@@ -28,16 +28,9 @@ const PluginPreview = memo<{ form: FormInstance }>(({ form }) => {
|
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
return (
|
|
31
|
-
<
|
|
32
|
-
colon={false}
|
|
33
|
-
|
|
34
|
-
{
|
|
35
|
-
children: [items],
|
|
36
|
-
title: t('dev.preview.card'),
|
|
37
|
-
},
|
|
38
|
-
]}
|
|
39
|
-
style={{ marginBottom: 0 }}
|
|
40
|
-
/>
|
|
31
|
+
<Card size={'small'} title={t('dev.preview.card')}>
|
|
32
|
+
<Form.Item {...items} colon={false} style={{ marginBottom: 0 }} />
|
|
33
|
+
</Card>
|
|
41
34
|
);
|
|
42
35
|
});
|
|
43
36
|
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { getAgentJSON } from '@/const/url';
|
|
1
|
+
import { getAgentIndexJSON, getAgentJSON } from '@/const/url';
|
|
2
2
|
import { settingsSelectors, useGlobalStore } from '@/store/global';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* ่ฏทๆฑๅฉๆๅ่กจ
|
|
6
6
|
*/
|
|
7
7
|
export const getAgentList = async () => {
|
|
8
|
-
const res = await fetch(
|
|
8
|
+
const res = await fetch(
|
|
9
|
+
getAgentIndexJSON(settingsSelectors.currentLanguage(useGlobalStore.getState())),
|
|
10
|
+
);
|
|
9
11
|
|
|
10
12
|
return res.json();
|
|
11
13
|
};
|