@lobehub/chat 1.0.6 → 1.0.8

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.
Files changed (69) hide show
  1. package/.env.example +52 -0
  2. package/CHANGELOG.md +58 -0
  3. package/README.md +48 -7
  4. package/README.zh-CN.md +48 -7
  5. package/docs/self-hosting/advanced/feature-flags.mdx +13 -11
  6. package/docs/self-hosting/advanced/feature-flags.zh-CN.mdx +1 -1
  7. package/docs/self-hosting/advanced/server-database.mdx +387 -0
  8. package/docs/self-hosting/advanced/server-database.zh-CN.mdx +376 -0
  9. package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +15 -15
  10. package/docs/usage/features/auth.mdx +44 -0
  11. package/docs/usage/features/auth.zh-CN.mdx +58 -0
  12. package/docs/usage/features/database.mdx +54 -0
  13. package/docs/usage/features/database.zh-CN.mdx +54 -0
  14. package/locales/ar/chat.json +0 -1
  15. package/locales/ar/common.json +1 -2
  16. package/locales/bg-BG/chat.json +0 -1
  17. package/locales/bg-BG/common.json +1 -2
  18. package/locales/de-DE/chat.json +0 -1
  19. package/locales/de-DE/common.json +1 -2
  20. package/locales/en-US/chat.json +14 -15
  21. package/locales/en-US/common.json +12 -13
  22. package/locales/en-US/market.json +6 -6
  23. package/locales/en-US/metadata.json +2 -2
  24. package/locales/en-US/setting.json +16 -16
  25. package/locales/en-US/welcome.json +2 -2
  26. package/locales/es-ES/chat.json +0 -1
  27. package/locales/es-ES/common.json +1 -2
  28. package/locales/fr-FR/chat.json +0 -1
  29. package/locales/fr-FR/common.json +1 -2
  30. package/locales/it-IT/chat.json +0 -1
  31. package/locales/it-IT/common.json +1 -2
  32. package/locales/ja-JP/chat.json +0 -1
  33. package/locales/ja-JP/common.json +1 -2
  34. package/locales/ko-KR/chat.json +0 -1
  35. package/locales/ko-KR/common.json +1 -2
  36. package/locales/nl-NL/chat.json +0 -1
  37. package/locales/nl-NL/common.json +1 -2
  38. package/locales/pl-PL/chat.json +0 -1
  39. package/locales/pl-PL/common.json +1 -2
  40. package/locales/pt-BR/chat.json +0 -1
  41. package/locales/pt-BR/common.json +1 -2
  42. package/locales/ru-RU/chat.json +0 -1
  43. package/locales/ru-RU/common.json +1 -2
  44. package/locales/tr-TR/chat.json +0 -1
  45. package/locales/tr-TR/common.json +1 -2
  46. package/locales/vi-VN/chat.json +0 -1
  47. package/locales/vi-VN/common.json +1 -2
  48. package/locales/zh-CN/chat.json +0 -1
  49. package/locales/zh-CN/common.json +1 -2
  50. package/locales/zh-TW/chat.json +0 -1
  51. package/locales/zh-TW/common.json +1 -2
  52. package/package.json +2 -2
  53. package/scripts/i18nWorkflow/utils.ts +1 -4
  54. package/scripts/migrateServerDB/index.ts +2 -0
  55. package/src/app/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/Footer/SendMore.tsx +3 -5
  56. package/src/app/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/Footer/index.tsx +15 -6
  57. package/src/app/(main)/chat/(workspace)/features/ShareButton/Preview.tsx +3 -2
  58. package/src/app/(main)/chat/@session/_layout/Desktop/SessionHeader.tsx +3 -2
  59. package/src/app/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +3 -2
  60. package/src/app/(main)/market/_layout/Desktop/Header.tsx +3 -2
  61. package/src/app/(main)/market/_layout/Desktop/Hero.tsx +1 -1
  62. package/src/app/(main)/welcome/_layout/Desktop.tsx +3 -2
  63. package/src/app/layout.tsx +2 -1
  64. package/src/components/BrandWatermark/index.tsx +2 -2
  65. package/src/components/FullscreenLoading/index.tsx +3 -2
  66. package/src/config/featureFlags/schema.ts +1 -1
  67. package/src/locales/default/chat.ts +0 -1
  68. package/src/locales/default/common.ts +1 -2
  69. package/src/store/serverConfig/selectors.test.ts +1 -1
package/.env.example CHANGED
@@ -129,3 +129,55 @@ OPENAI_API_KEY=sk-xxxxxxxxx
129
129
  # set the plugin settings
