@lobehub/chat 0.86.2 → 0.86.3

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.
@@ -4,6 +4,7 @@
4
4
 
5
5
  - [ ] ✨ feat
6
6
  - [ ] 🐛 fix
7
+ - [ ] ♻️ refactor
7
8
  - [ ] 💄 style
8
9
  - [ ] 🔨 chore
9
10
  - [ ] 📝 docs
@@ -1,4 +1,4 @@
1
- name: Publish Docker image
1
+ name: Publish Docker Image
2
2
 
3
3
  on:
4
4
  workflow_dispatch:
@@ -11,16 +11,16 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
13
  - name: Check out the repo
14
- uses: actions/checkout@v3
14
+ uses: actions/checkout@v4
15
15
  - name: Log in to Docker Hub
16
- uses: docker/login-action@v2
16
+ uses: docker/login-action@v3
17
17
  with:
18
18
  username: ${{ secrets.DOCKER_REGISTRY_USER }}
19
19
  password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
20
20
 
21
21
  - name: Extract metadata (tags, labels) for Docker
22
22
  id: meta
23
- uses: docker/metadata-action@v4
23
+ uses: docker/metadata-action@v5
24
24
  with:
25
25
  images: lobehub/lobe-chat
26
26
  tags: |
@@ -28,13 +28,13 @@ jobs:
28
28
  type=ref,event=tag
29
29
 
30
30
  - name: Set up QEMU
31
- uses: docker/setup-qemu-action@v2
31
+ uses: docker/setup-qemu-action@v3
32
32
 
33
33
  - name: Set up Docker Buildx
34
- uses: docker/setup-buildx-action@v2
34
+ uses: docker/setup-buildx-action@v3
35
35
 
36
36
  - name: Build and push Docker image
37
- uses: docker/build-push-action@v4
37
+ uses: docker/build-push-action@v5
38
38
  with:
39
39
  context: .
40
40
  platforms: linux/amd64,linux/arm64
@@ -40,9 +40,7 @@ jobs:
40
40
  URLS: 'https://chat-preview.lobehub.com/settings'
41
41
  BADGES_ARGS: '-b pagespeed -o lighthouse/settings -r'
42
42
  COMMIT_MESSAGE: '🤖 chore: Lighthouse Results | Settings'
43
- ####################################################################
44
- # THAT'S IT; YOU DON'T HAVE TO DEFINE ANYTHING IN THE FOLLOWING
45
- ####################################################################
43
+
46
44
  steps:
47
45
  - name: Preparatory Tasks
48
46
  run: |
@@ -7,17 +7,18 @@ on:
7
7
 
8
8
  jobs:
9
9
  if_merged:
10
+ name: Check merged and add comment
10
11
  if: github.event.pull_request.merged == true
11
12
  runs-on: ubuntu-latest
12
13
  steps:
13
14
  - uses: actions-cool/pr-welcome@main
14
15
  with:
15
- token: ${{ secrets.GITHUB_TOKEN }}
16
+ token: ${{ secrets.GH_TOKEN }}
16
17
  comment: |
17
- 🎉 Great PR @${{ github.event.pull_request.user.login }} 🎉
18
+ ❤️ Great PR @${{ github.event.pull_request.user.login }} ❤️
18
19
 
19
- The growth of project is inseparable from user feedback and contribution, thanks for your contribution ❤️
20
+ The growth of project is inseparable from user feedback and contribution, thanks for your contribution!
20
21
 
21
- 项目的成长离不开用户反馈和贡献,感谢您的贡献 ❤️
22
+ 项目的成长离不开用户反馈和贡献,感谢您的贡献!
22
23
  emoji: 'hooray'
23
24
  pr-emoji: '+1, heart'
@@ -23,7 +23,7 @@ jobs:
23
23
  - name: Test
24
24
  run: bun run test
25
25
 
26
- - name: release
26
+ - name: Release
27
27
  run: bun run release
28
28
  env:
29
29
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
@@ -17,11 +17,8 @@ jobs:
17
17
  if: ${{ github.event.repository.fork }}
18
18
 
19
19
  steps:
20
- # Step 1: run a standard checkout action
21
- - name: Checkout target repo
22
- uses: actions/checkout@v4
20
+ - uses: actions/checkout@v4
23
21
 
24
- # Step 2: run the sync action
25
22
  - name: Sync upstream changes
26
23
  id: sync
27
24
  uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
@@ -30,11 +27,8 @@ jobs:
30
27
  upstream_sync_branch: main
31
28
  target_sync_branch: main
32
29
  target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
33
-
34
- # Set test_mode true to run tests instead of the true action!!
35
30
  test_mode: false
36
31
 
