@lobehub/chat 0.86.0-beta.7 → 0.86.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/.github/workflows/release.yml +0 -3
- package/.releaserc.js +1 -14
- package/CHANGELOG.md +9 -18
- package/next.config.mjs +7 -0
- package/package.json +1 -2
- package/src/const/fetch.ts +5 -5
|
@@ -3,7 +3,6 @@ on:
|
|
|
3
3
|
push:
|
|
4
4
|
branches:
|
|
5
5
|
- main
|
|
6
|
-
- beta
|
|
7
6
|
|
|
8
7
|
jobs:
|
|
9
8
|
release:
|
|
@@ -29,5 +28,3 @@ jobs:
|
|
|
29
28
|
env:
|
|
30
29
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
31
30
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
32
|
-
# DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
|
|
33
|
-
# DOCKER_REGISTRY_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
|
package/.releaserc.js
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
...release,
|
|
5
|
-
plugins: [
|
|
6
|
-
...release.plugins,
|
|
7
|
-
// [
|
|
8
|
-
// '@codedependant/semantic-release-docker',
|
|
9
|
-
// {
|
|
10
|
-
// dockerImage: 'lobe-chat',
|
|
11
|
-
// },
|
|
12
|
-
// ],
|
|
13
|
-
],
|
|
14
|
-
};
|
|
1
|
+
module.exports = require('@lobehub/lint').semanticRelease;
|
package/CHANGELOG.md
CHANGED
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### [Version 0.86.1](https://github.com/lobehub/lobe-chat/compare/v0.86.0...v0.86.1)
|
|
6
6
|
|
|
7
|
-
<sup>Released on **2023-10-
|
|
7
|
+
<sup>Released on **2023-10-11**</sup>
|
|
8
8
|
|
|
9
|
-
####
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
10
|
|
|
11
|
-
- **misc**:
|
|
11
|
+
- **misc**: Fix docker reverse proxy don't work.
|
|
12
12
|
|
|
13
13
|
<br/>
|
|
14
14
|
|
|
15
15
|
<details>
|
|
16
16
|
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
17
|
|
|
18
|
-
#### What's
|
|
18
|
+
#### What's fixed
|
|
19
19
|
|
|
20
|
-
- **misc**:
|
|
20
|
+
- **misc**: Fix docker reverse proxy don't work, closes [#294](https://github.com/lobehub/lobe-chat/issues/294) ([a51ba1d](https://github.com/lobehub/lobe-chat/commit/a51ba1d))
|
|
21
21
|
|
|
22
22
|
</details>
|
|
23
23
|
|
|
@@ -27,17 +27,13 @@
|
|
|
27
27
|
|
|
28
28
|
</div>
|
|
29
29
|
|
|
30
|
-
## [Version 0.86.0
|
|
30
|
+
## [Version 0.86.0](https://github.com/lobehub/lobe-chat/compare/v0.85.3...v0.86.0)
|
|
31
31
|
|
|
32
32
|
<sup>Released on **2023-10-10**</sup>
|
|
33
33
|
|
|
34
34
|
#### ✨ Features
|
|
35
35
|
|
|
36
|
-
- **misc**:
|
|
37
|
-
|
|
38
|
-
#### 💄 Styles
|
|
39
|
-
|
|
40
|
-
- **misc**: Add new components, modify display properties, and update settings feature, Replace 100vh with 100% to fix mobile scroll problem.
|
|
36
|
+
- **misc**: Support docker deploy.
|
|
41
37
|
|
|
42
38
|
<br/>
|
|
43
39
|
|
|
@@ -46,12 +42,7 @@
|
|
|
46
42
|
|
|
47
43
|
#### What's improved
|
|
48
44
|
|
|
49
|
-
- **misc**:
|
|
50
|
-
|
|
51
|
-
#### Styles
|
|
52
|
-
|
|
53
|
-
- **misc**: Add new components, modify display properties, and update settings feature ([87a4a46](https://github.com/lobehub/lobe-chat/commit/87a4a46))
|
|
54
|
-
- **misc**: Replace 100vh with 100% to fix mobile scroll problem ([2ef3c94](https://github.com/lobehub/lobe-chat/commit/2ef3c94))
|
|
45
|
+
- **misc**: Support docker deploy, closes [#283](https://github.com/lobehub/lobe-chat/issues/283) ([5bbc87c](https://github.com/lobehub/lobe-chat/commit/5bbc87c))
|
|
55
46
|
|
|
56
47
|
</details>
|
|
57
48
|
|
package/next.config.mjs
CHANGED
|
@@ -18,7 +18,14 @@ const withPWA = nextPWA({
|
|
|
18
18
|
const nextConfig = {
|
|
19
19
|
reactStrictMode: true,
|
|
20
20
|
swcMinify: true,
|
|
21
|
+
images: {
|
|
22
|
+
unoptimized:!isProd,
|
|
23
|
+
},
|
|
24
|
+
experimental: {
|
|
25
|
+
forceSwcTransforms: true,
|
|
26
|
+
},
|
|
21
27
|
transpilePackages: ['@lobehub/ui', 'antd-style'],
|
|
28
|
+
|
|
22
29
|
webpack(config) {
|
|
23
30
|
config.experiments = {
|
|
24
31
|
asyncWebAssembly: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.86.
|
|
3
|
+
"version": "0.86.1",
|
|
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",
|
|
@@ -121,7 +121,6 @@
|
|
|
121
121
|
"zustand-utils": "^1"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
|
-
"@codedependant/semantic-release-docker": "^4",
|
|
125
124
|
"@commitlint/cli": "^17",
|
|
126
125
|
"@lobehub/i18n-cli": "latest",
|
|
127
126
|
"@lobehub/lint": "latest",
|
package/src/const/fetch.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export const OPENAI_END_POINT = 'X-
|
|
2
|
-
export const OPENAI_API_KEY_HEADER_KEY = 'X-
|
|
1
|
+
export const OPENAI_END_POINT = 'X-openai-end-point';
|
|
2
|
+
export const OPENAI_API_KEY_HEADER_KEY = 'X-openai-api-key';
|
|
3
3
|
|
|
4
|
-
export const USE_AZURE_OPENAI = 'X-
|
|
4
|
+
export const USE_AZURE_OPENAI = 'X-use-azure-openai';
|
|
5
5
|
|
|
6
|
-
export const AZURE_OPENAI_API_VERSION = 'X-
|
|
6
|
+
export const AZURE_OPENAI_API_VERSION = 'X-azure-openai-api-version';
|
|
7
7
|
|
|
8
|
-
export const LOBE_CHAT_ACCESS_CODE = 'X-
|
|
8
|
+
export const LOBE_CHAT_ACCESS_CODE = 'X-lobe-chat-access-code';
|
|
9
9
|
|
|
10
10
|
export const getOpenAIAuthFromRequest = (req: Request) => {
|
|
11
11
|
const apiKey = req.headers.get(OPENAI_API_KEY_HEADER_KEY);
|