@lobehub/chat 1.44.3 → 1.45.0

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 (319) hide show
  1. package/.remarkrc.mdx.js +6 -0
  2. package/CHANGELOG.md +25 -0
  3. package/changelog/v1.json +9 -0
  4. package/docs/changelog/2023-09-09-plugin-system.mdx +5 -0
  5. package/docs/changelog/2023-09-09-plugin-system.zh-CN.mdx +5 -0
  6. package/docs/changelog/2023-11-14-gpt4-vision.mdx +6 -0
  7. package/docs/changelog/2023-11-14-gpt4-vision.zh-CN.mdx +6 -0
  8. package/docs/changelog/2023-11-19-tts-stt.mdx +6 -0
  9. package/docs/changelog/2023-11-19-tts-stt.zh-CN.mdx +7 -0
  10. package/docs/changelog/2023-12-22-dalle-3.mdx +6 -0
  11. package/docs/changelog/2023-12-22-dalle-3.zh-CN.mdx +4 -0
  12. package/docs/changelog/2024-02-08-sso-oauth.mdx +6 -0
  13. package/docs/changelog/2024-02-08-sso-oauth.zh-CN.mdx +6 -0
  14. package/docs/changelog/2024-02-14-ollama.mdx +6 -0
  15. package/docs/changelog/2024-02-14-ollama.zh-CN.mdx +5 -0
  16. package/docs/changelog/2024-06-19-lobe-chat-v1.mdx +6 -0
  17. package/docs/changelog/2024-06-19-lobe-chat-v1.zh-CN.mdx +5 -0
  18. package/docs/changelog/2024-07-19-gpt-4o-mini.mdx +5 -0
  19. package/docs/changelog/2024-07-19-gpt-4o-mini.zh-CN.mdx +4 -0
  20. package/docs/changelog/2024-08-02-lobe-chat-database-docker.mdx +6 -0
  21. package/docs/changelog/2024-08-02-lobe-chat-database-docker.zh-CN.mdx +5 -0
  22. package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.mdx +6 -0
  23. package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.zh-CN.mdx +5 -0
  24. package/docs/changelog/2024-09-13-openai-o1-models.mdx +6 -0
  25. package/docs/changelog/2024-09-13-openai-o1-models.zh-CN.mdx +6 -0
  26. package/docs/changelog/2024-09-20-artifacts.mdx +6 -0
  27. package/docs/changelog/2024-09-20-artifacts.zh-CN.mdx +6 -0
  28. package/docs/changelog/2024-10-27-pin-assistant.mdx +5 -0
  29. package/docs/changelog/2024-10-27-pin-assistant.zh-CN.mdx +4 -0
  30. package/docs/changelog/2024-11-06-share-text-json.mdx +4 -0
  31. package/docs/changelog/2024-11-06-share-text-json.zh-CN.mdx +4 -0
  32. package/docs/changelog/2024-11-25-november-providers.mdx +7 -0
  33. package/docs/changelog/2024-11-25-november-providers.zh-CN.mdx +7 -0
  34. package/docs/changelog/2024-11-27-forkable-chat.mdx +4 -0
  35. package/docs/changelog/2024-11-27-forkable-chat.zh-CN.mdx +5 -0
  36. package/docs/changelog/2025-01-03-user-profile.mdx +5 -0
  37. package/docs/changelog/2025-01-03-user-profile.zh-CN.mdx +4 -1
  38. package/docs/self-hosting/advanced/auth/clerk.mdx +25 -41
  39. package/docs/self-hosting/advanced/auth/clerk.zh-CN.mdx +23 -37
  40. package/docs/self-hosting/advanced/auth/next-auth/auth0.mdx +31 -58
  41. package/docs/self-hosting/advanced/auth/next-auth/auth0.zh-CN.mdx +30 -57
  42. package/docs/self-hosting/advanced/auth/next-auth/authelia.mdx +38 -38
  43. package/docs/self-hosting/advanced/auth/next-auth/authelia.zh-CN.mdx +37 -38
  44. package/docs/self-hosting/advanced/auth/next-auth/authentik.mdx +26 -31
  45. package/docs/self-hosting/advanced/auth/next-auth/authentik.zh-CN.mdx +25 -30
  46. package/docs/self-hosting/advanced/auth/next-auth/casdoor.mdx +74 -75
  47. package/docs/self-hosting/advanced/auth/next-auth/casdoor.zh-CN.mdx +72 -73
  48. package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.mdx +24 -25
  49. package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.zh-CN.mdx +23 -24
  50. package/docs/self-hosting/advanced/auth/next-auth/github.mdx +46 -73
  51. package/docs/self-hosting/advanced/auth/next-auth/github.zh-CN.mdx +43 -70
  52. package/docs/self-hosting/advanced/auth/next-auth/logto.mdx +28 -37
  53. package/docs/self-hosting/advanced/auth/next-auth/logto.zh-CN.mdx +28 -37
  54. package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.mdx +36 -49
  55. package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.zh-CN.mdx +30 -43
  56. package/docs/self-hosting/advanced/auth/next-auth/wechat.mdx +13 -14
  57. package/docs/self-hosting/advanced/auth/next-auth/wechat.zh-CN.mdx +14 -15
  58. package/docs/self-hosting/advanced/auth/next-auth/zitadel.mdx +35 -69
  59. package/docs/self-hosting/advanced/auth/next-auth/zitadel.zh-CN.mdx +34 -68
  60. package/docs/self-hosting/advanced/auth.mdx +14 -13
  61. package/docs/self-hosting/advanced/auth.zh-CN.mdx +15 -14
  62. package/docs/self-hosting/advanced/feature-flags.zh-CN.mdx +15 -15
  63. package/docs/self-hosting/advanced/knowledge-base.mdx +14 -3
  64. package/docs/self-hosting/advanced/knowledge-base.zh-CN.mdx +12 -3
  65. package/docs/self-hosting/advanced/model-list.zh-CN.mdx +5 -5
  66. package/docs/self-hosting/advanced/s3/cloudflare-r2.mdx +52 -81
  67. package/docs/self-hosting/advanced/s3/cloudflare-r2.zh-CN.mdx +51 -80
  68. package/docs/self-hosting/advanced/s3/tencent-cloud.mdx +20 -34
  69. package/docs/self-hosting/advanced/s3/tencent-cloud.zh-CN.mdx +28 -43
  70. package/docs/self-hosting/advanced/s3.mdx +30 -34
  71. package/docs/self-hosting/advanced/s3.zh-CN.mdx +28 -33
  72. package/docs/self-hosting/advanced/settings-url-share.mdx +6 -6
  73. package/docs/self-hosting/advanced/settings-url-share.zh-CN.mdx +19 -19
  74. package/docs/self-hosting/advanced/upstream-sync.mdx +73 -89
  75. package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +71 -87
  76. package/docs/self-hosting/advanced/webrtc.mdx +14 -21
  77. package/docs/self-hosting/advanced/webrtc.zh-CN.mdx +19 -26
  78. package/docs/self-hosting/environment-variables/analytics.zh-CN.mdx +0 -3
  79. package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +1 -1
  80. package/docs/self-hosting/environment-variables/basic.mdx +13 -13
  81. package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +15 -15
  82. package/docs/self-hosting/environment-variables/model-provider.mdx +1 -1
  83. package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +1 -1
  84. package/docs/self-hosting/environment-variables/s3.mdx +3 -4
  85. package/docs/self-hosting/environment-variables/s3.zh-CN.mdx +5 -7
  86. package/docs/self-hosting/environment-variables.mdx +8 -4
  87. package/docs/self-hosting/environment-variables.zh-CN.mdx +4 -0
  88. package/docs/self-hosting/examples/azure-openai.mdx +9 -12
  89. package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +8 -11
  90. package/docs/self-hosting/examples/ollama.mdx +8 -7
  91. package/docs/self-hosting/examples/ollama.zh-CN.mdx +8 -7
  92. package/docs/self-hosting/platform/alibaba-cloud.mdx +5 -7
  93. package/docs/self-hosting/platform/alibaba-cloud.zh-CN.mdx +5 -7
  94. package/docs/self-hosting/platform/btpanel.mdx +3 -2
  95. package/docs/self-hosting/platform/btpanel.zh-CN.mdx +3 -3
  96. package/docs/self-hosting/platform/docker-compose.mdx +75 -85
  97. package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +75 -85
  98. package/docs/self-hosting/platform/docker.mdx +87 -92
  99. package/docs/self-hosting/platform/docker.zh-CN.mdx +96 -115
  100. package/docs/self-hosting/platform/netlify.mdx +44 -94
  101. package/docs/self-hosting/platform/netlify.zh-CN.mdx +40 -90
  102. package/docs/self-hosting/platform/railway.mdx +6 -7
  103. package/docs/self-hosting/platform/railway.zh-CN.mdx +6 -7
  104. package/docs/self-hosting/platform/repocloud.mdx +6 -7
  105. package/docs/self-hosting/platform/repocloud.zh-CN.mdx +6 -7
  106. package/docs/self-hosting/platform/sealos.mdx +6 -7
  107. package/docs/self-hosting/platform/sealos.zh-CN.mdx +6 -7
  108. package/docs/self-hosting/platform/vercel.mdx +7 -8
  109. package/docs/self-hosting/platform/vercel.zh-CN.mdx +7 -8
  110. package/docs/self-hosting/platform/zeabur.mdx +29 -32
  111. package/docs/self-hosting/platform/zeabur.zh-CN.mdx +29 -32
  112. package/docs/self-hosting/server-database/docker-compose.mdx +44 -71
  113. package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +44 -71
  114. package/docs/self-hosting/server-database/docker.mdx +84 -88
  115. package/docs/self-hosting/server-database/docker.zh-CN.mdx +87 -91
  116. package/docs/self-hosting/server-database/dokploy.mdx +18 -1
  117. package/docs/self-hosting/server-database/dokploy.zh-CN.mdx +84 -68
  118. package/docs/self-hosting/server-database/repocloud.mdx +7 -9
  119. package/docs/self-hosting/server-database/repocloud.zh-CN.mdx +9 -11
  120. package/docs/self-hosting/server-database/vercel.mdx +158 -243
  121. package/docs/self-hosting/server-database/vercel.zh-CN.mdx +137 -205
  122. package/docs/self-hosting/server-database/zeabur.mdx +21 -23
  123. package/docs/self-hosting/server-database/zeabur.zh-CN.mdx +20 -22
  124. package/docs/self-hosting/server-database.mdx +34 -36
  125. package/docs/self-hosting/server-database.zh-CN.mdx +34 -37
  126. package/docs/self-hosting/start.mdx +1 -4
  127. package/docs/self-hosting/start.zh-CN.mdx +1 -1
  128. package/docs/usage/agents/agent-organization.mdx +5 -21
  129. package/docs/usage/agents/agent-organization.zh-CN.mdx +5 -21
  130. package/docs/usage/agents/concepts.mdx +4 -4
  131. package/docs/usage/agents/concepts.zh-CN.mdx +4 -4
  132. package/docs/usage/agents/custom-agent.mdx +2 -2
  133. package/docs/usage/agents/custom-agent.zh-CN.mdx +2 -2
  134. package/docs/usage/agents/model.mdx +4 -4
  135. package/docs/usage/agents/model.zh-CN.mdx +6 -6
  136. package/docs/usage/agents/prompt.mdx +5 -6
  137. package/docs/usage/agents/prompt.zh-CN.mdx +5 -6
  138. package/docs/usage/agents/topics.mdx +2 -2
  139. package/docs/usage/agents/topics.zh-CN.mdx +2 -2
  140. package/docs/usage/features/agent-market.mdx +2 -2
  141. package/docs/usage/features/agent-market.zh-CN.mdx +2 -2
  142. package/docs/usage/features/auth.mdx +1 -5
  143. package/docs/usage/features/auth.zh-CN.mdx +1 -5
  144. package/docs/usage/features/database.mdx +1 -5
  145. package/docs/usage/features/database.zh-CN.mdx +1 -5
  146. package/docs/usage/features/local-llm.mdx +2 -6
  147. package/docs/usage/features/local-llm.zh-CN.mdx +2 -6
  148. package/docs/usage/features/mobile.mdx +1 -5
  149. package/docs/usage/features/mobile.zh-CN.mdx +1 -5
  150. package/docs/usage/features/multi-ai-providers.mdx +3 -11
  151. package/docs/usage/features/multi-ai-providers.zh-CN.mdx +3 -11
  152. package/docs/usage/features/plugin-system.mdx +9 -10
  153. package/docs/usage/features/plugin-system.zh-CN.mdx +9 -10
  154. package/docs/usage/features/pwa.mdx +11 -25
  155. package/docs/usage/features/pwa.zh-CN.mdx +11 -25
  156. package/docs/usage/features/text-to-image.mdx +2 -2
  157. package/docs/usage/features/text-to-image.zh-CN.mdx +2 -2
  158. package/docs/usage/features/theme.mdx +1 -6
  159. package/docs/usage/features/theme.zh-CN.mdx +1 -6
  160. package/docs/usage/features/tts.mdx +3 -7
  161. package/docs/usage/features/tts.zh-CN.mdx +3 -7
  162. package/docs/usage/features/vision.mdx +2 -2
  163. package/docs/usage/features/vision.zh-CN.mdx +2 -2
  164. package/docs/usage/foundation/basic.mdx +7 -18
  165. package/docs/usage/foundation/basic.zh-CN.mdx +6 -16
  166. package/docs/usage/foundation/share.mdx +3 -13
  167. package/docs/usage/foundation/share.zh-CN.mdx +3 -13
  168. package/docs/usage/foundation/text2image.mdx +3 -12
  169. package/docs/usage/foundation/text2image.zh-CN.mdx +3 -12
  170. package/docs/usage/foundation/translate.mdx +3 -13
  171. package/docs/usage/foundation/translate.zh-CN.mdx +3 -13
  172. package/docs/usage/foundation/tts-stt.mdx +3 -12
  173. package/docs/usage/foundation/tts-stt.zh-CN.mdx +3 -12
  174. package/docs/usage/foundation/vision.mdx +4 -16
  175. package/docs/usage/foundation/vision.zh-CN.mdx +4 -16
  176. package/docs/usage/plugins/basic-usage.mdx +7 -30
  177. package/docs/usage/plugins/basic-usage.zh-CN.mdx +7 -30
  178. package/docs/usage/plugins/development.mdx +30 -78
  179. package/docs/usage/plugins/development.zh-CN.mdx +31 -79
  180. package/docs/usage/plugins/store.mdx +2 -10
  181. package/docs/usage/plugins/store.zh-CN.mdx +2 -10
  182. package/docs/usage/providers/ai21.mdx +17 -33
  183. package/docs/usage/providers/ai21.zh-CN.mdx +17 -33
  184. package/docs/usage/providers/ai360.mdx +17 -33
  185. package/docs/usage/providers/ai360.zh-CN.mdx +20 -36
  186. package/docs/usage/providers/anthropic.mdx +23 -45
  187. package/docs/usage/providers/anthropic.zh-CN.mdx +22 -44
  188. package/docs/usage/providers/azure.mdx +21 -51
  189. package/docs/usage/providers/azure.zh-CN.mdx +19 -48
  190. package/docs/usage/providers/baichuan.mdx +16 -34
  191. package/docs/usage/providers/baichuan.zh-CN.mdx +15 -33
  192. package/docs/usage/providers/bedrock.mdx +38 -87
  193. package/docs/usage/providers/bedrock.zh-CN.mdx +37 -86
  194. package/docs/usage/providers/cloudflare.mdx +25 -48
  195. package/docs/usage/providers/cloudflare.zh-CN.mdx +24 -45
  196. package/docs/usage/providers/deepseek.mdx +25 -51
  197. package/docs/usage/providers/deepseek.zh-CN.mdx +24 -50
  198. package/docs/usage/providers/fireworksai.mdx +23 -43
  199. package/docs/usage/providers/fireworksai.zh-CN.mdx +21 -41
  200. package/docs/usage/providers/gemini.mdx +20 -46
  201. package/docs/usage/providers/gemini.zh-CN.mdx +20 -46
  202. package/docs/usage/providers/giteeai.mdx +24 -45
  203. package/docs/usage/providers/giteeai.zh-CN.mdx +22 -43
  204. package/docs/usage/providers/github.mdx +19 -45
  205. package/docs/usage/providers/github.zh-CN.mdx +19 -44
  206. package/docs/usage/providers/groq.mdx +12 -29
  207. package/docs/usage/providers/groq.zh-CN.mdx +11 -28
  208. package/docs/usage/providers/hunyuan.mdx +19 -39
  209. package/docs/usage/providers/hunyuan.zh-CN.mdx +18 -38
  210. package/docs/usage/providers/internlm.mdx +21 -38
  211. package/docs/usage/providers/internlm.zh-CN.mdx +19 -36
  212. package/docs/usage/providers/minimax.mdx +24 -50
  213. package/docs/usage/providers/minimax.zh-CN.mdx +22 -48
  214. package/docs/usage/providers/mistral.mdx +21 -39
  215. package/docs/usage/providers/mistral.zh-CN.mdx +20 -38
  216. package/docs/usage/providers/moonshot.mdx +20 -38
  217. package/docs/usage/providers/moonshot.zh-CN.mdx +19 -37
  218. package/docs/usage/providers/novita.mdx +20 -43
  219. package/docs/usage/providers/novita.zh-CN.mdx +19 -42
  220. package/docs/usage/providers/ollama/gemma.mdx +12 -29
  221. package/docs/usage/providers/ollama/gemma.zh-CN.mdx +12 -30
  222. package/docs/usage/providers/ollama/qwen.mdx +17 -32
  223. package/docs/usage/providers/ollama/qwen.zh-CN.mdx +12 -27
  224. package/docs/usage/providers/ollama.mdx +67 -99
  225. package/docs/usage/providers/ollama.zh-CN.mdx +67 -99
  226. package/docs/usage/providers/openai.mdx +42 -56
  227. package/docs/usage/providers/openai.zh-CN.mdx +39 -52
  228. package/docs/usage/providers/openrouter.mdx +48 -84
  229. package/docs/usage/providers/openrouter.zh-CN.mdx +31 -67
  230. package/docs/usage/providers/perplexity.mdx +16 -34
  231. package/docs/usage/providers/perplexity.zh-CN.mdx +16 -34
  232. package/docs/usage/providers/qwen.mdx +26 -52
  233. package/docs/usage/providers/qwen.zh-CN.mdx +25 -51
  234. package/docs/usage/providers/sensenova.mdx +24 -45
  235. package/docs/usage/providers/sensenova.zh-CN.mdx +22 -43
  236. package/docs/usage/providers/siliconcloud.mdx +17 -33
  237. package/docs/usage/providers/siliconcloud.zh-CN.mdx +17 -33
  238. package/docs/usage/providers/spark.mdx +20 -40
  239. package/docs/usage/providers/spark.zh-CN.mdx +19 -39
  240. package/docs/usage/providers/stepfun.mdx +17 -35
  241. package/docs/usage/providers/stepfun.zh-CN.mdx +17 -35
  242. package/docs/usage/providers/taichu.mdx +16 -34
  243. package/docs/usage/providers/taichu.zh-CN.mdx +15 -33
  244. package/docs/usage/providers/togetherai.mdx +18 -40
  245. package/docs/usage/providers/togetherai.zh-CN.mdx +18 -40
  246. package/docs/usage/providers/upstage.mdx +18 -34
  247. package/docs/usage/providers/upstage.zh-CN.mdx +17 -33
  248. package/docs/usage/providers/wenxin.mdx +22 -42
  249. package/docs/usage/providers/wenxin.zh-CN.mdx +20 -40
  250. package/docs/usage/providers/xai.mdx +21 -38
  251. package/docs/usage/providers/xai.zh-CN.mdx +20 -37
  252. package/docs/usage/providers/zeroone.mdx +22 -48
  253. package/docs/usage/providers/zeroone.zh-CN.mdx +22 -48
  254. package/docs/usage/providers/zhipu.mdx +17 -35
  255. package/docs/usage/providers/zhipu.zh-CN.mdx +18 -34
  256. package/docs/usage/providers.mdx +1 -6
  257. package/docs/usage/providers.zh-CN.mdx +1 -6
  258. package/docs/usage/start.mdx +4 -18
  259. package/docs/usage/start.zh-CN.mdx +2 -19
  260. package/docs/usage/tools-calling/anthropic.mdx +18 -51
  261. package/docs/usage/tools-calling/anthropic.zh-CN.mdx +22 -55
  262. package/docs/usage/tools-calling/google.mdx +16 -23
  263. package/docs/usage/tools-calling/google.zh-CN.mdx +17 -24
  264. package/docs/usage/tools-calling/groq.mdx +9 -0
  265. package/docs/usage/tools-calling/groq.zh-CN.mdx +44 -70
  266. package/docs/usage/tools-calling/moonshot.mdx +9 -0
  267. package/docs/usage/tools-calling/openai.mdx +19 -44
  268. package/docs/usage/tools-calling/openai.zh-CN.mdx +20 -45
  269. package/docs/usage/tools-calling.mdx +9 -0
  270. package/docs/usage/tools-calling.zh-CN.mdx +60 -68
  271. package/package.json +42 -41
  272. package/scripts/mdxWorkflow/index.ts +7 -0
  273. package/src/app/(main)/(mobile)/me/(home)/features/Header.tsx +2 -1
  274. package/src/app/(main)/(mobile)/me/data/features/Header.tsx +1 -1
  275. package/src/app/(main)/(mobile)/me/profile/features/Header.tsx +1 -1
  276. package/src/app/(main)/(mobile)/me/settings/features/Header.tsx +1 -1
  277. package/src/app/(main)/@nav/_layout/Mobile.tsx +2 -1
  278. package/src/app/(main)/chat/(workspace)/@topic/features/SystemRole/SystemRoleContent.tsx +2 -1
  279. package/src/app/(main)/chat/(workspace)/@topic/features/TopicListContent/ByTimeMode/GroupItem.tsx +2 -2
  280. package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/Main.tsx +2 -1
  281. package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/index.tsx +1 -1
  282. package/src/app/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/ChatHeaderTitle.tsx +2 -1
  283. package/src/app/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/index.tsx +1 -1
  284. package/src/app/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +2 -1
  285. package/src/app/(main)/chat/settings/_layout/Desktop/Header.tsx +1 -1
  286. package/src/app/(main)/chat/settings/_layout/Mobile/Header.tsx +1 -1
  287. package/src/app/(main)/discover/(detail)/provider/[slug]/features/InfoSidebar/SuggestionItem.tsx +8 -6
  288. package/src/app/(main)/discover/(list)/_layout/Desktop/Nav.tsx +1 -1
  289. package/src/app/(main)/discover/(list)/_layout/Mobile/Header.tsx +2 -1
  290. package/src/app/(main)/discover/_layout/Desktop/Header.tsx +1 -1
  291. package/src/app/(main)/discover/components/VirtuosoGridList/index.tsx +9 -5
  292. package/src/app/(main)/discover/search/_layout/Mobile/Header.tsx +1 -1
  293. package/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx +21 -13
  294. package/src/app/(main)/repos/[id]/evals/evaluation/EvaluationList/index.tsx +1 -1
  295. package/src/app/(main)/settings/sync/features/DeviceInfo/SystemIcon.tsx +2 -0
  296. package/src/components/Branding/ProductLogo/Custom.tsx +19 -20
  297. package/src/components/BrowserIcon/index.tsx +19 -30
  298. package/src/components/BubblesLoading/index.tsx +31 -23
  299. package/src/components/FunctionModal/createModalHooks.ts +6 -3
  300. package/src/components/StopLoading.tsx +10 -7
  301. package/src/features/ChatInput/Desktop/InputArea/index.tsx +2 -2
  302. package/src/features/InitClientDB/EnableModal.tsx +2 -2
  303. package/src/features/InitClientDB/{PGliteSVG.tsx → PGliteIcon.tsx} +17 -11
  304. package/src/features/ShareModal/ShareImage/index.tsx +32 -22
  305. package/src/features/ShareModal/ShareJSON/Preview.tsx +2 -2
  306. package/src/features/ShareModal/ShareJSON/index.tsx +49 -37
  307. package/src/features/ShareModal/ShareText/Preview.tsx +4 -1
  308. package/src/features/ShareModal/ShareText/index.tsx +49 -38
  309. package/src/features/ShareModal/index.tsx +1 -1
  310. package/src/features/ShareModal/style.ts +30 -0
  311. package/src/utils/colorUtils.ts +1 -1
  312. package/src/components/BrowserIcon/components/Brave.tsx +0 -56
  313. package/src/components/BrowserIcon/components/Chrome.tsx +0 -14
  314. package/src/components/BrowserIcon/components/Chromium.tsx +0 -14
  315. package/src/components/BrowserIcon/components/Edge.tsx +0 -36
  316. package/src/components/BrowserIcon/components/Firefox.tsx +0 -38
  317. package/src/components/BrowserIcon/components/Opera.tsx +0 -19
  318. package/src/components/BrowserIcon/components/Safari.tsx +0 -23
  319. package/src/components/BrowserIcon/components/Samsung.tsx +0 -21
