@lobehub/chat 1.91.0 → 1.91.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.
Files changed (276) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/changelog/v1.json +9 -0
  3. package/docs/changelog/2023-09-09-plugin-system.mdx +2 -3
  4. package/docs/changelog/2023-11-14-gpt4-vision.mdx +4 -6
  5. package/docs/changelog/2023-11-19-tts-stt.mdx +2 -3
  6. package/docs/changelog/2023-12-22-dalle-3.mdx +2 -5
  7. package/docs/changelog/2023-12-22-dalle-3.zh-CN.mdx +2 -2
  8. package/docs/changelog/2024-02-08-sso-oauth.mdx +2 -2
  9. package/docs/changelog/2024-06-19-lobe-chat-v1.mdx +2 -3
  10. package/docs/changelog/2024-06-19-lobe-chat-v1.zh-CN.mdx +2 -2
  11. package/docs/changelog/2024-07-19-gpt-4o-mini.mdx +2 -3
  12. package/docs/changelog/2024-07-19-gpt-4o-mini.zh-CN.mdx +2 -2
  13. package/docs/changelog/2024-08-02-lobe-chat-database-docker.mdx +2 -3
  14. package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.mdx +4 -5
  15. package/docs/changelog/2024-09-13-openai-o1-models.mdx +2 -2
  16. package/docs/changelog/2024-09-20-artifacts.mdx +2 -3
  17. package/docs/changelog/2024-09-20-artifacts.zh-CN.mdx +2 -2
  18. package/docs/changelog/2024-10-27-pin-assistant.mdx +2 -3
  19. package/docs/changelog/2024-11-06-share-text-json.mdx +2 -4
  20. package/docs/changelog/2024-11-06-share-text-json.zh-CN.mdx +2 -2
  21. package/docs/changelog/2024-11-25-november-providers.mdx +2 -2
  22. package/docs/changelog/2024-11-27-forkable-chat.mdx +2 -2
  23. package/docs/changelog/2025-01-03-user-profile.mdx +2 -2
  24. package/docs/changelog/2025-01-22-new-ai-provider.mdx +2 -2
  25. package/docs/changelog/2025-02-02-deepseek-r1.mdx +4 -4
  26. package/docs/development/basic/add-new-authentication-providers.zh-CN.mdx +1 -2
  27. package/docs/development/basic/chat-api.mdx +2 -4
  28. package/docs/development/basic/chat-api.zh-CN.mdx +2 -4
  29. package/docs/development/internationalization/internationalization-implementation.mdx +10 -10
  30. package/docs/development/internationalization/internationalization-implementation.zh-CN.mdx +10 -10
  31. package/docs/self-hosting/advanced/analytics.mdx +2 -2
  32. package/docs/self-hosting/advanced/auth/clerk.mdx +2 -2
  33. package/docs/self-hosting/advanced/auth/next-auth/auth0.mdx +2 -3
  34. package/docs/self-hosting/advanced/auth/next-auth/authelia.mdx +2 -3
  35. package/docs/self-hosting/advanced/auth/next-auth/authentik.mdx +2 -3
  36. package/docs/self-hosting/advanced/auth/next-auth/casdoor.mdx +4 -7
  37. package/docs/self-hosting/advanced/auth/next-auth/casdoor.zh-CN.mdx +0 -3
  38. package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.mdx +2 -3
  39. package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.zh-CN.mdx +2 -2
  40. package/docs/self-hosting/advanced/auth/next-auth/github.mdx +2 -3
  41. package/docs/self-hosting/advanced/auth/next-auth/keycloak.mdx +12 -6
  42. package/docs/self-hosting/advanced/auth/next-auth/keycloak.zh-CN.mdx +5 -1
  43. package/docs/self-hosting/advanced/auth/next-auth/logto.mdx +8 -14
  44. package/docs/self-hosting/advanced/auth/next-auth/logto.zh-CN.mdx +6 -12
  45. package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.mdx +2 -3
  46. package/docs/self-hosting/advanced/auth/next-auth/wechat.mdx +2 -2
  47. package/docs/self-hosting/advanced/auth/next-auth/zitadel.mdx +2 -3
  48. package/docs/self-hosting/advanced/auth.mdx +2 -3
  49. package/docs/self-hosting/advanced/desktop.mdx +2 -1
  50. package/docs/self-hosting/advanced/desktop.zh-CN.mdx +1 -3
  51. package/docs/self-hosting/advanced/feature-flags.mdx +2 -3
  52. package/docs/self-hosting/advanced/knowledge-base.mdx +4 -3
  53. package/docs/self-hosting/advanced/model-list.mdx +11 -10
  54. package/docs/self-hosting/advanced/model-list.zh-CN.mdx +10 -9
  55. package/docs/self-hosting/advanced/observability/langfuse.mdx +2 -3
  56. package/docs/self-hosting/advanced/online-search.mdx +11 -10
  57. package/docs/self-hosting/advanced/online-search.zh-CN.mdx +7 -7
  58. package/docs/self-hosting/advanced/s3/tencent-cloud.mdx +2 -2
  59. package/docs/self-hosting/advanced/settings-url-share.mdx +2 -3
  60. package/docs/self-hosting/advanced/upstream-sync.mdx +2 -3
  61. package/docs/self-hosting/advanced/webrtc.mdx +2 -2
  62. package/docs/self-hosting/environment-variables/analytics.mdx +2 -3
  63. package/docs/self-hosting/environment-variables/auth.mdx +2 -3
  64. package/docs/self-hosting/environment-variables/basic.mdx +4 -5
  65. package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +2 -2
  66. package/docs/self-hosting/environment-variables/model-provider.mdx +2 -3
  67. package/docs/self-hosting/environment-variables/s3.mdx +3 -5
  68. package/docs/self-hosting/environment-variables.mdx +2 -2
  69. package/docs/self-hosting/examples/azure-openai.mdx +2 -2
  70. package/docs/self-hosting/examples/ollama.mdx +2 -3
  71. package/docs/self-hosting/faq/no-v1-suffix.mdx +4 -4
  72. package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.mdx +2 -3
  73. package/docs/self-hosting/platform/alibaba-cloud.mdx +2 -3
  74. package/docs/self-hosting/platform/btpanel.mdx +5 -5
  75. package/docs/self-hosting/platform/btpanel.zh-CN.mdx +4 -3
  76. package/docs/self-hosting/platform/docker-compose.mdx +2 -3
  77. package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +0 -2
  78. package/docs/self-hosting/platform/docker.mdx +2 -2
  79. package/docs/self-hosting/platform/netlify.mdx +2 -4
  80. package/docs/self-hosting/platform/netlify.zh-CN.mdx +2 -2
  81. package/docs/self-hosting/platform/railway.mdx +2 -3
  82. package/docs/self-hosting/platform/repocloud.mdx +2 -3
  83. package/docs/self-hosting/platform/sealos.mdx +2 -2
  84. package/docs/self-hosting/platform/tencentcloud-lighthouse.mdx +2 -3
  85. package/docs/self-hosting/platform/vercel.mdx +2 -3
  86. package/docs/self-hosting/platform/zeabur.mdx +2 -2
  87. package/docs/self-hosting/server-database/docker-compose.mdx +65 -44
  88. package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +48 -55
  89. package/docs/self-hosting/server-database/docker.mdx +2 -2
  90. package/docs/self-hosting/server-database/docker.zh-CN.mdx +2 -2
  91. package/docs/self-hosting/server-database/dokploy.mdx +4 -5
  92. package/docs/self-hosting/server-database/dokploy.zh-CN.mdx +137 -138
  93. package/docs/self-hosting/server-database/netlify.mdx +2 -2
  94. package/docs/self-hosting/server-database/netlify.zh-CN.mdx +2 -2
  95. package/docs/self-hosting/server-database/railway.mdx +2 -2
  96. package/docs/self-hosting/server-database/repocloud.mdx +2 -2
  97. package/docs/self-hosting/server-database/sealos.mdx +4 -5
  98. package/docs/self-hosting/server-database/sealos.zh-CN.mdx +18 -20
  99. package/docs/self-hosting/server-database/vercel.mdx +5 -3
  100. package/docs/self-hosting/server-database/vercel.zh-CN.mdx +2 -2
  101. package/docs/self-hosting/server-database/zeabur.mdx +2 -2
  102. package/docs/self-hosting/server-database.mdx +1 -1
  103. package/docs/self-hosting/server-database.zh-CN.mdx +2 -1
  104. package/docs/self-hosting/start.mdx +2 -2
  105. package/docs/self-hosting/start.zh-CN.mdx +2 -2
  106. package/docs/usage/agents/agent-organization.mdx +2 -2
  107. package/docs/usage/agents/concepts.mdx +4 -5
  108. package/docs/usage/agents/concepts.zh-CN.mdx +2 -2
  109. package/docs/usage/agents/custom-agent.mdx +3 -4
  110. package/docs/usage/agents/custom-agent.zh-CN.mdx +1 -1
  111. package/docs/usage/agents/model.mdx +5 -5
  112. package/docs/usage/agents/model.zh-CN.mdx +3 -5
  113. package/docs/usage/agents/prompt.mdx +4 -5
  114. package/docs/usage/agents/topics.mdx +3 -4
  115. package/docs/usage/agents/topics.zh-CN.mdx +1 -1
  116. package/docs/usage/features/agent-market.mdx +3 -11
  117. package/docs/usage/features/agent-market.zh-CN.mdx +2 -7
  118. package/docs/usage/features/artifacts.mdx +2 -2
  119. package/docs/usage/features/auth.mdx +2 -3
  120. package/docs/usage/features/cot.mdx +2 -2
  121. package/docs/usage/features/database.mdx +2 -2
  122. package/docs/usage/features/knowledge-base.mdx +4 -3
  123. package/docs/usage/features/knowledge-base.zh-CN.mdx +2 -1
  124. package/docs/usage/features/local-llm.mdx +2 -3
  125. package/docs/usage/features/mobile.mdx +2 -2
  126. package/docs/usage/features/more.mdx +2 -3
  127. package/docs/usage/features/multi-ai-providers.mdx +2 -3
  128. package/docs/usage/features/plugin-system.mdx +3 -11
  129. package/docs/usage/features/plugin-system.zh-CN.mdx +1 -8
  130. package/docs/usage/features/pwa.mdx +4 -4
  131. package/docs/usage/features/pwa.zh-CN.mdx +2 -1
  132. package/docs/usage/features/text-to-image.mdx +3 -11
  133. package/docs/usage/features/text-to-image.zh-CN.mdx +3 -10
  134. package/docs/usage/features/theme.mdx +2 -3
  135. package/docs/usage/features/tts.mdx +3 -11
  136. package/docs/usage/features/tts.zh-CN.mdx +1 -8
  137. package/docs/usage/features/vision.mdx +3 -11
  138. package/docs/usage/features/vision.zh-CN.mdx +1 -8
  139. package/docs/usage/foundation/basic.mdx +2 -3
  140. package/docs/usage/foundation/share.mdx +2 -3
  141. package/docs/usage/foundation/text2image.mdx +2 -2
  142. package/docs/usage/foundation/translate.mdx +2 -2
  143. package/docs/usage/foundation/tts-stt.mdx +2 -2
  144. package/docs/usage/foundation/vision.mdx +2 -3
  145. package/docs/usage/plugins/basic-usage.mdx +2 -3
  146. package/docs/usage/plugins/custom-plugin.mdx +2 -2
  147. package/docs/usage/plugins/development.mdx +2 -4
  148. package/docs/usage/plugins/store.mdx +2 -2
  149. package/docs/usage/providers/ai21.mdx +2 -2
  150. package/docs/usage/providers/anthropic.mdx +2 -3
  151. package/docs/usage/providers/anthropic.zh-CN.mdx +2 -2
  152. package/docs/usage/providers/azure.mdx +2 -3
  153. package/docs/usage/providers/azureai.mdx +4 -2
  154. package/docs/usage/providers/azureai.zh-CN.mdx +2 -1
  155. package/docs/usage/providers/baichuan.mdx +2 -3
  156. package/docs/usage/providers/bedrock.mdx +2 -3
  157. package/docs/usage/providers/cloudflare.mdx +3 -2
  158. package/docs/usage/providers/deepseek.mdx +2 -2
  159. package/docs/usage/providers/fireworksai.mdx +2 -2
  160. package/docs/usage/providers/giteeai.mdx +2 -2
  161. package/docs/usage/providers/github.mdx +1 -1
  162. package/docs/usage/providers/github.zh-CN.mdx +1 -1
  163. package/docs/usage/providers/google.mdx +2 -3
  164. package/docs/usage/providers/groq.mdx +2 -2
  165. package/docs/usage/providers/hunyuan.mdx +2 -2
  166. package/docs/usage/providers/infiniai.zh-CN.mdx +3 -1
  167. package/docs/usage/providers/internlm.mdx +2 -2
  168. package/docs/usage/providers/jina.mdx +4 -3
  169. package/docs/usage/providers/jina.zh-CN.mdx +2 -2
  170. package/docs/usage/providers/lmstudio.mdx +2 -2
  171. package/docs/usage/providers/lmstudio.zh-CN.mdx +2 -4
  172. package/docs/usage/providers/minimax.mdx +2 -3
  173. package/docs/usage/providers/minimax.zh-CN.mdx +2 -2
  174. package/docs/usage/providers/mistral.mdx +2 -3
  175. package/docs/usage/providers/modelscope.mdx +4 -0
  176. package/docs/usage/providers/modelscope.zh-CN.mdx +4 -0
  177. package/docs/usage/providers/moonshot.mdx +2 -3
  178. package/docs/usage/providers/novita.mdx +2 -3
  179. package/docs/usage/providers/novita.zh-CN.mdx +2 -2
  180. package/docs/usage/providers/nvidia.mdx +3 -2
  181. package/docs/usage/providers/ollama/gemma.mdx +2 -3
  182. package/docs/usage/providers/ollama/gemma.zh-CN.mdx +2 -2
  183. package/docs/usage/providers/ollama.mdx +2 -2
  184. package/docs/usage/providers/openai.mdx +5 -5
  185. package/docs/usage/providers/openai.zh-CN.mdx +3 -3
  186. package/docs/usage/providers/openrouter.mdx +2 -3
  187. package/docs/usage/providers/perplexity.mdx +2 -2
  188. package/docs/usage/providers/ppio.mdx +5 -6
  189. package/docs/usage/providers/ppio.zh-CN.mdx +6 -6
  190. package/docs/usage/providers/qiniu.mdx +6 -6
  191. package/docs/usage/providers/qiniu.zh-CN.mdx +2 -1
  192. package/docs/usage/providers/qwen.mdx +2 -4
  193. package/docs/usage/providers/sambanova.mdx +2 -1
  194. package/docs/usage/providers/sensenova.mdx +2 -2
  195. package/docs/usage/providers/siliconcloud.mdx +2 -2
  196. package/docs/usage/providers/stepfun.mdx +2 -3
  197. package/docs/usage/providers/taichu.mdx +2 -3
  198. package/docs/usage/providers/togetherai.mdx +2 -2
  199. package/docs/usage/providers/vllm.mdx +15 -12
  200. package/docs/usage/providers/vllm.zh-CN.mdx +9 -7
  201. package/docs/usage/providers/volcengine.mdx +16 -14
  202. package/docs/usage/providers/wenxin.mdx +2 -2
  203. package/docs/usage/providers/xai.mdx +2 -2
  204. package/docs/usage/providers/zeroone.mdx +2 -3
  205. package/docs/usage/providers/zeroone.zh-CN.mdx +2 -2
  206. package/docs/usage/providers/zhipu.mdx +2 -3
  207. package/docs/usage/providers/zhipu.zh-CN.mdx +1 -1
  208. package/docs/usage/providers.mdx +2 -3
  209. package/docs/usage/start.mdx +2 -3
  210. package/docs/usage/tools-calling/anthropic.mdx +2 -2
  211. package/docs/usage/tools-calling/anthropic.zh-CN.mdx +2 -2
  212. package/docs/usage/tools-calling/google.mdx +2 -2
  213. package/docs/usage/tools-calling/google.zh-CN.mdx +4 -4
  214. package/docs/usage/tools-calling/groq.zh-CN.mdx +2 -2
  215. package/docs/usage/tools-calling/openai.mdx +2 -2
  216. package/docs/usage/tools-calling/openai.zh-CN.mdx +2 -2
  217. package/package.json +1 -1
  218. package/src/app/(backend)/webapi/user/avatar/[id]/[image]/route.ts +1 -1
  219. package/src/app/[variants]/(main)/repos/[id]/_layout/Mobile.tsx +7 -7
  220. package/src/config/aiModels/deepseek.ts +1 -0
  221. package/src/config/aiModels/hunyuan.ts +1 -0
  222. package/src/config/aiModels/mistral.ts +1 -2
  223. package/src/config/aiModels/novita.ts +23 -22
  224. package/src/config/aiModels/openrouter.ts +1 -0
  225. package/src/config/aiModels/qwen.ts +11 -11
  226. package/src/config/aiModels/siliconcloud.ts +7 -6
  227. package/src/config/aiModels/vertexai.ts +2 -2
  228. package/src/config/aiModels/wenxin.ts +1 -2
  229. package/src/config/modelProviders/baichuan.ts +3 -0
  230. package/src/config/modelProviders/fireworksai.ts +3 -0
  231. package/src/config/modelProviders/giteeai.ts +3 -0
  232. package/src/config/modelProviders/github.ts +1 -2
  233. package/src/config/modelProviders/groq.ts +0 -3
  234. package/src/config/modelProviders/hunyuan.ts +3 -0
  235. package/src/config/modelProviders/infiniai.ts +0 -3
  236. package/src/config/modelProviders/internlm.ts +3 -0
  237. package/src/config/modelProviders/minimax.ts +3 -4
  238. package/src/config/modelProviders/moonshot.ts +0 -7
  239. package/src/config/modelProviders/novita.ts +3 -0
  240. package/src/config/modelProviders/openrouter.ts +0 -4
  241. package/src/config/modelProviders/perplexity.ts +0 -3
  242. package/src/config/modelProviders/qiniu.ts +0 -3
  243. package/src/config/modelProviders/qwen.ts +0 -3
  244. package/src/config/modelProviders/sensenova.ts +3 -0
  245. package/src/config/modelProviders/siliconcloud.ts +0 -3
  246. package/src/config/modelProviders/spark.ts +0 -5
  247. package/src/config/modelProviders/stepfun.ts +3 -6
  248. package/src/config/modelProviders/taichu.ts +3 -0
  249. package/src/config/modelProviders/tencentcloud.ts +3 -0
  250. package/src/config/modelProviders/togetherai.ts +3 -0
  251. package/src/config/modelProviders/upstage.ts +3 -0
  252. package/src/config/modelProviders/wenxin.ts +3 -4
  253. package/src/config/modelProviders/xai.ts +0 -3
  254. package/src/config/modelProviders/zhipu.ts +3 -0
  255. package/src/database/migrations/meta/0014_snapshot.json +182 -539
  256. package/src/database/migrations/meta/0016_snapshot.json +182 -539
  257. package/src/database/repositories/dataImporter/__tests__/fixtures/with-client-id.json +13 -58
  258. package/src/features/ChatInput/ActionBar/Model/ControlsForm.tsx +1 -8
  259. package/src/features/ChatInput/ActionBar/Model/index.tsx +8 -16
  260. package/src/features/ChatInput/ActionBar/Search/Controls.tsx +4 -12
  261. package/src/features/ChatInput/ActionBar/Search/FCSearchModel.tsx +1 -7
  262. package/src/features/ChatInput/ActionBar/Search/index.tsx +2 -4
  263. package/src/features/ModelSwitchPanel/index.tsx +1 -4
  264. package/src/libs/model-runtime/anthropic/index.test.ts +4 -2
  265. package/src/libs/model-runtime/utils/streams/anthropic.ts +12 -11
  266. package/src/libs/model-runtime/utils/streams/openai.ts +6 -4
  267. package/src/libs/model-runtime/utils/streams/protocol.ts +1 -1
  268. package/src/libs/model-runtime/utils/streams/spark.test.ts +1 -1
  269. package/src/libs/model-runtime/utils/streams/spark.ts +1 -2
  270. package/src/middleware.ts +1 -1
  271. package/src/server/services/user/index.ts +3 -4
  272. package/src/services/__tests__/assistant.test.ts +4 -6
  273. package/src/services/__tests__/tool.test.ts +3 -1
  274. package/src/store/user/slices/auth/selectors.ts +1 -1
  275. package/src/store/user/slices/common/action.test.ts +1 -1
  276. package/src/tools/web-browsing/index.ts +1 -7
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: Configuring Keycloak Authentication Service in LobeChat
3
3
  description: >-