37
- # Step 3: run check
38
32
  - name: Sync check
39
33
  if: failure()
40
34
  uses: actions-cool/issues-helper@v3
@@ -13,7 +13,7 @@ jobs:
13
13
  - name: Install deps
14
14
  run: bun i
15
15
 
16
- - name: lint
16
+ - name: Lint
17
17
  run: bun run lint
18
18
 
19
19
  - name: Test and coverage
@@ -11,7 +11,7 @@ on:
11
11
  jobs:
12
12
  update-wiki:
13
13
  runs-on: ubuntu-latest
14
- name: wiki sync
14
+ name: Wiki sync
15
15
  steps:
16
16
  - uses: OrlovM/Wiki-Action@v1
17
17
  with:
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.86.3](https://github.com/lobehub/lobe-chat/compare/v0.86.2...v0.86.3)
6
+
7
+ <sup>Released on **2023-10-11**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix docker image.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix docker image ([14ff80e](https://github.com/lobehub/lobe-chat/commit/14ff80e))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 0.86.2](https://github.com/lobehub/lobe-chat/compare/v0.86.1...v0.86.2)
6
31
 
7
32
  <sup>Released on **2023-10-11**</sup>
package/Dockerfile CHANGED
@@ -44,9 +44,10 @@ EXPOSE 3210
44
44
 
45
45
  # set hostname to localhost
46
46
  ENV HOSTNAME "0.0.0.0"
47
+ ENV PORT=3210
47
48
 
48
49
  ENV ACCESS_CODE "lobe66"
49
50
  ENV OPENAI_API_KEY ""
50
51
  ENV OPENAI_PROXY_URL ""
51
52
 
52
- CMD ["PORT=3210","node", "server.js"]
53
+ CMD ["node", "server.js"]
package/README.md CHANGED
@@ -15,6 +15,7 @@ LobeChat is a open-source, extensible ([Function Calling][fc-link]), high-perfor
15
15
  <!-- SHIELD GROUP -->
16
16
 
17
17
  [![][github-release-shield]][github-release-link]
18
+ [![][docker-release-shield]][docker-release-link]
18
19
  [![][vercel-shield]][vercel-link]
19
20
  [![][discord-shield]][discord-link]
20
21
  [![][github-releasedate-shield]][github-releasedate-link]
@@ -333,6 +334,8 @@ This project is [MIT](./LICENSE) licensed.
333
334
  [discord-link]: https://discord.gg/AYFPHvv2jT
334
335
  [discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
335
336
  [discord-shield-badge]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
337
+ [docker-release-link]: https://hub.docker.com/r/lobehub/lobe-chat
338
+ [docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square
336
339
  [fc-link]: https://sspai.com/post/81986
337
340
  [fossa-license-link]: https://app.fossa.com/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat
338
341
  [fossa-license-shield]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat.svg?type=large
package/README.zh-CN.md CHANGED
@@ -15,6 +15,7 @@ LobeChat 是一个开源的、可扩展的([Function Calling][fc-link])高
15
15
  <!-- SHIELD GROUP -->
16
16
 
17
17
  [![][github-release-shield]][github-release-link]
18
+ [![][docker-release-shield]][docker-release-link]
18
19
  [![][vercel-shield]][vercel-link]
19
20
  [![][discord-shield]][discord-link]
20
21
  [![][github-releasedate-shield]][github-releasedate-link]
@@ -335,6 +336,8 @@ This project is [MIT](./LICENSE) licensed.
335
336
  [discord-link]: https://discord.gg/AYFPHvv2jT
336
337
  [discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
337
338
  [discord-shield-badge]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
339
+ [docker-release-link]: https://hub.docker.com/r/lobehub/lobe-chat
340
+ [docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square
338
341
  [fc-link]: https://sspai.com/post/81986
339
342
  [fossa-license-link]: https://app.fossa.com/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat
340
343
  [fossa-license-shield]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat.svg?type=large
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.86.2",
3
+ "version": "0.86.3",
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,25 +0,0 @@
1
- name: Dependabot Auto Merge
2
- on:
3
- pull_request_target:
4
- types: [labeled, edited]
5
-
6
- jobs:
7
- merge:
8
- if: contains(github.event.pull_request.labels.*.name, 'dependencies')
9
- name: Dependabot Auto Merge
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@v4
13
-
14
- - name: Install bun
15
- uses: oven-sh/setup-bun@v1
16
-
17
- - name: Install deps
18
- run: bun i
19
-
20
- - name: Merge
21
- uses: ahmadnassri/action-dependabot-auto-merge@v2
22
- with:
23
- command: merge
24
- target: minor
25
- github-token: ${{ secrets.GH_TOKEN }}