@lobehub/chat 0.83.0 → 0.83.2
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 +50 -0
- package/package.json +1 -1
- package/src/app/settings/agent/page.tsx +19 -5
- package/src/app/settings/common/page.tsx +18 -5
- package/src/app/settings/llm/page.tsx +18 -5
- package/src/utils/cookie.ts +1 -1
- package/src/app/settings/agent/index.tsx +0 -21
- package/src/app/settings/common/index.tsx +0 -20
- package/src/app/settings/llm/index.tsx +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.83.2](https://github.com/lobehub/lobe-chat/compare/v0.83.1...v0.83.2)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2023-10-06**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix setCookie method that set cookie with sub-path.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Fix setCookie method that set cookie with sub-path, closes [#269](https://github.com/lobehub/lobe-chat/issues/269) ([1b859b7](https://github.com/lobehub/lobe-chat/commit/1b859b7))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 0.83.1](https://github.com/lobehub/lobe-chat/compare/v0.83.0...v0.83.1)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2023-10-06**</sup>
|
|
33
|
+
|
|
34
|
+
#### ♻ Code Refactoring
|
|
35
|
+
|
|
36
|
+
- **misc**: Refactor settings page entry.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### Code refactoring
|
|
44
|
+
|
|
45
|
+
- **misc**: Refactor settings page entry ([e86aff2](https://github.com/lobehub/lobe-chat/commit/e86aff2))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
## [Version 0.83.0](https://github.com/lobehub/lobe-chat/compare/v0.82.9...v0.83.0)
|
|
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.2",
|
|
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,7 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
return <Page />;
|
|
5
|
-
};
|
|
3
|
+
import { memo } from 'react';
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
import { useSwitchSideBarOnInit } from '@/store/global/hooks/useSwitchSettingsOnInit';
|
|
6
|
+
import { SettingsTabs } from '@/store/global/initialState';
|
|
7
|
+
|
|
8
|
+
import Layout from '../index';
|
|
9
|
+
import Agent from './Agent';
|
|
10
|
+
|
|
11
|
+
const AgentSetting = memo(() => {
|
|
12
|
+
useSwitchSideBarOnInit(SettingsTabs.Agent);
|
|
13
|
+
|
|
14
|
+
return (
|
|
15
|
+
<Layout>
|
|
16
|
+
<Agent />
|
|
17
|
+
</Layout>
|
|
18
|
+
);
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
export default AgentSetting;
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
return <Page />;
|
|
5
|
-
};
|
|
3
|
+
import { memo } from 'react';
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
import { useSwitchSideBarOnInit } from '@/store/global/hooks/useSwitchSettingsOnInit';
|
|
6
|
+
import { SettingsTabs } from '@/store/global/initialState';
|
|
7
|
+
|
|
8
|
+
import Layout from '../index';
|
|
9
|
+
import Common from './Common';
|
|
10
|
+
|
|
11
|
+
const CommonSetting = memo(() => {
|
|
12
|
+
useSwitchSideBarOnInit(SettingsTabs.Common);
|
|
13
|
+
return (
|
|
14
|
+
<Layout>
|
|
15
|
+
<Common />
|
|
16
|
+
</Layout>
|
|
17
|
+
);
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
export default CommonSetting;
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
return <Page />;
|
|
5
|
-
};
|
|
3
|
+
import { memo } from 'react';
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
import { useSwitchSideBarOnInit } from '@/store/global/hooks/useSwitchSettingsOnInit';
|
|
6
|
+
import { SettingsTabs } from '@/store/global/initialState';
|
|
7
|
+
|
|
8
|
+
import Layout from '../index';
|
|
9
|
+
import LLM from './LLM';
|
|
10
|
+
|
|
11
|
+
const LLMSetting = memo(() => {
|
|
12
|
+
useSwitchSideBarOnInit(SettingsTabs.LLM);
|
|
13
|
+
return (
|
|
14
|
+
<Layout>
|
|
15
|
+
<LLM />
|
|
16
|
+
</Layout>
|
|
17
|
+
);
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
export default LLMSetting;
|
package/src/utils/cookie.ts
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { memo } from 'react';
|
|
4
|
-
|
|
5
|
-
import { useSwitchSideBarOnInit } from '@/store/global/hooks/useSwitchSettingsOnInit';
|
|
6
|
-
import { SettingsTabs } from '@/store/global/initialState';
|
|
7
|
-
|
|
8
|
-
import Layout from '../index';
|
|
9
|
-
import Agent from './Agent';
|
|
10
|
-
|
|
11
|
-
const AgentSetting = memo(() => {
|
|
12
|
-
useSwitchSideBarOnInit(SettingsTabs.Agent);
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<Layout>
|
|
16
|
-
<Agent />
|
|
17
|
-
</Layout>
|
|
18
|
-
);
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
export default AgentSetting;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { memo } from 'react';
|
|
4
|
-
|
|
5
|
-
import { useSwitchSideBarOnInit } from '@/store/global/hooks/useSwitchSettingsOnInit';
|
|
6
|
-
import { SettingsTabs } from '@/store/global/initialState';
|
|
7
|
-
|
|
8
|
-
import Layout from '../index';
|
|
9
|
-
import Common from './Common';
|
|
10
|
-
|
|
11
|
-
const CommonSetting = memo(() => {
|
|
12
|
-
useSwitchSideBarOnInit(SettingsTabs.Common);
|
|
13
|
-
return (
|
|
14
|
-
<Layout>
|
|
15
|
-
<Common />
|
|
16
|
-
</Layout>
|
|
17
|
-
);
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
export default CommonSetting;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { memo } from 'react';
|
|
4
|
-
|
|
5
|
-
import { useSwitchSideBarOnInit } from '@/store/global/hooks/useSwitchSettingsOnInit';
|
|
6
|
-
import { SettingsTabs } from '@/store/global/initialState';
|
|
7
|
-
|
|
8
|
-
import Layout from '../index';
|
|
9
|
-
import LLM from './LLM';
|
|
10
|
-
|
|
11
|
-
const LLMSetting = memo(() => {
|
|
12
|
-
useSwitchSideBarOnInit(SettingsTabs.LLM);
|
|
13
|
-
return (
|
|
14
|
-
<Layout>
|
|
15
|
-
<LLM />
|
|
16
|
-
</Layout>
|
|
17
|
-
);
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
export default LLMSetting;
|