@@ -0,0 +1,6 @@
1
+ const config = require('@lobehub/lint').remarklint;
2
+
3
+ module.exports = {
4
+ ...config,
5
+ plugins: ['remark-mdx', ...config.plugins],
6
+ };
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 1.45.0](https://github.com/lobehub/lobe-chat/compare/v1.44.3...v1.45.0)
6
+
7
+ <sup>Released on **2025-01-08**</sup>
8
+
9
+ #### ✨ Features
10
+
11
+ - **misc**: Update Remark.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's improved
19
+
20
+ - **misc**: Update Remark, closes [#5340](https://github.com/lobehub/lobe-chat/issues/5340) ([2c3331a](https://github.com/lobehub/lobe-chat/commit/2c3331a))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 1.44.3](https://github.com/lobehub/lobe-chat/compare/v1.44.2...v1.44.3)
6
31
 
7
32
  <sup>Released on **2025-01-08**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "features": [
5
+ "Update Remark."
6
+ ]
7
+ },
8
+ "date": "2025-01-08",
9
+ "version": "1.45.0"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "fixes": [
@@ -4,6 +4,11 @@ description: >-
4
4
  Discover how the LobeChat plugin ecosystem enhances the utility and
5
5
  flexibility of the LobeChat assistant, along with the development resources
6
6
  and plugin development guidelines provided.
7
+ tags:
8
+ - LobeChat
9
+ - Plugins
10
+ - Real-time Information
11
+ - Voice Options
7
12
  ---
8
13
 
9
14
  # Supported Plugin System
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  title: LobeChat 插件生态系统 - 功能扩展与开发资源
3
3
  description: 了解 LobeChat 插件生态系统如何增强 LobeChat 助手的实用性和灵活性,以及提供的开发资源和插件开发指南。
4
+ tags:
5
+ - LobeChat
6
+ - 插件系统
7
+ - 实时信息
8
+ - 第三方服务
4
9
  ---
5
10
 
6
11
  # 支持插件系统
@@ -7,6 +7,12 @@ description: >-
7
7
  capabilities, allowing users to upload or drag and drop images. The assistant
8
8
  will recognize the content and engage in intelligent dialogue, creating a more
9
9
  intelligent and diverse chat environment.
10
+ tags:
11
+ - Visual Recognition
12
+ - LobeChat
13
+ - GPT-4 Vision
14
+ - Google Gemini Pro
15
+ - Multimodal Interaction
10
16
  ---
11
17
 
12
18
  # Supported Models for Visual Recognition
@@ -1,6 +1,12 @@
1
1
  ---
2
2
  title: LobeChat 支持多模态交互:视觉识别助力智能对话
3
3
  description: LobeChat 支持多种具有视觉识别能力的大语言模型,用户可上传或拖拽图片,助手将识别内容并展开智能对话,打造更智能、多元化的聊天场景。
4
+ tags:
5
+ - 视觉识别
6
+ - 多模态交互
7
+ - LobeChat
8
+ - GPT-4
9
+ - Google Gemini Pro
4
10
  ---
5
11
 
6
12
  # 支持模型视觉识别
@@ -4,6 +4,12 @@ description: >-
4
4
  LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies,
5
5
  offering high-quality voice options for a personalized communication
6
6
  experience. Learn more about Lobe TTS Toolkit.
7
+ tags:
8
+ - TTS
9
+ - STT
10
+ - Voice Conversations
11
+ - LobeChat
12
+ - Audio Technology
7
13
  ---
8
14
 
9
15
  # Supporting TTS & STT Voice Conversations
@@ -1,6 +1,13 @@
1
1
  ---
2
2
  title: LobeChat 文生图:文本转图片生成技术
3
3
  description: LobeChat 支持文字转语音(TTS)和语音转文字(STT)技术,提供高品质声音选项,个性化交流体验。了解更多关于 Lobe TTS 工具包。
4
+ tags:
5
+ - TTS
6
+ - STT
7
+ - 语音会话
8
+ - LobeChat
9
+ - 文字转语音
10
+ - 语音转文字
4
11
  ---
5
12
 
6
13
  # 支持 TTS & STT 语音会话
@@ -6,6 +6,12 @@ description: >-
6
6
  assistant for creative purposes. By utilizing AI tools such as DALL-E 3,
7
7
  MidJourney, and Pollinations, assistants can turn your ideas into images,
8
8
  making the creative process more intimate and immersive.
9
+ tags:
10
+ - Text-to-Image
11
+ - LobeChat
12
+ - AI Tools
13
+ - DALL-E 3
14
+ - MidJourney
9
15
  ---
10
16
 
11
17
  # Support for Text-to-Image Generation
@@ -3,6 +3,10 @@ title: LobeChat 文生图:文本转图片生成技术
3
3
  description: >-
4
4
  LobeChat 现在支持最新的文本到图片生成技术,让用户可以在与助手对话中直接调用文生图工具进行创作。利用 DALL-E 3、MidJourney 和
5
5
  Pollinations 等 AI 工具,助手们可以将你的想法转化为图像,让创作过程更私密和沉浸式。
6
+ tags:
7
+ - Text to Image
8
+ - 文生图
9
+ - AI 创作
6
10
  ---
7
11
 
8
12
  # 支持 Text to Image 文生图
@@ -3,6 +3,12 @@ title: LobeChat Supports Multi-User Management with Clerk and Next-Auth
3
3
  description: >-
4
4
  LobeChat offers various user authentication and management solutions,
5
5
  including Clerk and Next-Auth, to meet the diverse needs of different users.
6
+ tags:
7
+ - User Management
8
+ - Next-Auth
9
+ - Clerk
10
+ - Authentication
11
+ - Multi-Factor Authentication
6
12
  ---
7
13
 
8
14
  # Support for Multi-User Management with Clerk and Next-Auth
@@ -1,6 +1,12 @@
1
1
  ---
2
2
  title: LobeChat 支持 Clerk 与 Next-Auth 多用户管理支持
3
3
  description: LobeChat 提供 Clerk 和 Next-Auth 等多种用户认证和管理方案,以满足不同用户的需求。
4
+ tags:
5
+ - 用户管理
6
+ - 身份验证
7
+ - next-auth
8
+ - Clerk
9
+ - 多因素认证
4
10
  ---
5
11
 
6
12
  # 支持 Clerk 与 Next-Auth 多用户管理支持
@@ -1,6 +1,12 @@
1
1
  ---
2
2
  title: LobeChat Supports Ollama for Local Large Language Model (LLM) Calls
3
3
  description: LobeChat v0.127.0 supports using Ollama to call local large language models.
4
+ tags:
5
+ - Ollama AI
6
+ - LobeChat
7
+ - Local LLMs
8
+ - AI Conversations
9
+ - GPT-4
4
10
  ---
5
11
 
6
12
  # Support for Ollama Calls to Local Large Language Models 🦙
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  title: LobeChat 支持 Ollama 调用本地大语言模型(LLM)
3
3
  description: LobeChat vLobeChat v0.127.0 支持 Ollama 调用本地大语言模型。
4
+ tags:
5
+ - Ollama AI
6
+ - LobeChat
7
+ - 大语言模型
8
+ - AI 对话
4
9
  ---
5
10
 
6
11
  # 支持 Ollama 调用本地大语言模型 🦙
@@ -4,6 +4,12 @@ description: >-
4
4
  LobeChat 1.0 brings a brand-new architecture and features for server-side
5
5
  databases and user authentication management, opening up new possibilities. On
6
6
  this basis, LobeChat Cloud has entered beta testing.
7
+ tags:
8
+ - LobeChat
9
+ - Version 1.0
10
+ - Server-Side Database
11
+ - User Authentication
12
+ - Cloud Beta Testing
7
13
  ---
8
14
 
9
15
  # LobeChat 1.0: New Architecture and New Possibilities
@@ -3,6 +3,11 @@ title: LobeChat 1.0:新的架构与新的可能
3
3
  description: >-
4
4
  LobeChat 1.0 带来了服务端数据库、用户鉴权管理的全新架构与特性,开启了新的可能 。在此基础上, LobeChat Cloud 开启 Beta
5
5
  版测试。
6
+ tags:
7
+ - LobeChat
8
+ - 服务端数据库
9
+ - 用户鉴权
10
+ - Beta 测试
6
11
  ---
7
12
 
8
13
  # LobeChat 1.0:新的架构与新的可能
@@ -4,6 +4,11 @@ description: >-
4
4
  LobeChat v1.6 has been released with support for GPT-4o mini, while LobeChat
5
5
  Cloud services have been fully upgraded to provide users with a more powerful
6
6
  AI conversation experience.
7
+ tags:
8
+ - LobeChat
9
+ - GPT-4o Mini
10
+ - AI Conversation
11
+ - Cloud Service
7
12
  ---
8
13
 
9
14
  # GPT-4o Mini Makes a Stunning Debut, Ushering in a New GPT-4 Era 🚀
@@ -3,6 +3,10 @@ title: LobeChat 全面进入 GPT-4 时代:GPT-4o mini 正式上线
3
3
  description: >-
4
4
  LobeChat v1.6 重磅发布 GPT-4o mini 支持,同时 LobeChat Cloud 服务全面升级默认模型,为用户带来更强大的 AI
5
5
  对话体验。
6
+ tags:
7
+ - LobeChat
8
+ - GPT-4o mini
9
+ - AI 对话服务
6
10
  ---
7
11
 
8
12
  # GPT-4o mini 震撼登场,开启全新 GPT-4 时代 🚀
@@ -4,6 +4,12 @@ description: >-
4
4
  LobeChat v1.8.0 launches the official database Docker image, supporting cloud
5
5
  data synchronization and user management, along with comprehensive
6
6
  self-deployment documentation.
7
+ tags:
8
+ - LobeChat
9
+ - Docker Image
10
+ - Cloud Deployment
11
+ - Database
12
+ - Postgres
7
13
  ---
8
14
 
9
15
  # LobeChat Database Docker Image: The Final Piece of the Cloud Deployment Puzzle
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  title: LobeChat Database Docker 镜像正式发布
3
3
  description: LobeChat v1.8.0 推出官方数据库 Docker 镜像,支持云端数据同步与用户管理,并提供完整的自部署文档指南。
4
+ tags:
5
+ - LobeChat
6
+ - Docker 镜像
7
+ - 云端部署
8
+ - 数据库
4
9
  ---
5
10
 
6
11
  # LobeChat Database Docker 镜像:云端部署的最后一块拼图
@@ -6,6 +6,12 @@ description: >-
6
6
  LobeChat introduces a brand new knowledge base feature that supports all types
7
7
  of file management, intelligent vectorization, and file dialogue, making
8
8
  knowledge management and information retrieval easier and smarter.
9
+ tags:
10
+ - LobeChat
11
+ - Knowledge Base
12
+ - File Management
13
+ - Open Source
14
+ - Cloud Version
9
15
  ---
10
16
 
11
17
  # Major Release of Knowledge Base Feature: A Revolution in Intelligent File Management and Dialogue
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  title: LobeChat 重磅发布知识库功能:打造智能文件管理与对话新体验
3
3
  description: LobeChat 推出全新知识库功能,支持全类型文件管理、智能向量化和文件对话,让知识管理和信息检索更轻松、更智能。
4
+ tags:
5
+ - LobeChat
6
+ - 知识库
7
+ - 文件管理
8
+ - 智能处理
4
9
  ---
5
10
 
6
11
  # 知识库功能重磅发布:智能文件管理与对话的革新
@@ -3,6 +3,12 @@ title: LobeChat Perfectly Adapts to OpenAI O1 Series Models
3
3
  description: >-
4
4
  LobeChat v1.17.0 now supports OpenAI's latest o1-preview and o1-mini models,
5
5
  bringing users enhanced coding and mathematical capabilities.
6
+ tags:
7
+ - OpenAI O1
8
+ - LobeChat
9
+ - AI Models
10
+ - Code Writing
11
+ - Mathematical Problem Solving
6
12
  ---
7
13
 
8
14
  # OpenAI O1 Series Models Now Available on LobeChat
@@ -1,6 +1,12 @@
1
1
  ---
2
2
  title: LobeChat 完美适配 OpenAI O1 系列模型
3
3
  description: LobeChat v1.17.0 现已支持 OpenAI 最新发布的 o1-preview 和 o1-mini 模型,为用户带来更强大的代码和数学能力。
4
+ tags:
5
+ - OpenAI O1
6
+ - LobeChat
7
+ - AI 模型
8
+ - 代码编写
9
+ - 数学问题
4
10
  ---
5
11
 
6
12
  # OpenAI O1 系列模型现已登陆 LobeChat
@@ -4,6 +4,12 @@ description: >-
4
4
  LobeChat v1.19 brings significant updates, including full feature support for
5
5
  Claude Artifacts, a brand new discovery page design, and support for GitHub
6
6
  Models providers, greatly enhancing the capabilities of the AI assistant.
7
+ tags:
8
+ - LobeChat
9
+ - AI Assistant
10
+ - Artifacts
11
+ - GitHub Models
12
+ - Interactive Experience
7
13
  ---
8
14
 
9
15
  # Major Update: LobeChat Enters the Era of Artifacts
@@ -3,6 +3,12 @@ title: 重磅更新:LobeChat 迎来 Artifacts 时代
3
3
  description: >-
4
4
  LobeChat v1.19 带来了重大更新,包括 Claude Artifacts 完整特性支持、全新的发现页面设计,以及 GitHub Models
5
5
  服务商支持,让 AI 助手的能力得到显著提升。
6
+ tags:
7
+ - LobeChat
8
+ - Artifacts
9
+ - AI 助手
10
+ - 更新
11
+ - GitHub Models
6
12
  ---
7
13
 
8
14
  # 重磅更新:LobeChat 迎来 Artifacts 时代
@@ -4,6 +4,11 @@ description: >-
4
4
  LobeChat v1.26.0 launches the persistent assistant sidebar feature, supporting
5
5
  quick key switching for easy access to frequently used assistants,
6
6
  significantly enhancing efficiency.
7
+ tags:
8
+ - Persistent Assistant
9
+ - Sidebar Feature
10
+ - User Experience
11
+ - Workflow Optimization
7
12
  ---
8
13
 
9
14
  # Persistent Assistant Sidebar: Creating a More Convenient Conversation Experience
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  title: LobeChat 新增助手常驻侧边栏功能
3
3
  description: LobeChat v1.26.0 推出助手常驻侧边栏功能,支持快捷键切换,让高频使用的助手触手可及,大幅提升使用效率。
4
+ tags:
5
+ - 助手常驻侧边栏
6
+ - 对话体验
7
+ - 工作效率
4
8
  ---
5
9
 
6
10
  # 助手常驻侧边栏:打造更便捷的对话体验
@@ -5,6 +5,10 @@ description: >-
5
5
  and OpenAI format JSON, making it easy to convert conversation content into
6
6
  note materials, development debugging data, and training corpora,
7
7
  significantly enhancing the reusability of conversation content.
8
+ tags:
9
+ - Text Format Export
10
+ - Markdown Export
11
+ - OpenAI JSON
8
12
  ---
9
13
 
10
14
  # Upgraded Conversation Sharing: Support for Text Format Export
@@ -3,6 +3,10 @@ title: LobeChat 支持分享对话为文本格式(Markdown/JSON)
3
3
  description: >-
4
4
  LobeChat v1.28.0 新增 Markdown 和 OpenAI 格式 JSON
5
5
  导出支持,让对话内容能轻松转化为笔记素材、开发调试数据和训练语料,显著提升对话内容的复用价值。
6
+ tags:
7
+ - 对话内容
8
+ - Markdown导出
9
+ - OpenAI JSON
6
10
  ---
7
11
 
8
12
  # 对话内容分享升级:支持文本格式导出
@@ -3,6 +3,13 @@ title: New Model Providers Added to LobeChat in November
3
3
  description: >-
4
4
  LobeChat model providers now support Gitee AI, InternLM (ShuSheng PuYu), xAI,
5
5
  and Cloudflare WorkersAI
6
+ tags:
7
+ - LobeChat
8
+ - AI Model Providers
9
+ - Gitee AI
10
+ - InternLM
11
+ - xAI
12
+ - Cloudflare Workers AI
6
13
  ---
7
14
 
8
15
  # New Model Providers Added to LobeChat in November 🎉
@@ -1,6 +1,13 @@
1
1
  ---
2
2
  title: LobeChat 11 月新增模型服务
3
3
  description: 'LobeChat 模型服务新增支持 Gitee AI, InternLM (书生浦语), xAI, Cloudflare WorkersAI'
4
+ tags:
5
+ - LobeChat
6
+ - AI模型服务
7
+ - Gitee AI
8
+ - InternLM
9
+ - xAI
10
+ - Cloudflare Workers AI
4
11
  ---
5
12
 
6
13
  # LobeChat 11 月新增模型服务支持 🎉
@@ -3,6 +3,10 @@ title: LobeChat Supports Branching Conversations
3
3
  description: >-
4
4
  LobeChat now allows you to create new conversation branches from any message,
5
5
  freeing your thoughts.
6
+ tags:
7
+ - Branching Conversations
8
+ - LobeChat
9
+ - Chat Features
6
10
  ---
7
11
 
8
12
  # Exciting Launch of Branching Conversations Feature 🎉
@@ -1,6 +1,11 @@
1
1
  ---
2
2
  title: LobeChat 支持分支对话
3
3
  description: LobeChat 现已支持从任意消息创建新的对话分支,让您的思维不再受限
4
+ tags:
5
+ - LobeChat
6
+ - 分支对话
7
+ - 对话功能
8
+ - 用户体验
4
9
  ---
5
10
 
6
11
  # 重磅推出分支对话功能 🎉
@@ -3,6 +3,11 @@ title: LobeChat Supports User Data Statistics and Activity Sharing
3
3
  description: >-
4
4
  LobeChat now supports multi-dimensional user data statistics and activity
5
5
  sharing
6
+ tags:
7
+ - LobeChat
8
+ - User Statistics
9
+ - Activity Sharing
10
+ - AI Data
6
11
  ---
7
12
 
8
13
  # User Data Statistics and Activity Sharing 💯
@@ -1,6 +1,10 @@
1
1
  ---
2
2
  title: LobeChat 支持用户数据统计与活跃度分享
3
3
  description: LobeChat 现已支持多维度用户数据统计与活跃度分享
4
+ tags:
5
+ - 用户数据统计
6
+ - 活跃度分享
7
+ - LobeChat
4
8
  ---
5
9
 
6
10
  # 用户数据统计与活跃度分享 💯
@@ -23,4 +27,3 @@ description: LobeChat 现已支持多维度用户数据统计与活跃度分享
23
27
 
24
28
  1. 需要使用 `PgLite` 或 `数据库` 模式
25
29
  2. 点击个人头像进入「账户管理」-「数据统计」页面
26
-
@@ -11,67 +11,51 @@ tags:
11
11
 
12
12
  # Configure Clerk Authentication Service
13
13
 
14
- Go to [Clerk](https://clerk.com?utm_source=lobehub&utm_medium=docs) to register and create an application to obtain the corresponding Public Key and Secret Key.
14
+ Go to [Clerk](https://clerk.com?utm_source=lobehub\&utm_medium=docs) to register and create an application to obtain the corresponding Public Key and Secret Key.
15
15
 
16
16
  ## Get Environment Variables
17
17
 
18
18
  <Steps>
19
+ ### Add Public and Private Key Environment Variables
19
20
 
20
- ### Add Public and Private Key Environment Variables
21
+ Add `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY` environment variables. You can click on the "API Keys" in the menu and copy the corresponding values to get these environment variables.
21
22
 
22
- Add `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY` environment variables. You can click on the "API Keys" in the menu and copy the corresponding values to get these environment variables.
23
+ <Image alt={'Find the corresponding public and private key environment variables in Clerk'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/89883703-7a1a-4a11-b944-5d804544e57c'} />
23
24
 
24
- <Image
25
- alt={'Find the corresponding public and private key environment variables in Clerk'}
26
- src={'https://github.com/lobehub/lobe-chat/assets/28616219/89883703-7a1a-4a11-b944-5d804544e57c'}
27
- />
25
+ The environment variables required for this step are as follows:
28
26
 
29
- The environment variables required for this step are as follows:
27
+ ```shell
28
+ NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_live_xxxxxxxxxxx
29
+ CLERK_SECRET_KEY=sk_live_xxxxxxxxxxxxxxxxxxxxxx
30
+ ```
30
31
 
31
- ```shell
32
- NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_live_xxxxxxxxxxx
33
- CLERK_SECRET_KEY=sk_live_xxxxxxxxxxxxxxxxxxxxxx
34
- ```
32
+ ### Create and Configure Webhook in Clerk
35
33
 
36
- ### Create and Configure Webhook in Clerk
34
+ Since we let Clerk fully handle user authentication and management, we need Clerk to notify our application and store the changes in the user lifecycle (create, update, delete). We achieve this by using the Webhook provided by Clerk.
37
35
 
38
- Since we let Clerk fully handle user authentication and management, we need Clerk to notify our application and store the changes in the user lifecycle (create, update, delete). We achieve this by using the Webhook provided by Clerk.
36
+ We need to add an endpoint in Clerk's Webhooks to inform Clerk to send notifications to this endpoint when a user's information changes.
39
37
 
40
- We need to add an endpoint in Clerk's Webhooks to inform Clerk to send notifications to this endpoint when a user's information changes.
38
+ <Image alt={'Add Webhooks endpoint in Clerk'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/f50f47fb-5e8e-4930-bf4e-8cf6f5b8afb9'} />
41
39
 
42
- <Image
43
- alt={'Add Webhooks endpoint in Clerk'}
44
- src={'https://github.com/lobehub/lobe-chat/assets/28616219/f50f47fb-5e8e-4930-bf4e-8cf6f5b8afb9'}
45
- />
40
+ Fill in your project URL in the endpoint, such as `https://your-project.com/api/webhooks/clerk`. Then, subscribe to events by checking the three user events (`user.created`, `user.deleted`, `user.updated`), and click create.
46
41
 
47
- Fill in your project URL in the endpoint, such as `https://your-project.com/api/webhooks/clerk`. Then, subscribe to events by checking the three user events (`user.created`, `user.deleted`, `user.updated`), and click create.
42
+ <Callout type={'warning'}>
43
+ The `https://` in the URL is essential to maintain the integrity of the URL.
44
+ </Callout>
48
45
 
49
- <Callout type={'warning'}>
46
+ <Image alt={'Configure URL and user events when adding Clerk Webhooks'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/0249ea56-ab17-4aa9-a56c-9ebd556c2645'} />
50
47
 
51
- The `https://` in the URL is essential to maintain the integrity of the URL.
48
+ ### Add Webhook Secret to Environment Variables
52
49
 
53
- </Callout>
50
+ After creating, you can find the secret of this Webhook in the bottom right corner:
54
51
 
55
- <Image
56
- alt={'Configure URL and user events when adding Clerk Webhooks'}
57
- src={'https://github.com/lobehub/lobe-chat/assets/28616219/0249ea56-ab17-4aa9-a56c-9ebd556c2645'}
58
- />
52
+ <Image alt={'View Clerk Webhooks secret'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/fab4abb2-584b-49de-9340-813382951635'} />
59
53
 
60
- ### Add Webhook Secret to Environment Variables
61
-
62
- After creating, you can find the secret of this Webhook in the bottom right corner:
63
-
64
- <Image
65
- alt={'View Clerk Webhooks secret'}
66
- src={'https://github.com/lobehub/lobe-chat/assets/28616219/fab4abb2-584b-49de-9340-813382951635'}
67
- />
68
-
69
- The environment variable corresponding to this secret is `CLERK_WEBHOOK_SECRET`:
70
-
71
- ```shell
72
- CLERK_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxx
73
- ```
54
+ The environment variable corresponding to this secret is `CLERK_WEBHOOK_SECRET`:
74
55
 
56
+ ```shell
57
+ CLERK_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxx
58
+ ```
75
59
  </Steps>
76
60
 
77
61
  By following these steps, you have successfully configured the Clerk authentication service.