@lobehub/chat 1.50.2 → 1.50.4

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 1.50.4](https://github.com/lobehub/lobe-chat/compare/v1.50.3...v1.50.4)
6
+
7
+ <sup>Released on **2025-02-04**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix invalid utf8 character.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix invalid utf8 character, closes [#5732](https://github.com/lobehub/lobe-chat/issues/5732) ([2905cb5](https://github.com/lobehub/lobe-chat/commit/2905cb5))
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
+
30
+ ### [Version 1.50.3](https://github.com/lobehub/lobe-chat/compare/v1.50.2...v1.50.3)
31
+
32
+ <sup>Released on **2025-02-04**</sup>
33
+
34
+ #### 💄 Styles
35
+
36
+ - **misc**: Update model locale.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### Styles
44
+
45
+ - **misc**: Update model locale, closes [#5731](https://github.com/lobehub/lobe-chat/issues/5731) ([d3d26d7](https://github.com/lobehub/lobe-chat/commit/d3d26d7))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ### [Version 1.50.2](https://github.com/lobehub/lobe-chat/compare/v1.50.1...v1.50.2)
6
56
 
7
57
  <sup>Released on **2025-02-04**</sup>
package/README.ja-JP.md CHANGED
@@ -302,14 +302,14 @@ LobeChat エージェントマーケットプレイスでは、クリエイタ
302
302
 
303
303
  <!-- AGENT LIST -->
304
304
 
305
- | 最近追加 | 説明 |
306
- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
307
- | [SUNO 曲作支援ツール](https://lobechat.com/discover/assistant/suno-lyrics-assistant)<br/><sup>By **[sqkkyzx](https://github.com/sqkkyzx)** on **2025-01-26**</sup> | ユーザーのニーズに基づいて SUNO の曲作成パラメータを生成します<br/>`歌詞作成` `音楽スタイル` `編曲` `パラメータ設定` |
308
- | [偉大なるビッグス・ディッカス](https://lobechat.com/discover/assistant/all-knowing)<br/><sup>By **[CGitwater](https://github.com/CGitwater)** on **2025-01-24**</sup> | 全能の知識の神<br/>`ビッグス` `ディッカス` |
309
- | [PPT 制作達人](https://lobechat.com/discover/assistant/ppt-production-expert)<br/><sup>By **[patricleehua](https://github.com/patricleehua)** on **2025-01-24**</sup> | 高品質な PPT の迅速な制作と最適化に優れています<br/>`ppt制作` `デザイン` `コンサルティング` `コンテンツ最適化` `ユーザーサポート` |
310
- | [OCR ドキュメント転写アシスタント](https://lobechat.com/discover/assistant/ocr-markdown)<br/><sup>By **[Liangpi000](https://github.com/Liangpi000)** on **2025-01-24**</sup> | 文書内容の転写と markdown フォーマットに優れています<br/>`文書生成` `markdown` `フォーマット` `転写` `タスクガイド` |
311
-
312
- > 📊 Total agents: [<kbd>**471**</kbd> ](https://lobechat.com/discover/assistants)
305
+ | 最近追加 | 説明 |
306
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
307
+ | [鋭い評論家](https://lobechat.com/discover/assistant/ruipingshi)<br/><sup>By **[Zippland](https://github.com/Zippland)** on **2025-02-04**</sup> | 鋭い評論と深い問題分析が得意<br/>`評論` `社会的見解` `鋭い分析` |
308
+ | [Python の天才](https://lobechat.com/discover/assistant/python-genius)<br/><sup>By **[novaspivack](https://github.com/novaspivack)** on **2025-02-04**</sup> | 高度な Python コーダー<br/>`コード` `python` |
309
+ | [SAT マスター](https://lobechat.com/discover/assistant/sat-teaching)<br/><sup>By **[iBz-04](https://github.com/iBz-04)** on **2025-02-04**</sup> | 1300 点以上のスコアを目指すデジタル SAT コーチングの専門家<br/>`sat` `適性試験` |
310
+ | [宇宙の啓示者](https://lobechat.com/discover/assistant/universal-god)<br/><sup>By **[GowayLee](https://github.com/GowayLee)** on **2025-02-04**</sup> | 時空を超えた知恵の神託、生命の本質を洞察する<br/>`キャラクターデザイン` `aiキャラクター` `メタバース` `ロールプレイング` `知恵システム` |
311
+
312
+ > 📊 Total agents: [<kbd>**478**</kbd> ](https://lobechat.com/discover/assistants)
313
313
 
314
314
  <!-- AGENT LIST -->
315
315
 
package/README.md CHANGED
@@ -319,14 +319,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
319
319
 
320
320
  <!-- AGENT LIST -->
321
321
 
322
- | Recent Submits | Description |
323
- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
324
- | [SUNO Song Creation Assistant](https://lobechat.com/discover/assistant/suno-lyrics-assistant)<br/><sup>By **[sqkkyzx](https://github.com/sqkkyzx)** on **2025-01-26**</sup> | Can generate SUNO song creation parameters based on user needs<br/>`lyric-creation` `music-style` `arrangement` `parameter-settings` |
325
- | [The Great Biggus Dickus](https://lobechat.com/discover/assistant/all-knowing)<br/><sup>By **[CGitwater](https://github.com/CGitwater)** on **2025-01-24**</sup> | The almighty powerful god of klnowledge<br/>`biggus` `diccus` |
326
- | [PPT Production Expert](https://lobechat.com/discover/assistant/ppt-production-expert)<br/><sup>By **[patricleehua](https://github.com/patricleehua)** on **2025-01-24**</sup> | Skilled in the rapid production and optimization of high-quality PPTs<br/>`ppt-production` `design` `consulting` `content-optimization` `user-support` |
327
- | [OCR Document Transcription Assistant](https://lobechat.com/discover/assistant/ocr-markdown)<br/><sup>By **[Liangpi000](https://github.com/Liangpi000)** on **2025-01-24**</sup> | Specializes in document content transcription and markdown formatting<br/>`document-generation` `markdown` `formatting` `transcription` `task-guidance` |
328
-
329
- > 📊 Total agents: [<kbd>**471**</kbd> ](https://lobechat.com/discover/assistants)
322
+ | Recent Submits | Description |
323
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
324
+ | [Sharp Commentator](https://lobechat.com/discover/assistant/ruipingshi)<br/><sup>By **[Zippland](https://github.com/Zippland)** on **2025-02-04**</sup> | Specializes in sharp commentary and in-depth analysis of issues<br/>`commentary` `social-perspectives` `sharp-analysis` |
325
+ | [Python Genius](https://lobechat.com/discover/assistant/python-genius)<br/><sup>By **[novaspivack](https://github.com/novaspivack)** on **2025-02-04**</sup> | An advanced python coder<br/>`code` `python` |
326
+ | [SAT master](https://lobechat.com/discover/assistant/sat-teaching)<br/><sup>By **[iBz-04](https://github.com/iBz-04)** on **2025-02-04**</sup> | Expert in Digital SAT coaching for 1300+ scores<br/>`sat` `aptitude-test` |
327
+ | [Cosmic Oracle](https://lobechat.com/discover/assistant/universal-god)<br/><sup>By **[GowayLee](https://github.com/GowayLee)** on **2025-02-04**</sup> | Wisdom from across time and space, insight into the essence of life<br/>`character-design` `ai-characters` `metaverse` `role-playing` `wisdom-system` |
328
+
329
+ > 📊 Total agents: [<kbd>**478**</kbd> ](https://lobechat.com/discover/assistants)
330
330
 
331
331
  <!-- AGENT LIST -->
332
332
 
package/README.zh-CN.md CHANGED
@@ -308,14 +308,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
308
308
 
309
309
  <!-- AGENT LIST -->
310
310
 
311
- | 最近新增 | 描述 |
312
- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
313
- | [SUNO 歌曲创作助手](https://lobechat.com/discover/assistant/suno-lyrics-assistant)<br/><sup>By **[sqkkyzx](https://github.com/sqkkyzx)** on **2025-01-26**</sup> | 能根据用户需求生成 SUNO 歌曲创作参数<br/>`歌词创作` `音乐风格` `编曲` `参数设置` |
314
- | [伟大的比古斯・迪克斯](https://lobechat.com/discover/assistant/all-knowing)<br/><sup>By **[CGitwater](https://github.com/CGitwater)** on **2025-01-24**</sup> | 全能强大的知识之神<br/>`比古斯` `迪克斯` |
315
- | [PPT 制作达人](https://lobechat.com/discover/assistant/ppt-production-expert)<br/><sup>By **[patricleehua](https://github.com/patricleehua)** on **2025-01-24**</sup> | 擅长高质量 PPT 的快速制作和优化<br/>`ppt制作` `设计` `咨询` `内容优化` `用户支持` |
316
- | [OCR 文档转录助手](https://lobechat.com/discover/assistant/ocr-markdown)<br/><sup>By **[Liangpi000](https://github.com/Liangpi000)** on **2025-01-24**</sup> | 擅长文件内容转录与 markdown 格式<br/>`文档生成` `markdown` `格式化` `转录` `任务指导` |
317
-
318
- > 📊 Total agents: [<kbd>**471**</kbd> ](https://lobechat.com/discover/assistants)
311
+ | 最近新增 | 描述 |
312
+ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
313
+ | [锐评师](https://lobechat.com/discover/assistant/ruipingshi)<br/><sup>By **[Zippland](https://github.com/Zippland)** on **2025-02-04**</sup> | 擅长犀利点评与深度剖析问题<br/>`评论` `社会观点` `尖锐分析` |
314
+ | [Python 天才](https://lobechat.com/discover/assistant/python-genius)<br/><sup>By **[novaspivack](https://github.com/novaspivack)** on **2025-02-04**</sup> | 一名高级 Python 编程者<br/>`代码` `python` |
315
+ | [SAT 大师](https://lobechat.com/discover/assistant/sat-teaching)<br/><sup>By **[iBz-04](https://github.com/iBz-04)** on **2025-02-04**</sup> | 数字 SAT 辅导专家,帮助学生取得 1300 + 分数<br/>`sat` `能力测试` |
316
+ | [宇宙启示者](https://lobechat.com/discover/assistant/universal-god)<br/><sup>By **[GowayLee](https://github.com/GowayLee)** on **2025-02-04**</sup> | 跨时空的智慧神谕,洞悉生命本质<br/>`角色设计` `ai角色` `元宇宙` `角色扮演` `智慧系统` |
317
+
318
+ > 📊 Total agents: [<kbd>**478**</kbd> ](https://lobechat.com/discover/assistants)
319
319
 
320
320
  <!-- AGENT LIST -->
321
321
 
package/changelog/v1.json CHANGED
@@ -1,4 +1,22 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix invalid utf8 character."
6
+ ]
7
+ },
8
+ "date": "2025-02-04",
9
+ "version": "1.50.4"
10
+ },
11
+ {
12
+ "children": {
13
+ "improvements": [
14
+ "Update model locale."
15
+ ]
16
+ },
17
+ "date": "2025-02-04",
18
+ "version": "1.50.3"
19
+ },
2
20
  {
3
21
  "children": {
4
22
  "fixes": [
@@ -198,12 +198,12 @@ The script supports the following deployment modes; please choose the appropriat
198
198
 
199
199
  In domain mode, you need to complete the reverse proxy configuration and ensure that the LAN/public can access the following services. Please use a reverse proxy to map the following service ports to the domain names:
200
200
 
201
- | Domain | Proxy Port | Required |
202
- | --------------------- | ---------- | -------- |
203
- | `lobe.example.com` | `3210` | Yes |
204
- | `auth-ui.example.com` | `8000` | Yes |
205
- | `s3-api.example.com` | `9000` | Yes |
206
- | `s3-ui.example.com` | `9001` | No |
201
+ | Domain | Proxy Port | Required |
202
+ | ---------------------- | ---------- | -------- |
203
+ | `lobe.example.com` | `3210` | Yes |
204
+ | `auth.example.com` | `8000` | Yes |
205
+ | `minio.example.com` | `9000` | Yes |
206
+ | `minio-ui.example.com` | `9001` | |
207
207
 
208
208
  <Callout type="important">
209
209
  If you are using panel software like [APanel](https://www.bt.cn/) for reverse proxy configuration,
@@ -226,8 +226,8 @@ The script supports the following deployment modes; please choose the appropriat
226
226
  In domain mode, you need to complete the following configurations based on script prompts:
227
227
 
228
228
  - Domain setup for the LobeChat service: `lobe.example.com`
229
- - Domain setup for the Minio service: `s3-api.example.com`
230
- - Domain setup for the Casdoor service: `auth-ui.example.com`
229
+ - Domain setup for the Minio service: `minio.example.com`
230
+ - Domain setup for the Casdoor service: `auth.example.com`
231
231
  - Choose the access protocol: `http` or `https`
232
232
  - Regenerate secure keys: We highly recommend regenerating the secure keys; if you lack the key generation library required by the script, we suggest referring to the [Custom Deployment](#custom-deployment) section for key modifications.
233
233
 
@@ -256,11 +256,11 @@ The script supports the following deployment modes; please choose the appropriat
256
256
  - Username: user
257
257
  - Password: 837e26
258
258
  Casdoor:
259
- - URL: https://auth-ui.example.com
259
+ - URL: https://auth.example.com
260
260
  - Username: admin
261
261
  - Password: 837e26
262
262
  Minio:
263
- - URL: https://s3-api.example.com
263
+ - URL: https://minio.example.com
264
264
  - Username: admin
265
265
  - Password: dbac8440
266
266
  ```
@@ -336,7 +336,7 @@ Now, we will introduce the necessary configurations for running these services:
336
336
  - LobeChat requires communication with Casdoor, so you need to configure Casdoor's Issuer.
337
337
 
338
338
  ```env
339
- AUTH_CASDOOR_ISSUER=https://auth-ui.example.com
339
+ AUTH_CASDOOR_ISSUER=https://auth.example.com
340
340
  ```
341
341
 
342
342
  This configuration will affect LobeChat's login authentication service, and you need to ensure that the URL of the Casdoor service is correct. You can find common manifestations and solutions for errors in this configuration in the [FAQ](#faq).
@@ -346,13 +346,13 @@ This configuration will affect LobeChat's login authentication service, and you
346
346
  Please add a line in the `Authentication -> Application` -> `<Application ID, default is app-built-in>` -> `Redirect URI` in Casdoor's web panel:
347
347
 
348
348
  ```
349
- https://auth-ui.example.com/api/auth/callback/casdoor
349
+ https://auth.example.com/api/auth/callback/casdoor
350
350
  ```
351
351
 
352
352
  - Casdoor needs to provide the Origin information for access in the environment variables:
353
353
 
354
354
  ```env
355
- origin=https://auth-ui.example.com
355
+ origin=https://auth.example.com
356
356
  ```
357
357
 
358
358
  2. MinIO
@@ -360,8 +360,8 @@ origin=https://auth-ui.example.com
360
360
  - LobeChat needs to provide a public access URL for object files for the LLM service provider, hence you need to configure MinIO's Endpoint.
361
361
 
362
362
  ```env
363
- S3_PUBLIC_DOMAIN=https://s3-api.example.com
364
- S3_ENDPOINT=https://s3-api.example.com
363
+ S3_PUBLIC_DOMAIN=https://minio.example.com
364
+ S3_ENDPOINT=https://minio.example.com
365
365
  ```
366
366
 
367
367
  3. PostgreSQL
@@ -397,9 +397,9 @@ Solutions:
397
397
 
398
398
  - Please refer to the reverse proxy configuration notes in the [Domain Mode](#domain-mode) section.
399
399
 
400
- - A direct troubleshooting method is to access `https://auth-ui.example.com/.well-known/openid-configuration` directly; if:
400
+ - A direct troubleshooting method is to access `https://auth.example.com/.well-known/openid-configuration` directly; if:
401
401
  - Non-JSON format data is returned, it indicates your reverse proxy configuration is incorrect.
402
- - If the returned JSON format data contains an `"issuer": "URL"` field that does not match your configured `https://auth-ui.example.com`, it indicates your environment variable configuration is incorrect.
402
+ - If the returned JSON format data contains an `"issuer": "URL"` field that does not match your configured `https://auth.example.com`, it indicates your environment variable configuration is incorrect.
403
403
 
404
404
  - TypeError: fetch failed
405
405
 
@@ -413,7 +413,7 @@ Solutions:
413
413
 
414
414
  - Check whether your authentication service is running properly and whether LobeChat's network can reach the authentication service.
415
415
 
416
- - A straightforward troubleshooting method is to use the `curl` command in the LobeChat container terminal to access your authentication service at `https://auth-ui.example.com/.well-known/openid-configuration`. If JSON format data is returned, it indicates your authentication service is functioning correctly.
416
+ - A straightforward troubleshooting method is to use the `curl` command in the LobeChat container terminal to access your authentication service at `https://auth.example.com/.well-known/openid-configuration`. If JSON format data is returned, it indicates your authentication service is functioning correctly.
417
417
 
418
418
  ````markdown
419
419
  ## Extended Configuration
@@ -490,9 +490,9 @@ In the following, it is assumed that in addition to the above services, you are
490
490
  The domain and corresponding service port descriptions are as follows:
491
491
 
492
492
  - `lobe.example.com`: This is your LobeChat service domain, which needs to reverse proxy to the LobeChat service port, default is `3210`.
493
- - `auth-ui.example.com`: This is your Logto UI domain, which needs to reverse proxy to the Logto WebUI service port, default is `8000`.
494
- - `s3-api.example.com`: This is your MinIO API domain, which needs to reverse proxy to the MinIO API service port, default is `9000`.
495
- - `s3-ui.example.com`: Optional, this is your MinIO UI domain, which needs to reverse proxy to the MinIO WebUI service port, default is `9001`.
493
+ - `auth.example.com`: This is your Logto UI domain, which needs to reverse proxy to the Logto WebUI service port, default is `8000`.
494
+ - `minio.example.com`: This is your MinIO API domain, which needs to reverse proxy to the MinIO API service port, default is `9000`.
495
+ - `minio-ui.example.com`: Optional, this is your MinIO UI domain, which needs to reverse proxy to the MinIO WebUI service port, default is `9001`.
496
496
 
497
497
  #### Configuration File
498
498
 
@@ -518,7 +518,7 @@ Next, modify the configuration files to achieve domain release.
518
518
  ```
519
519
  2. Modify the `origin` field of `casdoor`.
520
520
  ```yaml
521
- origin: 'https://auth-ui.example.com'
521
+ origin: 'https://auth.example.com'
522
522
  ```
523
523
  3. Modify the `environment` field of `lobe`.
524
524
  ```yaml
@@ -532,15 +532,15 @@ Next, modify the configuration files to achieve domain release.
532
532
  - 'AUTH_URL=https://lobe.example.com/api/auth'
533
533
 
534
534
  # - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
535
- - 'AUTH_CASDOOR_ISSUER=https://auth-ui.example.com'
535
+ - 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
536
536
 
537
537
  - 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
538
538
  # - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
539
- - 'S3_ENDPOINT=https://s3-api.example.com'
539
+ - 'S3_ENDPOINT=https://minio.example.com'
540
540
 
541
541
  - 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
542
542
  # - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
543
- - 'S3_PUBLIC_DOMAIN=https://s3-api.example.com'
543
+ - 'S3_PUBLIC_DOMAIN=https://minio.example.com'
544
544
 
545
545
  - 'S3_ENABLE_PATH_STYLE=1'
546
546
  - 'LLM_VISION_IMAGE_USE_BASE64=1'
@@ -582,7 +582,7 @@ docker compose up -d # Restart
582
582
 
583
583
  You first need to access the WebUI for configuration:
584
584
 
585
- - If you have set up the reverse proxy as mentioned before, open `https://auth-ui.example.com`
585
+ - If you have set up the reverse proxy as mentioned before, open `https://auth.example.com`
586
586
  - Otherwise, after port mapping, open `http://localhost:8000`
587
587
 
588
588
  Log in to the admin account:
@@ -621,7 +621,7 @@ This article uses MinIO as an example to explain the configuration process. If y
621
621
 
622
622
  You first need to access the WebUI for configuration:
623
623
 
624
- - If you have set up the reverse proxy as mentioned before, open `https://s3-ui.example.com`
624
+ - If you have set up the reverse proxy as mentioned before, open `https://minio-ui.example.com`
625
625
  - Otherwise, after port mapping, open `http://localhost:9001`
626
626
 
627
627
  1. Enter the `MINIO_ROOT_USER` and `MINIO_ROOT_PASSWORD` you set in the login interface, then click login.
@@ -745,7 +745,7 @@ services:
745
745
  driverName: 'postgres'
746
746
  dataSourceName: 'user=postgres password=${POSTGRES_PASSWORD} host=postgresql port=5432 sslmode=disable dbname=casdoor'
747
747
  # origin: 'http://localhost:${CASDOOR_PORT}'
748
- origin: 'https://auth-ui.example.com'
748
+ origin: 'https://auth.example.com'
749
749
  runmode: 'dev'
750
750
  volumes:
751
751
  - ./init_data.json:/init_data.json
@@ -775,15 +775,15 @@ services:
775
775
  - 'AUTH_URL=https://lobe.example.com/api/auth'
776
776
 
777
777
  # - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
778
- - 'AUTH_CASDOOR_ISSUER=https://auth-ui.example.com'
778
+ - 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
779
779
 
780
780
  - 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
781
781
  # - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
782
- - 'S3_ENDPOINT=https://s3-api.example.com'
782
+ - 'S3_ENDPOINT=https://minio.example.com'
783
783
 
784
784
  - 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
785
785
  # - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
786
- - 'S3_PUBLIC_DOMAIN=https://s3-api.example.com'
786
+ - 'S3_PUBLIC_DOMAIN=https://minio.example.com'
787
787
 
788
788
  - 'S3_ENABLE_PATH_STYLE=1'
789
789
  - 'LLM_VISION_IMAGE_USE_BASE64=1'
@@ -199,12 +199,12 @@ bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
199
199
 
200
200
  在域名模式中,你需要完成反向代理配置,并确保局域网 / 公网能访问到以下服务。请使用反向代理将以下服务端口映射到域名:
201
201
 
202
- | 域名 | 反代端口 | 是否必选 |
203
- | --------------------- | ------ | ---- |
204
- | `lobe.example.com` | `3210` | 必选 |
205
- | `auth-ui.example.com` | `8000` | 必选 |
206
- | `s3-api.example.com` | `9000` | 必选 |
207
- | `s3-ui.example.com` | `9001` | |
202
+ | 域名 | 反代端口 | 是否必选 |
203
+ | ---------------------- | ------ | ---- |
204
+ | `lobe.example.com` | `3210` | 必选 |
205
+ | `auth.example.com` | `8000` | 必选 |
206
+ | `minio.example.com` | `9000` | 必选 |
207
+ | `minio-ui.example.com` | `9001` | |
208
208
 
209
209
  <Callout type="important">
210
210
  如果你使用如 [宝塔面板](https://www.bt.cn/) 等面板软件进行反向代理配置,
@@ -227,8 +227,8 @@ bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
227
227
  在域名模式中,你需要根据脚本提示完成:
228
228
 
229
229
  - LobeChat 服务的域名设置:`lobe.example.com`
230
- - Minio 服务的域名设置:`s3-api.example.com`
231
- - Casdoor 服务的域名设置:`auth-ui.example.com`
230
+ - Minio 服务的域名设置:`minio.example.com`
231
+ - Casdoor 服务的域名设置:`auth.example.com`
232
232
  - 选择访问协议:`http` 或 `https`
233
233
  - 安全密钥重新生成:我们强烈建议你重新生成安全密钥,如果你缺少脚本所需的密钥生成库,我们建议你参考 [自定义部署](#自定义部署) 章节对密钥进行修改。
234
234
 
@@ -257,11 +257,11 @@ bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
257
257
  - Username: user
258
258
  - Password: 837e26
259
259
  Casdoor:
260
- - URL: https://auth-ui.example.com
260
+ - URL: https://auth.example.com
261
261
  - Username: admin
262
262
  - Password: 837e26
263
263
  Minio:
264
- - URL: https://s3-api.example.com
264
+ - URL: https://minio.example.com
265
265
  - Username: admin
266
266
  - Password: dbac8440
267
267
  ```
@@ -338,7 +338,7 @@ mv .env.zh-CN.example .env
338
338
  - LobeChat 需要与 Casdoor 通讯,因此你需要配置 Casdoor 的 Issuer 。
339
339
 
340
340
  ```env
341
- AUTH_CASDOOR_ISSUER=https://auth-ui.example.com
341
+ AUTH_CASDOOR_ISSUER=https://auth.example.com
342
342
  ```
343
343
 
344
344
  该配置会影响 LobeChat 的登录鉴权服务,你需要确保 Casdoor 服务的地址正确。
@@ -349,13 +349,13 @@ AUTH_CASDOOR_ISSUER=https://auth-ui.example.com
349
349
  请在 Casdoor 的 Web 面板的 `身份认证 -> 应用` -> `<应用ID,默认为 app-built-in>` -> `重定向URL` 中添加一行:
350
350
 
351
351
  ```
352
- https://auth-ui.example.com/api/auth/callback/casdoor
352
+ https://auth.example.com/api/auth/callback/casdoor
353
353
  ```
354
354
 
355
355
  - Casdoor 需要在环境变量中提供访问的 Origin 信息:
356
356
 
357
357
  ```env
358
- origin=https://auth-ui.example.com
358
+ origin=https://auth.example.com
359
359
  ```
360
360
 
361
361
  2. MinIO
@@ -363,8 +363,8 @@ origin=https://auth-ui.example.com
363
363
  - LobeChat 需要为 LLM 服务提供商提供文件对象的公网访问地址,因此你需要配置 MinIO 的 Endpoint 。
364
364
 
365
365
  ```env
366
- S3_PUBLIC_DOMAIN=https://s3-api.example.com
367
- S3_ENDPOINT=https://s3-api.example.com
366
+ S3_PUBLIC_DOMAIN=https://minio.example.com
367
+ S3_ENDPOINT=https://minio.example.com
368
368
  ```
369
369
 
370
370
  3. PostgreSQL
@@ -400,9 +400,9 @@ lobe-chat | [auth][error] r3: "response" is not a conform Authorization Ser
400
400
 
401
401
  - 请参考 [域名模式](#域名模式) 章节中的反向代理配置注意事项。
402
402
 
403
- - 一个直接的排查方式,你可以直接访问 `https://auth-ui.example.com/.well-known/openid-configuration`,如果
403
+ - 一个直接的排查方式,你可以直接访问 `https://auth.example.com/.well-known/openid-configuration`,如果
404
404
  - 返回了非 JSON 格式的数据,则说明你的反向代理配置错误。
405
- - 如果返回的 JSON 格式数据中的 `"issuer": "URL"` 字段不是你配置的 `https://auth-ui.example.com`,则说明你的环境变量配置错误。
405
+ - 如果返回的 JSON 格式数据中的 `"issuer": "URL"` 字段不是你配置的 `https://auth.example.com`,则说明你的环境变量配置错误。
406
406
 
407
407
  - TypeError: fetch failed
408
408
 
@@ -416,7 +416,7 @@ lobe-chat | [auth][error] TypeError: fetch failed
416
416
 
417
417
  - 请检查你的鉴权服务是否正常运行,以及 LobeChat 所在的网络是否能够访问到鉴权服务。
418
418
 
419
- - 一个直接的排查方式,你可以在 LobeChat 容器的终端中,使用 `curl` 命令访问你的鉴权服务 `https://auth-ui.example.com/.well-known/openid-configuration`,如果返回了 JSON 格式的数据,则说明你的鉴权服务正常运行。
419
+ - 一个直接的排查方式,你可以在 LobeChat 容器的终端中,使用 `curl` 命令访问你的鉴权服务 `https://auth.example.com/.well-known/openid-configuration`,如果返回了 JSON 格式的数据,则说明你的鉴权服务正常运行。
420
420
 
421
421
  ## 拓展配置
422
422
 
@@ -494,14 +494,14 @@ lobe-chat | [auth][error] TypeError: fetch failed
494
494
  域名和配套服务端口说明如下:
495
495
 
496
496
  - `lobe.example.com`:为你的 LobeChat 服务端域名,需要反向代理到 LobeChat 服务端口,默认为 `3210`
497
- - `auth-ui.example.com`:为你的 Logto UI 域名,需要反向代理到 Logto WebUI 服务端口,默认为 `8000`
498
- - `s3-api.example.com`:为你的 MinIO API 域名,需要反向代理到 MinIO API 服务端口,默认为 `9000`
499
- - `s3-ui.example.com`:可选,为你的 MinIO UI 域名,需要反向代理到 MinIO WebUI 服务端口,默认为 `9001`
497
+ - `auth.example.com`:为你的 Logto UI 域名,需要反向代理到 Logto WebUI 服务端口,默认为 `8000`
498
+ - `minio.example.com`:为你的 MinIO API 域名,需要反向代理到 MinIO API 服务端口,默认为 `9000`
499
+ - `minio-ui.example.com`:可选,为你的 MinIO UI 域名,需要反向代理到 MinIO WebUI 服务端口,默认为 `9001`
500
500
 
501
501
  #### 配置文件
502
502
 
503
503
  ```sh
504
- bash <(curl -fsSL https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/local/setup.sh) -f -l zh_CN
504
+ bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
505
505
  docker compose up -d
506
506
  ```
507
507
 
@@ -522,7 +522,7 @@ docker compose up -d
522
522
  ```
523
523
  2. 修改`casdoor`的`origin`字段。
524
524
  ```yaml
525
- origin: 'https://auth-ui.example.com'
525
+ origin: 'https://auth.example.com'
526
526
  ```
527
527
  3. 修改`lobe`的`environment`字段。
528
528
  ```yaml
@@ -536,15 +536,15 @@ docker compose up -d
536
536
  - 'AUTH_URL=https://lobe.example.com/api/auth'
537
537
 
538
538
  # - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
539
- - 'AUTH_CASDOOR_ISSUER=https://auth-ui.example.com'
539
+ - 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
540
540
 
541
541
  - 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
542
542
  # - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
543
- - 'S3_ENDPOINT=https://s3-api.example.com'
543
+ - 'S3_ENDPOINT=https://minio.example.com'
544
544
 
545
545
  - 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
546
546
  # - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
547
- - 'S3_PUBLIC_DOMAIN=https://s3-api.example.com'
547
+ - 'S3_PUBLIC_DOMAIN=https://minio.example.com'
548
548
 
549
549
  - 'S3_ENABLE_PATH_STYLE=1'
550
550
  - 'LLM_VISION_IMAGE_USE_BASE64=1'
@@ -588,7 +588,7 @@ docker compose up -d # 重新启动
588
588
 
589
589
  你需要首先访问 WebUI 来进行配置:
590
590
 
591
- - 如果你按照前文配置了反向代理,打开 `https://auth-ui.example.com`
591
+ - 如果你按照前文配置了反向代理,打开 `https://auth.example.com`
592
592
  - 否则,请在进行端口映射后,打开 `http://localhost:8000`
593
593
 
594
594
  登录管理员账户
@@ -627,7 +627,7 @@ docker compose up -d # 重新启动
627
627
 
628
628
  你需要首先访问 WebUI 来进行配置:
629
629
 
630
- - 如果你按照前文配置了反向代理,打开 `https://s3-ui.example.com`
630
+ - 如果你按照前文配置了反向代理,打开 `https://minio-ui.example.com`
631
631
  - 否则,请在进行端口映射后,打开 `http://localhost:9001`
632
632
 
633
633
  1. 在登录界面输入你设置的 `MINIO_ROOT_USER` 和 `MINIO_ROOT_PASSWORD`,然后点击登录
@@ -754,7 +754,7 @@ services:
754
754
  driverName: 'postgres'
755
755
  dataSourceName: 'user=postgres password=${POSTGRES_PASSWORD} host=postgresql port=5432 sslmode=disable dbname=casdoor'
756
756
  # origin: 'http://localhost:${CASDOOR_PORT}'
757
- origin: 'https://auth-ui.example.com'
757
+ origin: 'https://auth.example.com'
758
758
  runmode: 'dev'
759
759
  volumes:
760
760
  - ./init_data.json:/init_data.json
@@ -784,15 +784,15 @@ services:
784
784
  - 'AUTH_URL=https://lobe.example.com/api/auth'
785
785
 
786
786
  # - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
787
- - 'AUTH_CASDOOR_ISSUER=https://auth-ui.example.com'
787
+ - 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
788
788
 
789
789
  - 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
790
790
  # - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
791
- - 'S3_ENDPOINT=https://s3-api.example.com'
791
+ - 'S3_ENDPOINT=https://minio.example.com'
792
792
 
793
793
  - 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
794
794
  # - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
795
- - 'S3_PUBLIC_DOMAIN=https://s3-api.example.com'
795
+ - 'S3_PUBLIC_DOMAIN=https://minio.example.com'
796
796
 
797
797
  - 'S3_ENABLE_PATH_STYLE=1'
798
798
  - 'LLM_VISION_IMAGE_USE_BASE64=1'