130
130
  # the format is `plugin-identifier:key1=value1;key2=value2`, multiple settings fields are separated by semicolons `;`, multiple plugin settings are separated by commas `,`.
131
131
  # PLUGIN_SETTINGS=search-engine:SERPAPI_API_KEY=xxxxx
132
+
133
+
134
+ ########################################
135
+ ##### S3 Object Storage Service ########
136
+ ########################################
137
+
138
+ # S3 keys
139
+ #S3_ACCESS_KEY_ID=9998d6757e276cf9f1edbd325b7083a6
140
+ #S3_SECRET_ACCESS_KEY=55af75d8eb6b99f189f6a35f855336ea62cd9c4751a5cf4337c53c1d3f497ac2
141
+
142
+ # Bucket name
143
+ #S3_BUCKET=lobechat
144
+
145
+ # Bucket request endpoint
146
+ #S3_ENDPOINT=https://0b33a03b5c993fd2f453379dc36558e5.r2.cloudflarestorage.com
147
+
148
+ # Public access domain for the bucket
149
+ #NEXT_PUBLIC_S3_DOMAIN=https://s3-for-lobechat.your-domain.com
150
+
151
+ # Bucket region, such as us-west-1, generally not needed to add
152
+ # but some service providers may require configuration
153
+ # S3_REGION=us-west-1
154
+
155
+
156
+ ########################################
157
+ ############ Auth Service ##############
158
+ ########################################
159
+
160
+
161
+ # Clerk related configurations
162
+
163
+ # Clerk public key and secret key
164
+ #NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_live_xxxxxxxxxxx
165
+ #CLERK_SECRET_KEY=sk_live_xxxxxxxxxxxxxxxxxxxxxx
166
+
167
+ # you need to config the clerk webhook secret key if you want to use the clerk with database
168
+ #CLERK_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxx
169
+
170
+
171
+ ########################################
172
+ ########## Server Database #############
173
+ ########################################
174
+
175
+ # Specify the service mode as server if you want to use the server database
176
+ #NEXT_PUBLIC_SERVICE_MODE=server
177
+
178
+ # Postgres database URL
179
+ #DATABASE_URL=postgres://username:password@host:port/database
180
+
181
+ # use `openssl rand -base64 32` to generate a key for the encryption of the database
182
+ # we use this key to encrypt the user api key
183
+ #KEY_VAULTS_SECRET=xxxxx/xxxxxxxxxxxxxx=
package/CHANGELOG.md CHANGED
@@ -2,6 +2,64 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.0.8](https://github.com/lobehub/lobe-chat/compare/v1.0.7...v1.0.8)
6
+
7
+ <sup>Released on **2024-06-18**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix hydration mismatch on macOS.
12
+
13
+ #### 💄 Styles
14
+
15
+ - **misc**: Update brand and improve docs.
16
+
17
+ <br/>
18
+
19
+ <details>
20
+ <summary><kbd>Improvements and Fixes</kbd></summary>
21
+
22
+ #### What's fixed
23
+
24
+ - **misc**: Fix hydration mismatch on macOS, closes [#2913](https://github.com/lobehub/lobe-chat/issues/2913) ([cd9a143](https://github.com/lobehub/lobe-chat/commit/cd9a143))
25
+
26
+ #### Styles
27
+
28
+ - **misc**: Update brand and improve docs, closes [#2917](https://github.com/lobehub/lobe-chat/issues/2917) ([2b54cae](https://github.com/lobehub/lobe-chat/commit/2b54cae))
29
+
30
+ </details>
31
+
32
+ <div align="right">
33
+
34
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
35
+
36
+ </div>
37
+
38
+ ### [Version 1.0.7](https://github.com/lobehub/lobe-chat/compare/v1.0.6...v1.0.7)
39
+
40
+ <sup>Released on **2024-06-18**</sup>
41
+
42
+ #### ♻ Code Refactoring
43
+
44
+ - **misc**: Remove some i18n text.
45
+
46
+ <br/>
47
+
48
+ <details>
49
+ <summary><kbd>Improvements and Fixes</kbd></summary>
50
+
51
+ #### Code refactoring
52
+
53
+ - **misc**: Remove some i18n text, closes [#2862](https://github.com/lobehub/lobe-chat/issues/2862) ([1fd7d76](https://github.com/lobehub/lobe-chat/commit/1fd7d76))
54
+
55
+ </details>
56
+
57
+ <div align="right">
58
+
59
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
60
+
61
+ </div>
62
+
5
63
  ### [Version 1.0.6](https://github.com/lobehub/lobe-chat/compare/v1.0.5...v1.0.6)
6
64
 
7
65
  <sup>Released on **2024-06-17**</sup>
package/README.md CHANGED
@@ -59,9 +59,11 @@ One-click **FREE** deployment of your private OpenAI ChatGPT/Claude/Gemini/Groq/
59
59
  - [`5` Text to Image Generation](#5-text-to-image-generation)
60
60
  - [`6` Plugin System (Function Calling)](#6-plugin-system-function-calling)
61
61
  - [`7` Agent Market (GPTs)](#7-agent-market-gpts)
62
- - [`8` Progressive Web App (PWA)](#8-progressive-web-app-pwa)
63
- - [`9` Mobile Device Adaptation](#9-mobile-device-adaptation)
64
- - [`10` Custom Themes](#10-custom-themes)
62
+ - [`8` Support Local / Remote Database](#8-support-local--remote-database)
63
+ - [`9` Support Multi-User Management](#9-support-multi-user-management)
64
+ - [`10` Progressive Web App (PWA)](#10-progressive-web-app-pwa)
65
+ - [`11` Mobile Device Adaptation](#11-mobile-device-adaptation)
66
+ - [`12` Custom Themes](#12-custom-themes)
65
67
  - [`*` What's more](#-whats-more)
66
68
  - [⚡️ Performance](#️-performance)
67
69
  - [🛳 Self Hosting](#-self-hosting)
@@ -280,9 +282,44 @@ Our marketplace is not just a showcase platform but also a collaborative space.
280
282
 
281
283
  </div>
282
284
 
285
+ [![][image-feat-database]][docs-feat-database]
286
+
287
+ ### `8` [Support Local / Remote Database][docs-feat-database]
288
+
289
+ LobeChat supports the use of both server-side and local databases. Depending on your needs, you can choose the appropriate deployment solution:
290
+
291
+ - **Local database**: suitable for users who want more control over their data and privacy protection. LobeChat uses CRDT (Conflict-Free Replicated Data Type) technology to achieve multi-device synchronization. This is an experimental feature aimed at providing a seamless data synchronization experience.
292
+ - **Server-side database**: suitable for users who want a more convenient user experience. LobeChat supports PostgreSQL as a server-side database. For detailed documentation on how to configure the server-side database, please visit [Configure Server-side Database](https://lobehub.com/docs/self-hosting/advanced/server-database).
293
+
294
+ Regardless of which database you choose, LobeChat can provide you with an excellent user experience.
295
+
296
+ <div align="right">
297
+
298
+ [![][back-to-top]](#readme-top)
299
+
300
+ </div>
301
+
302
+ [![][image-feat-auth]][docs-feat-auth]
303
+
304
+ ### `9` [Support Multi-User Management][docs-feat-auth]
305
+
306
+ LobeChat supports multi-user management and provides two main user authentication and management solutions to meet different needs:
307
+
308
+ - **next-auth**: LobeChat integrates `next-auth`, a flexible and powerful identity verification library that supports multiple authentication methods, including OAuth, email login, credential login, etc. With `next-auth`, you can easily implement user registration, login, session management, social login, and other functions to ensure the security and privacy of user data.
309
+
310
+ - **Clerk**: For users who need more advanced user management features, LobeChat also supports `Clerk`, a modern user management platform. `Clerk` provides richer functions, such as multi-factor authentication (MFA), user profile management, login activity monitoring, etc. With `Clerk`, you can get higher security and flexibility, and easily cope with complex user management needs.
311
+
312
+ Regardless of which user management solution you choose, LobeChat can provide you with an excellent user experience and powerful functional support.
313
+
314
+ <div align="right">
315
+
316
+ [![][back-to-top]](#readme-top)
317
+
318
+ </div>
319
+
283
320
  [![][image-feat-pwa]][docs-feat-pwa]
284
321
 
285
- ### `8` [Progressive Web App (PWA)][docs-feat-pwa]
322
+ ### `10` [Progressive Web App (PWA)][docs-feat-pwa]
286
323
 
287
324
  We deeply understand the importance of providing a seamless experience for users in today's multi-device environment.
288
325
  Therefore, we have adopted Progressive Web Application ([PWA](https://support.google.com/chrome/answer/9658361)) technology,
@@ -309,7 +346,7 @@ providing smooth animations, responsive layouts, and adapting to different devic
309
346
 
310
347
  [![][image-feat-mobile]][docs-feat-mobile]
311
348
 
312
- ### `9` [Mobile Device Adaptation][docs-feat-mobile]
349
+ ### `11` [Mobile Device Adaptation][docs-feat-mobile]
313
350
 
314
351
  We have carried out a series of optimization designs for mobile devices to enhance the user's mobile experience. Currently, we are iterating on the mobile user experience to achieve smoother and more intuitive interactions. If you have any suggestions or ideas, we welcome you to provide feedback through GitHub Issues or Pull Requests.
315
352
 
@@ -321,7 +358,7 @@ We have carried out a series of optimization designs for mobile devices to enhan
321
358
 
322
359
  [![][image-feat-theme]][docs-feat-theme]
323
360
 
324
- ### `10` [Custom Themes][docs-feat-theme]
361
+ ### `12` [Custom Themes][docs-feat-theme]
325
362
 
326
363
  As a design-engineering-oriented application, LobeChat places great emphasis on users' personalized experiences,
327
364
  hence introducing flexible and diverse theme modes, including a light mode for daytime and a dark mode for nighttime.
@@ -629,7 +666,7 @@ Every bit counts and your one-time donation sparkles in our galaxy of support! Y
629
666
  </details>
630
667
 
631
668
  Copyright © 2024 [LobeHub][profile-link]. <br />
632
- This project is [MIT](./LICENSE) licensed.
669
+ This project is [Apache 2.0](./LICENSE) licensed.
633
670
 
634
671
  <!-- LINK GROUP -->
635
672
 
@@ -665,6 +702,8 @@ This project is [MIT](./LICENSE) licensed.
665
702
  [docs-docker]: https://lobehub.com/docs/self-hosting/platform/docker
666
703
  [docs-env-var]: https://lobehub.com/docs/self-hosting/environment-variables
667
704
  [docs-feat-agent]: https://lobehub.com/docs/usage/features/agent-market
705
+ [docs-feat-auth]: https://lobehub.com/docs/usage/features/auth
706
+ [docs-feat-database]: https://lobehub.com/docs/usage/features/database
668
707
  [docs-feat-local]: https://lobehub.com/docs/usage/features/local-llm
669
708
  [docs-feat-mobile]: https://lobehub.com/docs/usage/features/mobile
670
709
  [docs-feat-plugin]: https://lobehub.com/docs/usage/features/plugin-system
@@ -706,6 +745,8 @@ This project is [MIT](./LICENSE) licensed.
706
745
  [github-trending-url]: https://trendshift.io/repositories/2256
707
746
  [image-banner]: https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f
708
747
  [image-feat-agent]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png
748
+ [image-feat-auth]: https://github.com/lobehub/lobe-chat/assets/17870709/8ce70e15-40df-451e-b700-66090fe5b8c2
749
+ [image-feat-database]: https://github.com/lobehub/lobe-chat/assets/17870709/acf39ea2-74b3-46ae-8eb8-54a51f7f1d36
709
750
  [image-feat-local]: https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c
710
751
  [image-feat-mobile]: https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp
711
752
  [image-feat-plugin]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png
package/README.zh-CN.md CHANGED
@@ -58,9 +58,11 @@
58
58
  - [`5` Text to Image 文生图](#5-text-to-image-文生图)
59
59
  - [`6` 插件系统 (Function Calling)](#6-插件系统-function-calling)
60
60
  - [`7` 助手市场 (GPTs)](#7-助手市场-gpts)
61
- - [`8` 渐进式 Web 应用 (PWA)](#8-渐进式-web-应用-pwa)
62
- - [`9` 移动设备适配](#9-移动设备适配)
63
- - [`10` 自定义主题](#10-自定义主题)
61
+ - [`8` 支持本地 / 远程数据库](#8-支持本地--远程数据库)
62
+ - [`9` 支持多用户管理](#9-支持多用户管理)
63
+ - [`10` 渐进式 Web 应用 (PWA)](#10-渐进式-web-应用-pwa)
64
+ - [`11` 移动设备适配](#11-移动设备适配)
65
+ - [`12` 自定义主题](#12-自定义主题)
64
66
  - [更多特性](#更多特性)
65
67
  - [⚡️ 性能测试](#️-性能测试)
66
68
  - [🛳 开箱即用](#-开箱即用)
@@ -268,9 +270,44 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
268
270
 
269
271
  </div>
270
272
 
273
+ [![][image-feat-database]][docs-feat-database]
274
+
275
+ ### `8` [支持本地 / 远程数据库][docs-feat-database]
276
+
277
+ LobeChat 支持同时使用服务端数据库和本地数据库。根据您的需求,您可以选择合适的部署方案:
278
+
279
+ - 本地数据库:适合希望对数据有更多掌控感和隐私保护的用户。LobeChat 采用了 CRDT (Conflict-Free Replicated Data Type) 技术,实现了多端同步功能。这是一项实验性功能,旨在提供无缝的数据同步体验。
280
+ - 服务端数据库:适合希望更便捷使用体验的用户。LobeChat 支持 PostgreSQL 作为服务端数据库。关于如何配置服务端数据库的详细文档,请前往 [配置服务端数据库](https://lobehub.com/zh/docs/self-hosting/advanced/server-database)。
281
+
282
+ 无论您选择哪种数据库,LobeChat 都能为您提供卓越的用户体验。
283
+
284
+ <div align="right">
285
+
286
+ [![][back-to-top]](#readme-top)
287
+
288
+ </div>
289
+
290
+ [![][image-feat-auth]][docs-feat-auth]
291
+
292
+ ### `9` [支持多用户管理][docs-feat-auth]
293
+
294
+ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理方案,以满足不同需求:
295
+
296
+ - **next-auth**:LobeChat 集成了 `next-auth`,一个灵活且强大的身份验证库,支持多种身份验证方式,包括 OAuth、邮件登录、凭证登录等。通过 `next-auth`,您可以轻松实现用户的注册、登录、会话管理以及社交登录等功能,确保用户数据的安全性和隐私性。
297
+
298
+ - **Clerk**:对于需要更高级用户管理功能的用户,LobeChat 还支持 `Clerk`,一个现代化的用户管理平台。`Clerk` 提供了更丰富的功能,如多因素认证 (MFA)、白名单、用户管理、登录活动监控等。通过 `Clerk`,您可以获得更高的安全性和灵活性,轻松应对生产级的用户管理需求。
299
+
300
+ 您可以根据自己的需求,选择合适的用户管理方案。
301
+
302
+ <div align="right">
303
+
304
+ [![][back-to-top]](#readme-top)
305
+
306
+ </div>
307
+
271
308
  [![][image-feat-pwa]][docs-feat-pwa]
272
309
 
273
- ### `8` [渐进式 Web 应用 (PWA)][docs-feat-pwa]
310
+ ### `10` [渐进式 Web 应用 (PWA)][docs-feat-pwa]
274
311
 
275
312
  我们深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,
276
313
  这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。
@@ -293,7 +330,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
293
330
 
294
331
  [![][image-feat-mobile]][docs-feat-mobile]
295
332
 
296
- ### `9` [移动设备适配][docs-feat-mobile]
333
+ ### `11` [移动设备适配][docs-feat-mobile]
297
334
 
298
335
  针对移动设备进行了一系列的优化设计,以提升用户的移动体验。目前,我们正在对移动端的用户体验进行版本迭代,以实现更加流畅和直观的交互。如果您有任何建议或想法,我们非常欢迎您通过 GitHub Issues 或者 Pull Requests 提供反馈。
299
336
 
@@ -305,7 +342,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
305
342
 
306
343
  [![][image-feat-theme]][docs-feat-theme]
307
344
 
308
- ### `10` [自定义主题][docs-feat-theme]
345
+ ### `12` [自定义主题][docs-feat-theme]
309
346
 
310
347
  作为设计工程师出身,LobeChat 在界面设计上充分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
311
348
  除了主题模式的切换,还提供了一系列的颜色定制选项,允许用户根据自己的喜好来调整应用的主题色彩。无论是想要沉稳的深蓝,还是希望活泼的桃粉,或者是专业的灰白,用户都能够在 LobeChat 中找到匹配自己风格的颜色选择。
@@ -650,7 +687,7 @@ $ pnpm run dev
650
687
  </details>
651
688
 
652
689
  Copyright © 2023 [LobeHub][profile-link]. <br />
653
- This project is [MIT](./LICENSE) licensed.
690
+ This project is [Apache 2.0](./LICENSE) licensed.
654
691
 
655
692
  <!-- LINK GROUP -->
656
693
 
@@ -685,6 +722,8 @@ This project is [MIT](./LICENSE) licensed.
685
722
  [docs-docker]: https://lobehub.com/docs/self-hosting/platform/docker
686
723
  [docs-env-var]: https://lobehub.com/docs/self-hosting/environment-variables
687
724
  [docs-feat-agent]: https://lobehub.com/docs/usage/features/agent-market
725
+ [docs-feat-auth]: https://lobehub.com/docs/usage/features/auth
726
+ [docs-feat-database]: https://lobehub.com/docs/usage/features/database
688
727
  [docs-feat-local]: https://lobehub.com/docs/usage/features/local-llm
689
728
  [docs-feat-mobile]: https://lobehub.com/docs/usage/features/mobile
690
729
  [docs-feat-plugin]: https://lobehub.com/docs/usage/features/plugin-system
@@ -727,6 +766,8 @@ This project is [MIT](./LICENSE) licensed.
727
766
  [github-trending-url]: https://trendshift.io/repositories/2256
728
767
  [image-banner]: https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f
729
768
  [image-feat-agent]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png
769
+ [image-feat-auth]: https://github.com/lobehub/lobe-chat/assets/17870709/8ce70e15-40df-451e-b700-66090fe5b8c2
770
+ [image-feat-database]: https://github.com/lobehub/lobe-chat/assets/17870709/acf39ea2-74b3-46ae-8eb8-54a51f7f1d36
730
771
  [image-feat-local]: https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c
731
772
  [image-feat-mobile]: https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp
732
773
  [image-feat-plugin]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png
@@ -27,19 +27,21 @@ All features are controlled by the `FEATURE_FLAGS` variable as the sole configur
27
27
  You can achieve various feature combinations using the above configuration syntax. All feature flags are Boolean values, enabled with `+` and disabled with `-`.
28
28
 
29
29
  <Callout type={'tip'}>
30
- Attention: Unlike the `OPENAI_MODEL_LIST` variable, the `FEATURE_FLAGS` variable does not support the `all` keyword. You need to manually control all feature flags (otherwise, they will adopt their default values).
30
+ Attention: Unlike the `OPENAI_MODEL_LIST` variable, the `FEATURE_FLAGS` variable does not support
31
+ the `all` keyword. You need to manually control all feature flags (otherwise, they will adopt
32
+ their default values).
31
33
  </Callout>
32
34
 
33
- | Configuration Item | Description | Default Value |
34
- | ------------------------- | --------------------------------- | ------------- |
35
- | `webrtc_sync` | Enables WebRTC sync functionality.| Enabled |
36
- | `language_model_settings` | Enables language model settings. | Enabled |
37
- | `openai_api_key` | Allows users to customize the OpenAI API Key. | Enabled |
35
+ | Configuration Item | Description | Default Value |
36
+ | ------------------------- | ----------------------------------------------- | ------------- |
37
+ | `webrtc_sync` | Enables WebRTC sync functionality. | Disabled |
38
+ | `language_model_settings` | Enables language model settings. | Enabled |
39
+ | `openai_api_key` | Allows users to customize the OpenAI API Key. | Enabled |
38
40
  | `openai_proxy_url` | Allows users to customize the OpenAI proxy URL. | Enabled |
39
- | `create_session` | Allows users to create sessions. | Enabled |
40
- | `edit_agent` | Allows users to edit assistants. | Enabled |
41
- | `dalle` | Enables the DALL-E functionality. | Enabled |
42
- | `check_updates` | Allows checking for updates. | Enabled |
43
- | `welcome_suggest` | Displays welcome suggestions. | Enabled |
41
+ | `create_session` | Allows users to create sessions. | Enabled |
42
+ | `edit_agent` | Allows users to edit assistants. | Enabled |
43
+ | `dalle` | Enables the DALL-E functionality. | Enabled |
44
+ | `check_updates` | Allows checking for updates. | Enabled |
45
+ | `welcome_suggest` | Displays welcome suggestions. | Enabled |
44
46
 
45
47
  You can always check the [featureFlags](https://github.com/lobehub/lobe-chat/blob/main/src/config/featureFlags/schema.ts) to get the latest list of feature flags.
@@ -29,7 +29,7 @@ tags:
29
29
 
30
30
  | 配置项 | 解释 | 默认值 |
31
31
  | ------------------------- | -------------------------------- | ------ |
32
- | `webrtc_sync` | 启用 WebRTC 同步功能。 | 开启 |
32
+ | `webrtc_sync` | 启用 WebRTC 同步功能。 | 关闭 |
33
33
  | `language_model_settings` | 启用语言模型设置。 | 开启 |
34
34
  | `openai_api_key` | 允许用户自定义 OpenAI API Key。 | 开启 |
35
35
  | `openai_proxy_url` | 允许用户自定义 OpenAI 代理 URL。 | 开启 |