4
- Learn how to configure the Keycloak authentication service in LobeChat,
5
- including deployment, creation, permission settings, and environment
6
- variables.
4
+ Learn how to configure the Keycloak authentication service in LobeChat, including deployment, creation, permission settings, and environment variables.
5
+
7
6
  tags:
8
7
  - Keycloak Authentication
9
8
  - Environment Variable Configuration
@@ -16,7 +15,8 @@ tags:
16
15
  [Keycloak](https://www.keycloak.org/) is an open-source identity and access management solution that provides single sign-on, identity brokering, and social login features, suitable for modern applications and services.
17
16
 
18
17
  <Callout type={'tip'}>
19
- If you want to privately deploy Keycloak, we recommend using it together with LobeChat via Docker Compose deployment for easier service management.
18
+ If you want to privately deploy Keycloak, we recommend using it together with LobeChat via Docker
19
+ Compose deployment for easier service management.
20
20
  </Callout>
21
21
 
22
22
  ## Keycloak Configuration Process
@@ -37,10 +37,12 @@ If you deploy using a public network, this guide assumes:
37
37
  Access your privately deployed Keycloak admin console (default is `http://localhost:8080/admin`) and log in with the administrator account.
38
38
 
39
39
  1. Create a new Realm
40
+
40
41
  - Click the dropdown menu in the upper left corner and select "Create Realm"
41
42
  - Enter a name, such as "LobeChat", then click "Create"
42
43
 
43
44
  2. Create a Client
45
+
44
46
  - Select "Clients" from the left menu, then click "Create client"
45
47
  - Fill in the following information:
46
48
  - Client ID: `lobechat`
@@ -65,6 +67,7 @@ If you deploy using a public network, this guide assumes:
65
67
  ### Configure Users and Roles (Optional)
66
68
 
67
69
  1. Create Users
70
+
68
71
  - Select "Users" from the left menu, then click "Add user"
69
72
  - Fill in the user information and click "Create"
70
73
  - On the user details page, switch to the "Credentials" tab
@@ -87,7 +90,8 @@ If you deploy using a public network, this guide assumes:
87
90
  4. Click "Save" to save the settings
88
91
 
89
92
  <Callout type={'warning'}>
90
- If registration is not disabled, anyone might be able to register and log in to your application. Please configure according to your security requirements.
93
+ If registration is not disabled, anyone might be able to register and log in to your application.
94
+ Please configure according to your security requirements.
91
95
  </Callout>
92
96
 
93
97
  ### Configure Environment Variables
@@ -116,4 +120,6 @@ If you deploy using a public network, this guide assumes:
116
120
  </Callout>
117
121
  </Steps>
118
122
 
119
- <Callout type={'info'}>After successful deployment, users will be able to authenticate through Keycloak and use LobeChat.</Callout>
123
+ <Callout type={'info'}>
124
+ After successful deployment, users will be able to authenticate through Keycloak and use LobeChat.
125
+ </Callout>
@@ -13,7 +13,8 @@ tags:
13
13
  [Keycloak](https://www.keycloak.org/) 是一个开源的身份和访问管理解决方案,提供单点登录、身份代理和社交登录等功能,适用于现代应用和服务。
14
14
 
15
15
  <Callout type={'tip'}>
16
- 若你想要私有部署 Keycloak,我们建议你将之与 LobeChat 一同使用 Docker Compose 部署,这样可以更方便地管理服务。
16
+ 若你想要私有部署 Keycloak,我们建议你将之与 LobeChat 一同使用 Docker Compose
17
+ 部署,这样可以更方便地管理服务。
17
18
  </Callout>
18
19
 
19
20
  ## Keycloak 配置流程
@@ -34,10 +35,12 @@ tags:
34
35
  访问你私有部署的 Keycloak 管理控制台(默认为 `http://localhost:8080/admin`),使用管理员账号登录。
35
36
 
36
37
  1. 创建新领域(Realm)
38
+
37
39
  - 点击左上角的下拉菜单,选择 "Create Realm"
38
40
  - 输入名称,例如 "LobeChat",然后点击 "Create"
39
41
 
40
42
  2. 创建客户端(Client)
43
+
41
44
  - 在左侧菜单中选择 "Clients",然后点击 "Create client"
42
45
  - 填写以下信息:
43
46
  - Client ID: `lobechat`
@@ -62,6 +65,7 @@ tags:
62
65
  ### 配置用户和角色(可选)
63
66
 
64
67
  1. 创建用户
68
+
65
69
  - 在左侧菜单中选择 "Users",然后点击 "Add user"
66
70
  - 填写用户信息,点击 "Create"
67
71
  - 在用户详情页,切换到 "Credentials" 选项卡
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  title: Configuring Logto Authentication Service in LobeChat
3
3
  description: >-
4
- Learn how to configure Logto authentication service in LobeChat, including
5
- deployment, creation, setting permissions, and environment variables.
4
+ Learn how to configure Logto authentication service in LobeChat, including deployment, creation, setting permissions, and environment variables.
5
+
6
6
  tags:
7
7
  - Logto Authentication
8
8
  - Environment Variable Configuration
@@ -86,23 +86,17 @@ If you are using Logto Cloud, assume its endpoint domain is `https://example.log
86
86
 
87
87
  If you encounter issues during the Logto deployment process, refer to the following common problems:
88
88
 
89
- - `Only roles with the xxx attribute may create roles`:
90
- Check your database user's permissions and ensure that the user in your Logto database has the `admin` role to create roles.
89
+ - `Only roles with the xxx attribute may create roles`: Check your database user's permissions and ensure that the user in your Logto database has the `admin` role to create roles.
91
90
 
92
- - Error executing `logto db seed` on third-party databases like `Neon`:
93
- Try using the `logto db seed --encrypt-base-role` command.
91
+ - Error executing `logto db seed` on third-party databases like `Neon`: Try using the `logto db seed --encrypt-base-role` command.
94
92
 
95
- - Database seeding failed:
96
- Try skipping the seeding process with the `--skip-seed` parameter.
93
+ - Database seeding failed: Try skipping the seeding process with the `--skip-seed` parameter.
97
94
 
98
- - `Error: role xxx already exists`:
99
- Delete the existing role in the database.
95
+ - `Error: role xxx already exists`: Delete the existing role in the database.
100
96
 
101
- - Database migration failed after a version upgrade:
102
- Try using the command `npx @logto/cli db alteration deploy $version` (e.g., `npx @logto/cli db alteration deploy 1.22.0`).
97
+ - Database migration failed after a version upgrade: Try using the command `npx @logto/cli db alteration deploy $version` (e.g., `npx @logto/cli db alteration deploy 1.22.0`).
103
98
 
104
- - I am using Docker deployment and want a one-click upgrade:
105
- Execute the custom command in the container: `sh -c "npm run cli db seed -- --swe --encrypt-base-role" && npx @logto/cli db alteration deploy $version && npm start`
99
+ - I am using Docker deployment and want a one-click upgrade: Execute the custom command in the container: `sh -c "npm run cli db seed -- --swe --encrypt-base-role" && npx @logto/cli db alteration deploy $version && npm start`
106
100
 
107
101
  <Callout type={'info'}>
108
102
  After successful deployment, users will be able to authenticate via Logto and use LobeChat.
@@ -83,22 +83,16 @@ tags:
83
83
 
84
84
  若你在部署 Logto 过程中遇到问题,可以参考以下常见问题:
85
85
 
86
- - `Only roles with the xxx attribute may create roles`:
87
- 请检查你的数据库用户权限,确保你的 Logto 数据库中的用户具有 `admin` 角色,以便创建角色。
86
+ - `Only roles with the xxx attribute may create roles`:请检查你的数据库用户权限,确保你的 Logto 数据库中的用户具有 `admin` 角色,以便创建角色。
88
87
 
89
- - 在第三方数据库例如 `Neon` 上执行`logto db seed`出错:
90
- 尝试使用`logto db seed --encrypt-base-role`命令。
88
+ - 在第三方数据库例如 `Neon` 上执行`logto db seed`出错:尝试使用`logto db seed --encrypt-base-role`命令。
91
89
 
92
- - 数据库播种失败:
93
- 请尝试使用`--skip-seed`参数跳过播种。
90
+ - 数据库播种失败:请尝试使用`--skip-seed`参数跳过播种。
94
91
 
95
- - `Error: role xxx already exists`:
96
- 在数据库中删除已存在的角色即可。
92
+ - `Error: role xxx already exists`:在数据库中删除已存在的角色即可。
97
93
 
98
- - 版本升级后,数据库迁移失败:
99
- 请尝试使用` npx @logto/cli db alteration deploy $version`命令 (例如`npx @logto/cli db alteration deploy 1.22.0`)
94
+ - 版本升级后,数据库迁移失败:请尝试使用` npx @logto/cli db alteration deploy $version`命令 (例如`npx @logto/cli db alteration deploy 1.22.0`)
100
95
 
101
- - 我使用 docker 部署 希望一键升级:
102
- 在容器中执行自定义命令:`sh -c "npm run cli db seed -- --swe --encrypt-base-role" && npx @logto/cli db alteration deploy $version && npm start`
96
+ - 我使用 docker 部署 希望一键升级:在容器中执行自定义命令:`sh -c "npm run cli db seed -- --swe --encrypt-base-role" && npx @logto/cli db alteration deploy $version && npm start`
103
97
 
104
98
  <Callout type={'info'}>部署成功后,用户将可以通过 Logto 身份认证并使用 LobeChat。</Callout>
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: Configuration of Microsoft Entra ID Authentication Service for LobeChat
3
3
  description: >-
4
- Learn how to configure Microsoft Entra ID Authentication Service for LobeChat,
5
- create applications, add users, and set up environment variables for seamless
6
- integration.
4
+ Learn how to configure Microsoft Entra ID Authentication Service for LobeChat, create applications, add users, and set up environment variables for seamless integration.
5
+
7
6
  tags:
8
7
  - Microsoft Entra ID
9
8
  - Authentication Service
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  title: Configure Wechat Authentication Service in LobeChat
3
3
  description: >-
4
- Learn how to configure Wechat authentication service in LobeChat, including
5
- creating a new Wechat App, setting permissions, and environment variables.
4
+ Learn how to configure Wechat authentication service in LobeChat, including creating a new Wechat App, setting permissions, and environment variables.
5
+
6
6
  tags:
7
7
  - Wechat Authentication
8
8
  - Wechat App
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: Configure ZITADEL Authentication Service for LobeChat
3
3
  description: >-
4
- Learn how to configure ZITADEL Authentication Service for LobeChat deployment,
5
- including creating ZITADEL applications, setting up environment variables, and
6
- enabling single sign-on (SSO).
4
+ Learn how to configure ZITADEL Authentication Service for LobeChat deployment, including creating ZITADEL applications, setting up environment variables, and enabling single sign-on (SSO).
5
+
7
6
  tags:
8
7
  - ZITADEL Authentication
9
8
  - LobeChat Deployment
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: LobeChat Authentication Service Configuration
3
3
  description: >-
4
- Learn how to configure external authentication services using Clerk or Next
5
- Auth for centralized user authorization management. Supported authentication
6
- services include Auth0, Azure ID, etc.
4
+ Learn how to configure external authentication services using Clerk or Next Auth for centralized user authorization management. Supported authentication services include Auth0, Azure ID, etc.
5
+
7
6
  tags:
8
7
  - Authentication Service
9
8
  - Next Auth
@@ -38,7 +38,8 @@ LobeChat Desktop can connect to your self-hosted LobeChat instance, allowing you
38
38
  Before connecting the desktop to your self-hosted instance, ensure that your self-hosted instance is correctly configured with the OIDC-related environment variables.
39
39
 
40
40
  <Callout>
41
- Please ensure that your self-hosted instance version is 1.83.6 or higher to support desktop connection features.
41
+ Please ensure that your self-hosted instance version is 1.83.6 or higher to support desktop
42
+ connection features.
42
43
  </Callout>
43
44
 
44
45
  #### OIDC Environment Variable Configuration
@@ -38,9 +38,7 @@ LobeChat 桌面端可以与您自托管的 LobeChat 实例连接,以便您可
38
38
 
39
39
  在将桌面端与自托管实例连接前,您需要确保您的自托管实例已正确配置 OIDC 相关环境变量。
40
40
 
41
- <Callout>
42
- 请确保您的自托管实例版本为 1.83.6 或更高,以支持桌面端连接功能。
43
- </Callout>
41
+ <Callout>请确保您的自托管实例版本为 1.83.6 或更高,以支持桌面端连接功能。</Callout>
44
42
 
45
43
  #### OIDC 环境变量配置
46
44
 
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: LobeChat Feature Flags Environment Variables Configuration Guide
3
3
  description: >-
4
- Learn how to use environment variables to customize LobeChat's feature flags,
5
- including controlling whether a feature is enabled or disabled, or enabling or
6
- disabling features for specific user groups or environments as needed.
4
+ Learn how to use environment variables to customize LobeChat's feature flags, including controlling whether a feature is enabled or disabled, or enabling or disabling features for specific user groups or environments as needed.
5
+
7
6
  tags:
8
7
  - LobeChat
9
8
  - Environment Variables
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  title: LobeChat Knowledge Base / File Upload
3
3
  description: >-
4
- Explore LobeChat's file upload and knowledge base management features with
5
- core components.
4
+ Explore LobeChat's file upload and knowledge base management features with core components.
5
+
6
6
  tags:
7
7
  - LobeChat
8
8
  - File Upload
@@ -45,7 +45,8 @@ S3 (or S3-compatible storage services) is used for storing uploaded files.
45
45
  OpenAI's Embedding service is used to convert text into vector representations.
46
46
 
47
47
  <Callout type={'info'}>
48
- LobeChat currently uses OpenAI's `text-embedding-3-small` model by default. Ensure your API Key has access to this model.
48
+ LobeChat currently uses OpenAI's `text-embedding-3-small` model by default. Ensure your API Key
49
+ has access to this model.
49
50
  </Callout>
50
51
 
51
52
  - **Purpose**: Generate vector representations for semantic search
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  title: Customizing Provider Model List in LobeChat for Deployment
3
3
  description: >-
4
- Learn how to customize the model list in LobeChat for deployment with the
5
- syntax and extension capabilities
4
+ Learn how to customize the model list in LobeChat for deployment with the syntax and extension capabilities
5
+
6
6
  tags:
7
7
  - LobeChat
8
8
  - model customization
@@ -19,6 +19,7 @@ You can use `+` to add a model, `-` to hide a model, and use `model name->deploy
19
19
  ```text
20
20
  id->deploymentName=displayName<maxToken:vision:reasoning:search:fc:file:imageOutput>,model2,model3
21
21
  ```
22
+
22
23
  The deploymentName `->deploymentName` can be omitted, and it defaults to the latest model version. Currently, the model service providers that support `->deploymentName` are: Azure, Volcengine and Qwen.
23
24
 
24
25
  For example: `+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
@@ -47,11 +48,11 @@ Examples are as follows:
47
48
 
48
49
  Currently supported extension capabilities are:
49
50
 
50
- | --- | Description |
51
- | ----------- | -------------------------------------------------------- |
52
- | `fc` | Function Calling |
53
- | `vision` | Image Recognition |
54
- | `imageOutput` | Image Generation |
55
- | `reasoning` | Support Reasoning |
56
- | `search` | Support Web Search |
57
- | `file` | File Upload (a bit hacky, not recommended for daily use) |
51
+ | --- | Description |
52
+ | ------------- | -------------------------------------------------------- |
53
+ | `fc` | Function Calling |
54
+ | `vision` | Image Recognition |
55
+ | `imageOutput` | Image Generation |
56
+ | `reasoning` | Support Reasoning |
57
+ | `search` | Support Web Search |
58
+ | `file` | File Upload (a bit hacky, not recommended for daily use) |
@@ -18,7 +18,8 @@ LobeChat 支持在部署时自定义模型列表,详情请参考 [模型提供
18
18
  ```text
19
19
  id->deploymentName=displayName<maxToken:vision:reasoning:search:fc:file:imageOutput>,model2,model3
20
20
  ```
21
- 部署名`->deploymentName`可以省略,默认为最新版本的模型。当前支持`->deploymentName`的模型服务商有:Azure、Volcengine和Qwen。
21
+
22
+ 部署名`->deploymentName`可以省略,默认为最新版本的模型。当前支持`->deploymentName`的模型服务商有:Azure、Volcengine 和 Qwen。
22
23
 
23
24
  例如: `+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
24
25
 
@@ -46,11 +47,11 @@ id->deploymentName=displayName<maxToken:vision:reasoning:search:fc:file:imageOut
46
47
 
47
48
  目前支持的扩展能力有:
48
49
 
49
- | --- | 描述 |
50
- | ----------- | ---------------------- |
51
- | `fc` | 函数调用(function calling) |
52
- | `vision` | 视觉识别 |
53
- | `imageOutput` | 图像生成 |
54
- | `reasoning` | 支持推理 |
55
- | `search` | 支持联网搜索 |
56
- | `file` | 文件上传(比较 hack,不建议日常使用) |
50
+ | --- | 描述 |
51
+ | ------------- | ---------------------- |
52
+ | `fc` | 函数调用(function calling) |
53
+ | `vision` | 视觉识别 |
54
+ | `imageOutput` | 图像生成 |
55
+ | `reasoning` | 支持推理 |
56
+ | `search` | 支持联网搜索 |
57
+ | `file` | 文件上传(比较 hack,不建议日常使用) |
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: Observability and Tracing for LobeChat
3
3
  description: >-
4
- Enhance your LobeChat applications with open-source observability and tracing
5
- using Langfuse. Automatically capture detailed traces and metrics for every
6
- request to optimize and debug your chats.
4
+ Enhance your LobeChat applications with open-source observability and tracing using Langfuse. Automatically capture detailed traces and metrics for every request to optimize and debug your chats.
5
+
7
6
  tags:
8
7
  - Observability
9
8
  - Tracing
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  title: >-
3
- Configuring Online Search Functionality - Enhancing AI's Ability to Access Web
4
- Information
3
+ Configuring Online Search Functionality - Enhancing AI's Ability to Access Web Information
4
+
5
5
  description: >-
6
- Learn how to configure the SearXNG online search functionality for LobeChat,
7
- enabling AI to access the latest web information.
6
+ Learn how to configure the SearXNG online search functionality for LobeChat, enabling AI to access the latest web information.
7
+
8
8
  tags:
9
9
  - Online Search
10
10
  - SearXNG
@@ -17,7 +17,9 @@ tags:
17
17
  LobeChat supports configuring online search functionality for AI, allowing it to access the latest web information and provide more accurate and timely responses. The online search feature is based on the [SearXNG](https://github.com/searxng/searxng) search engine, which is a privacy-respecting metasearch engine that aggregates results from multiple search engines.
18
18
 
19
19
  <Callout type={'info'}>
20
- SearXNG is an open-source metasearch engine that can be self-hosted or accessed via public instances. By configuring SearXNG, LobeChat enables AI to retrieve the latest internet information, allowing it to answer time-sensitive questions and provide up-to-date news.
20
+ SearXNG is an open-source metasearch engine that can be self-hosted or accessed via public
21
+ instances. By configuring SearXNG, LobeChat enables AI to retrieve the latest internet
22
+ information, allowing it to answer time-sensitive questions and provide up-to-date news.
21
23
  </Callout>
22
24
 
23
25
  # Core Environment Variables
@@ -34,16 +36,15 @@ This URL should point to a functional SearXNG instance. You can choose to self-h
34
36
 
35
37
  You can find publicly available SearXNG instances in the [SearXNG instance list](https://searx.space/). Choose an instance that is fast and reliable, and then configure its URL in LobeChat.
36
38
 
37
- > Note that the `searxng` you use must have `json` output enabled; otherwise, the `lobe-chat` call will result in an error.
38
- > If self-hosting, find the `searxng` configuration file and add `json` as shown below.
39
+ > Note that the `searxng` you use must have `json` output enabled; otherwise, the `lobe-chat` call will result in an error. If self-hosting, find the `searxng` configuration file and add `json` as shown below.
39
40
 
40
41
  ```bash
41
42
  $ vi searxng/settings.yml
42
43
  ...
43
44
  search:
44
- formats:
45
- - html
46
- - json
45
+ formats:
46
+ - html
47
+ - json
47
48
  ```
48
49
 
49
50
  # Verifying Online Search Functionality
@@ -13,7 +13,8 @@ tags:
13
13
  LobeChat 支持为 AI 配置联网搜索功能,这使得 AI 能够获取最新的网络信息,从而提供更准确、更及时的回答。联网搜索功能基于 [SearXNG](https://github.com/searxng/searxng) 搜索引擎,它是一个尊重隐私的元搜索引擎,可以聚合多个搜索引擎的结果。
14
14
 
15
15
  <Callout type={'info'}>
16
- SearXNG 是一个开源的元搜索引擎,可以自行部署,也可以使用公共实例。通过配置 SearXNG,LobeChat 可以让 AI 获取最新的互联网信息,从而回答时效性问题、提供最新资讯。
16
+ SearXNG 是一个开源的元搜索引擎,可以自行部署,也可以使用公共实例。通过配置 SearXNG,LobeChat
17
+ 可以让 AI 获取最新的互联网信息,从而回答时效性问题、提供最新资讯。
17
18
  </Callout>
18
19
 
19
20
  # 核心环境变量
@@ -30,16 +31,15 @@ SEARXNG_URL=https://searxng-instance.com
30
31
 
31
32
  您可以在 [SearXNG 实例列表](https://searx.space/) 中找到公开可用的 SearXNG 实例。选择一个响应速度快、可靠性高的实例,然后将其 URL 配置到 LobeChat 中。
32
33
 
33
- > 注意,使用的 `searxng` 必须开启 `json` 输出,否则 `lobe-chat` 调用会报错。
34
- > 如果是自托管,类似下面这样,找到 `searxng` 的配置文件,追加 `json` 即可。
34
+ > 注意,使用的 `searxng` 必须开启 `json` 输出,否则 `lobe-chat` 调用会报错。如果是自托管,类似下面这样,找到 `searxng` 的配置文件,追加 `json` 即可。
35
35
 
36
36
  ```bash
37
37
  $ vi searxng/settings.yml
38
38
  ...
39
39
  search:
40
- formats:
41
- - html
42
- - json
40
+ formats:
41
+ - html
42
+ - json
43
43
  ```
44
44
 
45
45
  # 验证联网搜索功能
@@ -47,7 +47,7 @@ search:
47
47
  配置完成后,您可以通过以下步骤验证联网搜索功能是否正常工作:
48
48
 
49
49
  1. 重启 LobeChat 服务
50
- 2. 启动一个新的聊天,启动智能联网,之后向 AI 提问一个需要最新信息的问题,例如:"今天的实时金价是多少?"或"最近的重大新闻有哪些?"
50
+ 2. 启动一个新的聊天,启动智能联网,之后向 AI 提问一个需要最新信息的问题,例如:"今天的实时金价是多少?" "最近的重大新闻有哪些?"
51
51
  3. 观察 AI 是否能够返回基于互联网搜索的最新信息
52
52
 
53
53
  如果 AI 能够回答这些时效性问题,说明联网搜索功能已经成功配置。
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  title: Configuring Tencent Cloud COS Storage Service
3
3
  description: >-
4
- Detailed steps to configure Tencent Cloud COS storage service for smooth file
5
- storage.
4
+ Detailed steps to configure Tencent Cloud COS storage service for smooth file storage.
5
+
6
6
  tags:
7
7
  - Tencent Cloud COS
8
8
  - S3 Storage
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: Share Settings via URL - Import and Export Configuration Settings
3
3
  description: >-
4
- Learn how to import and export configuration settings for LobeChat via URL.
5
- Understand the supported settings, URL format, and parameter schema for
6
- keyVaults and languageModel.
4
+ Learn how to import and export configuration settings for LobeChat via URL. Understand the supported settings, URL format, and parameter schema for keyVaults and languageModel.
5
+
7
6
  tags:
8
7
  - Share Settings
9
8
  - URL Import
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: LobeChat Upstream Sync and Docker Deployment Guide
3
3
  description: >-
4
- Learn how to enable automatic updates for LobeChat Vercel deployments and
5
- upgrade Docker deployment versions easily. Follow step-by-step instructions
6
- for a seamless deployment process.
4
+ Learn how to enable automatic updates for LobeChat Vercel deployments and upgrade Docker deployment versions easily. Follow step-by-step instructions for a seamless deployment process.
5
+
7
6
  tags:
8
7
  - Upstream Sync
9
8
  - Vercel Deployment
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  title: LobeChat WebRTC Sync - Real-Time Data Sharing
3
3
  description: >-
4
- Explore LobeChat's WebRTC sync for real-time data sharing and privacy without
5
- servers.
4
+ Explore LobeChat's WebRTC sync for real-time data sharing and privacy without servers.
5
+
6
6
  tags:
7
7
  - WebRTC
8
8
  - LobeChat
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: Integrating Analytics in LobeChat
3
3
  description: >-
4
- Learn how to configure environment variables for Vercel Analytics, Google
5
- Analytics, PostHog Analytics, and Umami Analytics in LobeChat for data
6
- collection and analysis.
4
+ Learn how to configure environment variables for Vercel Analytics, Google Analytics, PostHog Analytics, and Umami Analytics in LobeChat for data collection and analysis.
5
+
7
6
  tags:
8
7
  - Data Analytics
9
8
  - LobeChat
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: LobeChat Authentication Service Environment Variables
3
3
  description: >-
4
- Explore the essential environment variables for configuring authentication
5
- services in LobeChat, including OAuth SSO, NextAuth settings, and
6
- provider-specific details.
4
+ Explore the essential environment variables for configuring authentication services in LobeChat, including OAuth SSO, NextAuth settings, and provider-specific details.
5
+
7
6
  tags:
8
7
  - Authentication Service
9
8
  - OAuth SSO
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: Customize LobeChat Deployment with Environment Variables
3
3
  description: >-
4
- Learn about the common environment variables used to customize LobeChat
5
- deployment, including access code, OAuth SSO, base path, and default agent
6
- configuration.
4
+ Learn about the common environment variables used to customize LobeChat deployment, including access code, OAuth SSO, base path, and default agent configuration.
5
+
7
6
  tags:
8
7
  - LobeChat
9
8
  - environment variables
@@ -121,8 +120,8 @@ For specific content, please refer to the [Feature Flags](/docs/self-hosting/adv
121
120
  <Callout type="info">
122
121
  If you're using Docker Desktop on Windows or macOS, it relies on a virtual machine. In this setup,
123
122
  `localhost` / `127.0.0.1` refers to the localhost of the container itself. In such cases, please
124
- try using `host.docker.internal` instead of `localhost`.
125
- Use `http://user:password@127.0.0.1:7890` to connect to an authenticated proxy server.
123
+ try using `host.docker.internal` instead of `localhost`. Use `http://user:password@127.0.0.1:7890`
124
+ to connect to an authenticated proxy server.
126
125
  </Callout>
127
126
 
128
127
  ### `ENABLE_PROXY_DNS`
@@ -116,8 +116,8 @@ LobeChat 在部署时提供了一些额外的配置项,你可以使用环境
116
116
 
117
117
  <Callout type="info">
118
118
  `Docker Desktop` 在 `Windows `和 `macOS `上走的是虚拟机方案,如果是 `localhost` / `127.0.0.1`
119
- 是走到自身容器的 `localhost`,此时请尝试用 `host.docker.internal` 替代 `localhost`。
120
- 使用 `http://user:password@127.0.0.1:7890` 来连接到带认证的代理服务器。
119
+ 是走到自身容器的 `localhost`,此时请尝试用 `host.docker.internal` 替代 `localhost`。 使用
120
+ `http://user:password@127.0.0.1:7890` 来连接到带认证的代理服务器。
121
121
  </Callout>
122
122
 
123
123
  ### `ENABLE_PROXY_DNS`
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: LobeChat Model Service Providers - Environment Variables and Configuration
3
3
  description: >-
4
- Learn about the environment variables and configuration settings for various
5
- model service providers like OpenAI, Google AI, AWS Bedrock, Ollama,
6
- Perplexity AI, Anthropic AI, Mistral AI, Groq AI, OpenRouter AI, and 01.AI.
4
+ Learn about the environment variables and configuration settings for various model service providers like OpenAI, Google AI, AWS Bedrock, Ollama, Perplexity AI, Anthropic AI, Mistral AI, Groq AI, OpenRouter AI, and 01.AI.
5
+
7
6
  tags:
8
7
  - Model Service Providers
9
8
  - Environment Variables
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  title: Configuring S3 Storage Service
3
3
  description: >-
4
- Learn how to configure S3 storage service to support multimodal AI sessions
5
- and image uploads.
4
+ Learn how to configure S3 storage service to support multimodal AI sessions and image uploads.
5
+
6
6
  tags:
7
7
  - S3 Storage
8
8
  - Multimodal AI
@@ -88,9 +88,7 @@ LobeChat supports multimodal AI sessions, including the ability to upload unstru
88
88
  - Default: undefined
89
89
  - Example: `1`
90
90
 
91
- When set to `1`, LobeChat will convert images to base64 encoding before
92
- uploading them to the LLM model. When encountering the following error,
93
- please consider configuring this environment variable to `1`:
91
+ When set to `1`, LobeChat will convert images to base64 encoding before uploading them to the LLM model. When encountering the following error, please consider configuring this environment variable to `1`:
94
92
 
95
93
  ```log
96
94
  Route: [xai] ProviderBizError: Fetching images over plain http:// is not supported.
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  title: LobeChat Environment Variables - Customizing Guide
3
3
  description: >-
4
- Learn how to customize LobeChat configuration using environment variables for
5
- additional features and options.
4
+ Learn how to customize LobeChat configuration using environment variables for additional features and options.
5
+
6
6
  tags:
7
7
  - LobeChat
8
8
  - Environment Variables
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  title: Configuring Azure OpenAI for LobeChat
3
3
  description: >-
4
- Learn how to configure Azure OpenAI for LobeChat, including interface
5
- configuration, and deployment settings.
4
+ Learn how to configure Azure OpenAI for LobeChat, including interface configuration, and deployment settings.
5
+
6
6
  tags:
7
7
  - Azure OpenAI
8
8
  - LobeChat
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  title: Integrating LobeChat with Ollama for Enhanced Language Models
3
3
  description: >-
4
- Learn how to configure and deploy LobeChat to leverage Ollama's powerful
5
- language models locally. Follow the guide to run Ollama and LobeChat on your
6
- system.
4
+ Learn how to configure and deploy LobeChat to leverage Ollama's powerful language models locally. Follow the guide to run Ollama and LobeChat on your system.
5
+
7
6
  tags:
8
7
  - Ollama integration
9
8
  - LobeChat configuration