@lobehub/chat 1.97.0 → 1.97.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.97.1](https://github.com/lobehub/lobe-chat/compare/v1.97.0...v1.97.1)
6
+
7
+ <sup>Released on **2025-07-10**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix locale hydration error in SSR.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix locale hydration error in SSR, closes [#8365](https://github.com/lobehub/lobe-chat/issues/8365) ([63f482a](https://github.com/lobehub/lobe-chat/commit/63f482a))
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.97.0](https://github.com/lobehub/lobe-chat/compare/v1.96.20...v1.97.0)
6
31
 
7
32
  <sup>Released on **2025-07-08**</sup>
package/README.md CHANGED
@@ -52,22 +52,26 @@ One-click **FREE** deployment of your private OpenAI ChatGPT/Claude/Gemini/Groq/
52
52
 
53
53
  - [👋🏻 Getting Started & Join Our Community](#-getting-started--join-our-community)
54
54
  - [✨ Features](#-features)
55
- - [`1` Chain of Thought](#1-chain-of-thought)
56
- - [`2` Branching Conversations](#2-branching-conversations)
57
- - [`3` Artifacts Support](#3-artifacts-support)
58
- - [`4` File Upload /Knowledge Base](#4-file-upload-knowledge-base)
59
- - [`5` Multi-Model Service Provider Support](#5-multi-model-service-provider-support)
60
- - [`6` Local Large Language Model (LLM) Support](#6-local-large-language-model-llm-support)
61
- - [`7` Model Visual Recognition](#7-model-visual-recognition)
62
- - [`8` TTS & STT Voice Conversation](#8-tts--stt-voice-conversation)
63
- - [`9` Text to Image Generation](#9-text-to-image-generation)
64
- - [`10` Plugin System (Function Calling)](#10-plugin-system-function-calling)
65
- - [`11` Agent Market (GPTs)](#11-agent-market-gpts)
66
- - [`12` Support Local / Remote Database](#12-support-local--remote-database)
67
- - [`13` Support Multi-User Management](#13-support-multi-user-management)
68
- - [`14` Progressive Web App (PWA)](#14-progressive-web-app-pwa)
69
- - [`15` Mobile Device Adaptation](#15-mobile-device-adaptation)
70
- - [`16` Custom Themes](#16-custom-themes)
55
+ - [ MCP Plugin One-Click Installation](#-mcp-plugin-one-click-installation)
56
+ - [🏪 MCP Marketplace](#-mcp-marketplace)
57
+ - [🖥️ Desktop App](#️-desktop-app)
58
+ - [🌐 Smart Internet Search](#-smart-internet-search)
59
+ - [Chain of Thought](#chain-of-thought)
60
+ - [Branching Conversations](#branching-conversations)
61
+ - [Artifacts Support](#artifacts-support)
62
+ - [File Upload /Knowledge Base](#file-upload-knowledge-base)
63
+ - [Multi-Model Service Provider Support](#multi-model-service-provider-support)
64
+ - [Local Large Language Model (LLM) Support](#local-large-language-model-llm-support)
65
+ - [Model Visual Recognition](#model-visual-recognition)
66
+ - [TTS & STT Voice Conversation](#tts--stt-voice-conversation)
67
+ - [Text to Image Generation](#text-to-image-generation)
68
+ - [Plugin System (Function Calling)](#plugin-system-function-calling)
69
+ - [Agent Market (GPTs)](#agent-market-gpts)
70
+ - [Support Local / Remote Database](#support-local--remote-database)
71
+ - [Support Multi-User Management](#support-multi-user-management)
72
+ - [Progressive Web App (PWA)](#progressive-web-app-pwa)
73
+ - [Mobile Device Adaptation](#mobile-device-adaptation)
74
+ - [Custom Themes](#custom-themes)
71
75
  - [`*` What's more](#-whats-more)
72
76
  - [⚡️ Performance](#️-performance)
73
77
  - [🛳 Self Hosting](#-self-hosting)
@@ -114,9 +118,59 @@ Whether for users or professional developers, LobeHub will be your AI Agent play
114
118
 
115
119
  ## ✨ Features
116
120
 
121
+ Transform your AI experience with LobeChat's powerful features designed for seamless connectivity, enhanced productivity, and unlimited creativity.
122
+
123
+ ![][image-feat-mcp]
124
+
125
+ ### ✨ MCP Plugin One-Click Installation
126
+
127
+ **Seamlessly Connect Your AI to the World**
128
+
129
+ Unlock the full potential of your AI by enabling smooth, secure, and dynamic interactions with external tools, data sources, and services. LobeChat's MCP (Model Context Protocol) plugin system breaks down the barriers between your AI and the digital ecosystem, allowing for unprecedented connectivity and functionality.
130
+
131
+ Transform your conversations into powerful workflows by connecting to databases, APIs, file systems, and more. Experience the freedom of AI that truly understands and interacts with your world.
132
+
133
+ [![][back-to-top]](#readme-top)
134
+
135
+ ![][image-feat-mcp-market]
136
+
137
+ ### 🏪 MCP Marketplace
138
+
139
+ **Discover, Connect, Extend**
140
+
141
+ Browse a growing library of MCP plugins to expand your AI's capabilities and streamline your workflows effortlessly. Visit [lobehub.com/mcp](https://lobehub.com/mcp) to explore the MCP Marketplace, which offers a curated collection of integrations that enhance your AI's ability to work with various tools and services.
142
+
143
+ From productivity tools to development environments, discover new ways to extend your AI's reach and effectiveness. Connect with the community and find the perfect plugins for your specific needs.
144
+
145
+ [![][back-to-top]](#readme-top)
146
+
147
+ ![][image-feat-desktop]
148
+
149
+ ### 🖥️ Desktop App
150
+
151
+ **Peak Performance, Zero Distractions**
152
+
153
+ Get the full LobeChat experience without browser limitations—lightweight, focused, and always ready to go. Our desktop application provides a dedicated environment for your AI interactions, ensuring optimal performance and minimal distractions.
154
+
155
+ Experience faster response times, better resource management, and a more stable connection to your AI assistant. The desktop app is designed for users who demand the best performance from their AI tools.
156
+
157
+ [![][back-to-top]](#readme-top)
158
+
159
+ ![][image-feat-web-search]
160
+
161
+ ### 🌐 Smart Internet Search
162
+
163
+ **Online Knowledge On Demand**
164
+
165
+ With real-time internet access, your AI keeps up with the world—news, data, trends, and more. Stay informed and get the most current information available, enabling your AI to provide accurate and up-to-date responses.
166
+
167
+ Access live information, verify facts, and explore current events without leaving your conversation. Your AI becomes a gateway to the world's knowledge, always current and comprehensive.
168
+
169
+ [![][back-to-top]](#readme-top)
170
+
117
171
  [![][image-feat-cot]][docs-feat-cot]
118
172
 
119
- ### `1` [Chain of Thought][docs-feat-cot]
173
+ ### [Chain of Thought][docs-feat-cot]
120
174
 
121
175
  Experience AI reasoning like never before. Watch as complex problems unfold step by step through our innovative Chain of Thought (CoT) visualization. This breakthrough feature provides unprecedented transparency into AI's decision-making process, allowing you to observe how conclusions are reached in real-time.
122
176
 
@@ -126,7 +180,7 @@ By breaking down complex reasoning into clear, logical steps, you can better und
126
180
 
127
181
  [![][image-feat-branch]][docs-feat-branch]
128
182
 
129
- ### `2` [Branching Conversations][docs-feat-branch]
183
+ ### [Branching Conversations][docs-feat-branch]
130
184
 
131
185
  Introducing a more natural and flexible way to chat with AI. With Branch Conversations, your discussions can flow in multiple directions, just like human conversations do. Create new conversation branches from any message, giving you the freedom to explore different paths while preserving the original context.
132
186
 
@@ -141,7 +195,7 @@ This groundbreaking feature transforms linear conversations into dynamic, tree-l
141
195
 
142
196
  [![][image-feat-artifacts]][docs-feat-artifacts]
143
197
 
144
- ### `3` [Artifacts Support][docs-feat-artifacts]
198
+ ### [Artifacts Support][docs-feat-artifacts]
145
199
 
146
200
  Experience the power of Claude Artifacts, now integrated into LobeChat. This revolutionary feature expands the boundaries of AI-human interaction, enabling real-time creation and visualization of diverse content formats.
147
201
 
@@ -155,7 +209,7 @@ Create and visualize with unprecedented flexibility:
155
209
 
156
210
  [![][image-feat-knowledgebase]][docs-feat-knowledgebase]
157
211
 
158
- ### `4` [File Upload /Knowledge Base][docs-feat-knowledgebase]
212
+ ### [File Upload /Knowledge Base][docs-feat-knowledgebase]
159
213
 
160
214
  LobeChat supports file upload and knowledge base functionality. You can upload various types of files including documents, images, audio, and video, as well as create knowledge bases, making it convenient for users to manage and search for files. Additionally, you can utilize files and knowledge base features during conversations, enabling a richer dialogue experience.
161
215
 
@@ -173,7 +227,7 @@ LobeChat supports file upload and knowledge base functionality. You can upload v
173
227
 
174
228
  [![][image-feat-privoder]][docs-feat-provider]
175
229
 
176
- ### `5` [Multi-Model Service Provider Support][docs-feat-provider]
230
+ ### [Multi-Model Service Provider Support][docs-feat-provider]
177
231
 
178
232
  In the continuous development of LobeChat, we deeply understand the importance of diversity in model service providers for meeting the needs of the community when providing AI conversation services. Therefore, we have expanded our support to multiple model service providers, rather than being limited to a single one, in order to offer users a more diverse and rich selection of conversations.
179
233
 
@@ -246,7 +300,7 @@ At the same time, we are also planning to support more model service providers.
246
300
 
247
301
  [![][image-feat-local]][docs-feat-local]
248
302
 
249
- ### `6` [Local Large Language Model (LLM) Support][docs-feat-local]
303
+ ### [Local Large Language Model (LLM) Support][docs-feat-local]
250
304
 
251
305
  To meet the specific needs of users, LobeChat also supports the use of local models based on [Ollama](https://ollama.ai), allowing users to flexibly use their own or third-party models.
252
306
 
@@ -262,7 +316,7 @@ To meet the specific needs of users, LobeChat also supports the use of local mod
262
316
 
263
317
  [![][image-feat-vision]][docs-feat-vision]
264
318
 
265
- ### `7` [Model Visual Recognition][docs-feat-vision]
319
+ ### [Model Visual Recognition][docs-feat-vision]
266
320
 
267
321
  LobeChat now supports OpenAI's latest [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) model with visual recognition capabilities,
268
322
  a multimodal intelligence that can perceive visuals. Users can easily upload or drag and drop images into the dialogue box,
@@ -280,7 +334,7 @@ Whether it's sharing images in daily use or interpreting images within specific
280
334
 
281
335
  [![][image-feat-tts]][docs-feat-tts]
282
336
 
283
- ### `8` [TTS & STT Voice Conversation][docs-feat-tts]
337
+ ### [TTS & STT Voice Conversation][docs-feat-tts]
284
338
 
285
339
  LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies, enabling our application to convert text messages into clear voice outputs,
286
340
  allowing users to interact with our conversational agent as if they were talking to a real person. Users can choose from a variety of voices to pair with the agent.
@@ -297,7 +351,7 @@ Users can choose the voice that suits their personal preferences or specific sce
297
351
 
298
352
  [![][image-feat-t2i]][docs-feat-t2i]
299
353
 
300
- ### `9` [Text to Image Generation][docs-feat-t2i]
354
+ ### [Text to Image Generation][docs-feat-t2i]
301
355
 
302
356
  With support for the latest text-to-image generation technology, LobeChat now allows users to invoke image creation tools directly within conversations with the agent. By leveraging the capabilities of AI tools such as [`DALL-E 3`](https://openai.com/dall-e-3), [`MidJourney`](https://www.midjourney.com/), and [`Pollinations`](https://pollinations.ai/), the agents are now equipped to transform your ideas into images.
303
357
 
@@ -311,7 +365,7 @@ This enables a more private and immersive creative process, allowing for the sea
311
365
 
312
366
  [![][image-feat-plugin]][docs-feat-plugin]
313
367
 
314
- ### `10` [Plugin System (Function Calling)][docs-feat-plugin]
368
+ ### [Plugin System (Function Calling)][docs-feat-plugin]
315
369
 
316
370
  The plugin ecosystem of LobeChat is an important extension of its core functionality, greatly enhancing the practicality and flexibility of the LobeChat assistant.
317
371
 
@@ -346,7 +400,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
346
400
 
347
401
  [![][image-feat-agent]][docs-feat-agent]
348
402
 
349
- ### `11` [Agent Market (GPTs)][docs-feat-agent]
403
+ ### [Agent Market (GPTs)][docs-feat-agent]
350
404
 
351
405
  In LobeChat Agent Marketplace, creators can discover a vibrant and innovative community that brings together a multitude of well-designed agents,
352
406
  which not only play an important role in work scenarios but also offer great convenience in learning processes.
@@ -385,7 +439,7 @@ Our marketplace is not just a showcase platform but also a collaborative space.
385
439
 
386
440
  [![][image-feat-database]][docs-feat-database]
387
441
 
388
- ### `12` [Support Local / Remote Database][docs-feat-database]
442
+ ### [Support Local / Remote Database][docs-feat-database]
389
443
 
390
444
  LobeChat supports the use of both server-side and local databases. Depending on your needs, you can choose the appropriate deployment solution:
391
445
 
@@ -402,7 +456,7 @@ Regardless of which database you choose, LobeChat can provide you with an excell
402
456
 
403
457
  [![][image-feat-auth]][docs-feat-auth]
404
458
 
405
- ### `13` [Support Multi-User Management][docs-feat-auth]
459
+ ### [Support Multi-User Management][docs-feat-auth]
406
460
 
407
461
  LobeChat supports multi-user management and provides two main user authentication and management solutions to meet different needs:
408
462
 
@@ -420,7 +474,7 @@ Regardless of which user management solution you choose, LobeChat can provide yo
420
474
 
421
475
  [![][image-feat-pwa]][docs-feat-pwa]
422
476
 
423
- ### `14` [Progressive Web App (PWA)][docs-feat-pwa]
477
+ ### [Progressive Web App (PWA)][docs-feat-pwa]
424
478
 
425
479
  We deeply understand the importance of providing a seamless experience for users in today's multi-device environment.
426
480
  Therefore, we have adopted Progressive Web Application ([PWA](https://support.google.com/chrome/answer/9658361)) technology,
@@ -447,7 +501,7 @@ providing smooth animations, responsive layouts, and adapting to different devic
447
501
 
448
502
  [![][image-feat-mobile]][docs-feat-mobile]
449
503
 
450
- ### `15` [Mobile Device Adaptation][docs-feat-mobile]
504
+ ### [Mobile Device Adaptation][docs-feat-mobile]
451
505
 
452
506
  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.
453
507
 
@@ -459,7 +513,7 @@ We have carried out a series of optimization designs for mobile devices to enhan
459
513
 
460
514
  [![][image-feat-theme]][docs-feat-theme]
461
515
 
462
- ### `16` [Custom Themes][docs-feat-theme]
516
+ ### [Custom Themes][docs-feat-theme]
463
517
 
464
518
  As a design-engineering-oriented application, LobeChat places great emphasis on users' personalized experiences,
465
519
  hence introducing flexible and diverse theme modes, including a light mode for daytime and a dark mode for nighttime.
@@ -858,8 +912,11 @@ This project is [Apache 2.0](./LICENSE) licensed.
858
912
  [image-feat-branch]: https://github.com/user-attachments/assets/92f72082-02bd-4835-9c54-b089aad7fd41
859
913
  [image-feat-cot]: https://github.com/user-attachments/assets/f74f1139-d115-4e9c-8c43-040a53797a5e
860
914
  [image-feat-database]: https://github.com/user-attachments/assets/f1697c8b-d1fb-4dac-ba05-153c6295d91d
915
+ [image-feat-desktop]: https://github.com/user-attachments/assets/a7bac8d3-ea96-4000-bb39-fadc9b610f96
861
916
  [image-feat-knowledgebase]: https://github.com/user-attachments/assets/7da7a3b2-92fd-4630-9f4e-8560c74955ae
862
917
  [image-feat-local]: https://github.com/user-attachments/assets/1239da50-d832-4632-a7ef-bd754c0f3850
918
+ [image-feat-mcp]: https://github.com/user-attachments/assets/1be85d36-3975-4413-931f-27e05e440995
919
+ [image-feat-mcp-market]: https://github.com/user-attachments/assets/bb114f9f-24c5-4000-a984-c10d187da5a0
863
920
  [image-feat-mobile]: https://github.com/user-attachments/assets/32cf43c4-96bd-4a4c-bfb6-59acde6fe380
864
921
  [image-feat-plugin]: https://github.com/user-attachments/assets/66a891ac-01b6-4e3f-b978-2eb07b489b1b
865
922
  [image-feat-privoder]: https://github.com/user-attachments/assets/e553e407-42de-4919-977d-7dbfcf44a821
@@ -868,6 +925,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
868
925
  [image-feat-theme]: https://github.com/user-attachments/assets/b47c39f1-806f-492b-8fcb-b0fa973937c1
869
926
  [image-feat-tts]: https://github.com/user-attachments/assets/50189597-2cc3-4002-b4c8-756a52ad5c0a
870
927
  [image-feat-vision]: https://github.com/user-attachments/assets/18574a1f-46c2-4cbc-af2c-35a86e128a07
928
+ [image-feat-web-search]: https://github.com/user-attachments/assets/cfdc48ac-b5f8-4a00-acee-db8f2eba09ad
871
929
  [image-overview]: https://github.com/user-attachments/assets/dbfaa84a-2c82-4dd9-815c-5be616f264a4
872
930
  [image-star]: https://github.com/user-attachments/assets/c3b482e7-cef5-4e94-bef9-226900ecfaab
873
931
  [issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
package/README.zh-CN.md CHANGED
@@ -52,22 +52,26 @@
52
52
 
53
53
  - [👋🏻 开始使用 & 交流](#-开始使用--交流)
54
54
  - [✨ 特性一览](#-特性一览)
55
- - [`1` 思维链 (CoT)](#1-思维链-cot)
56
- - [`2` 分支对话](#2-分支对话)
57
- - [`3` 支持白板 (Artifacts)](#3-支持白板-artifacts)
58
- - [`4` 文件上传 / 知识库](#4-文件上传--知识库)
59
- - [`5` 多模型服务商支持](#5-多模型服务商支持)
60
- - [`6` 支持本地大语言模型 (LLM)](#6-支持本地大语言模型-llm)
61
- - [`7` 模型视觉识别 (Model Visual)](#7-模型视觉识别-model-visual)
62
- - [`8` TTS & STT 语音会话](#8-tts--stt-语音会话)
63
- - [`9` Text to Image 文生图](#9-text-to-image-文生图)
64
- - [`10` 插件系统 (Tools Calling)](#10-插件系统-tools-calling)
65
- - [`11` 助手市场 (GPTs)](#11-助手市场-gpts)
66
- - [`12` 支持本地 / 远程数据库](#12-支持本地--远程数据库)
67
- - [`13` 支持多用户管理](#13-支持多用户管理)
68
- - [`14` 渐进式 Web 应用 (PWA)](#14-渐进式-web-应用-pwa)
69
- - [`15` 移动设备适配](#15-移动设备适配)
70
- - [`16` 自定义主题](#16-自定义主题)
55
+ - [ MCP 插件一键安装](#-mcp-插件一键安装)
56
+ - [🏪 MCP 市场](#-mcp-市场)
57
+ - [🖥️ 桌面应用](#️-桌面应用)
58
+ - [🌐 智能联网搜索](#-智能联网搜索)
59
+ - [思维链 (CoT)](#思维链-cot)
60
+ - [分支对话](#分支对话)
61
+ - [支持白板 (Artifacts)](#支持白板-artifacts)
62
+ - [文件上传 / 知识库](#文件上传--知识库)
63
+ - [多模型服务商支持](#多模型服务商支持)
64
+ - [支持本地大语言模型 (LLM)](#支持本地大语言模型-llm)
65
+ - [模型视觉识别 (Model Visual)](#模型视觉识别-model-visual)
66
+ - [TTS & STT 语音会话](#tts--stt-语音会话)
67
+ - [Text to Image 文生图](#text-to-image-文生图)
68
+ - [插件系统 (Tools Calling)](#插件系统-tools-calling)
69
+ - [助手市场 (GPTs)](#助手市场-gpts)
70
+ - [支持本地 / 远程数据库](#支持本地--远程数据库)
71
+ - [支持多用户管理](#支持多用户管理)
72
+ - [渐进式 Web 应用 (PWA)](#渐进式-web-应用-pwa)
73
+ - [移动设备适配](#移动设备适配)
74
+ - [自定义主题](#自定义主题)
71
75
  - [`*` 更多特性](#-更多特性)
72
76
  - [⚡️ 性能测试](#️-性能测试)
73
77
  - [🛳 开箱即用](#-开箱即用)
@@ -114,9 +118,59 @@
114
118
 
115
119
  ## ✨ 特性一览
116
120
 
121
+ 通过 LobeChat 的强大功能,体验为无缝连接、提升效率和无限创意而设计的全新 AI 体验。
122
+
123
+ ### ✨ MCP 插件一键安装
124
+
125
+ [![](https://github.com/user-attachments/assets/1be85d36-3975-4413-931f-27e05e440995)](https://lobehub.com/mcp)
126
+
127
+ **无缝连接你的 AI 与世界**
128
+
129
+ 通过启用与外部工具、数据源和服务的平滑、安全和动态交互,释放你的 AI 的全部潜力。基于 MCP(模型上下文协议)的插件系统打破了 AI 与数字生态系统之间的壁垒,实现了前所未有的连接性和功能性。
130
+
131
+ 将对话转化为强大的工作流程,连接数据库、API、文件系统等。体验真正理解并与你的世界互动的 AI Agent。
132
+
133
+ [![][back-to-top]](#readme-top)
134
+
135
+ ### 🏪 MCP 市场
136
+
137
+ ![][image-feat-mcp-market]
138
+
139
+ **发现、连接、扩展**
140
+
141
+ 浏览不断增长的 MCP 插件库,轻松扩展你的 AI 能力并简化工作流程。访问 [lobehub.com/mcp](https://lobehub.com/mcp) 探索 MCP 市场,提供精选的集成集合,增强你的 AI 与各种工具和服务协作的能力。
142
+
143
+ 从生产力工具到开发环境,发现扩展 AI 覆盖范围和效率的新方式。与社区连接,找到满足特定需求的完美插件。
144
+
145
+ [![][back-to-top]](#readme-top)
146
+
147
+ ### 🖥️ 桌面应用
148
+
149
+ ![][image-feat-desktop]
150
+
151
+ **巅峰性能,零干扰**
152
+
153
+ 获得完整的 LobeChat 体验,摆脱浏览器限制 —— 轻量级、专注且随时就绪。我们的桌面应用程序为你的 AI 交互提供专用环境,确保最佳性能和最小干扰。
154
+
155
+ 体验更快的响应时间、更好的资源管理和与 AI 助手的更稳定连接。桌面应用专为要求 AI 工具最佳性能的用户设计。
156
+
157
+ [![][back-to-top]](#readme-top)
158
+
159
+ ### 🌐 智能联网搜索
160
+
161
+ ![][image-feat-web-search]
162
+
163
+ **在线知识,按需获取**
164
+
165
+ 通过实时联网访问,你的 AI 与世界保持同步 —— 新闻、数据、趋势等。保持信息更新,获取最新可用信息,使你的 AI 能够提供准确和最新的回复。
166
+
167
+ 访问实时信息,验证事实,探索当前事件,无需离开对话。你的 AI 成为通向世界知识的门户,始终保持最新和全面。
168
+
169
+ [![][back-to-top]](#readme-top)
170
+
117
171
  [![][image-feat-cot]][docs-feat-cot]
118
172
 
119
- ### `1` [思维链 (CoT)][docs-feat-cot]
173
+ ### [思维链 (CoT)][docs-feat-cot]
120
174
 
121
175
  体验前所未有的 AI 推理过程。通过创新的思维链(CoT)可视化功能,您可以实时观察复杂问题是如何一步步被解析的。这项突破性的功能为 AI 的决策过程提供了前所未有的透明度,让您能够清晰地了解结论是如何得出的。
122
176
 
@@ -126,7 +180,7 @@
126
180
 
127
181
  [![][image-feat-branch]][docs-feat-branch]
128
182
 
129
- ### `2` [分支对话][docs-feat-branch]
183
+ ### [分支对话][docs-feat-branch]
130
184
 
131
185
  为您带来更自然、更灵活的 AI 对话方式。通过分支对话功能,您的讨论可以像人类对话一样自然延伸。在任意消息处创建新的对话分支,让您在保留原有上下文的同时,自由探索不同的对话方向。
132
186
 
@@ -141,7 +195,7 @@
141
195
 
142
196
  [![][image-feat-artifacts]][docs-feat-artifacts]
143
197
 
144
- ### `3` [支持白板 (Artifacts)][docs-feat-artifacts]
198
+ ### [支持白板 (Artifacts)][docs-feat-artifacts]
145
199
 
146
200
  体验集成于 LobeChat 的 Claude Artifacts 能力。这项革命性功能突破了 AI 人机交互的边界,让您能够实时创建和可视化各种格式的内容。
147
201
 
@@ -155,7 +209,7 @@
155
209
 
156
210
  [![][image-feat-knowledgebase]][docs-feat-knowledgebase]
157
211
 
158
- ### `4` [文件上传 / 知识库][docs-feat-knowledgebase]
212
+ ### [文件上传 / 知识库][docs-feat-knowledgebase]
159
213
 
160
214
  LobeChat 支持文件上传与知识库功能,你可以上传文件、图片、音频、视频等多种类型的文件,以及创建知识库,方便用户管理和查找文件。同时在对话中使用文件和知识库功能,实现更加丰富的对话体验。
161
215
 
@@ -173,7 +227,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
173
227
 
174
228
  [![][image-feat-privoder]][docs-feat-provider]
175
229
 
176
- ### `5` [多模型服务商支持][docs-feat-provider]
230
+ ### [多模型服务商支持][docs-feat-provider]
177
231
 
178
232
  在 LobeChat 的不断发展过程中,我们深刻理解到在提供 AI 会话服务时模型服务商的多样性对于满足社区需求的重要性。因此,我们不再局限于单一的模型服务商,而是拓展了对多种模型服务商的支持,以便为用户提供更为丰富和多样化的会话选择。
179
233
 
@@ -246,7 +300,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
246
300
 
247
301
  [![][image-feat-local]][docs-feat-local]
248
302
 
249
- ### `6` [支持本地大语言模型 (LLM)][docs-feat-local]
303
+ ### [支持本地大语言模型 (LLM)][docs-feat-local]
250
304
 
251
305
  为了满足特定用户的需求,LobeChat 还基于 [Ollama](https://ollama.ai) 支持了本地模型的使用,让用户能够更灵活地使用自己的或第三方的模型。
252
306
 
@@ -262,7 +316,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
262
316
 
263
317
  [![][image-feat-vision]][docs-feat-vision]
264
318
 
265
- ### `7` [模型视觉识别 (Model Visual)][docs-feat-vision]
319
+ ### [模型视觉识别 (Model Visual)][docs-feat-vision]
266
320
 
267
321
  LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) 支持视觉识别的模型,这是一个具备视觉识别能力的多模态应用。
268
322
  用户可以轻松上传图片或者拖拽图片到对话框中,助手将能够识别图片内容,并在此基础上进行智能对话,构建更智能、更多元化的聊天场景。
@@ -277,7 +331,7 @@ LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.
277
331
 
278
332
  [![][image-feat-tts]][docs-feat-tts]
279
333
 
280
- ### `8` [TTS & STT 语音会话][docs-feat-tts]
334
+ ### [TTS & STT 语音会话][docs-feat-tts]
281
335
 
282
336
  LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Speech-to-Text,STT)技术,这使得我们的应用能够将文本信息转化为清晰的语音输出,用户可以像与真人交谈一样与我们的对话助手进行交流。
283
337
  用户可以从多种声音中选择,给助手搭配合适的音源。 同时,对于那些倾向于听觉学习或者想要在忙碌中获取信息的用户来说,TTS 提供了一个极佳的解决方案。
@@ -292,7 +346,7 @@ LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Spe
292
346
 
293
347
  [![][image-feat-t2i]][docs-feat-t2i]
294
348
 
295
- ### `9` [Text to Image 文生图][docs-feat-t2i]
349
+ ### [Text to Image 文生图][docs-feat-t2i]
296
350
 
297
351
  支持最新的文本到图片生成技术,LobeChat 现在能够让用户在与助手对话中直接调用文生图工具进行创作。
298
352
  通过利用 [`DALL-E 3`](https://openai.com/dall-e-3)、[`MidJourney`](https://www.midjourney.com/) 和 [`Pollinations`](https://pollinations.ai/) 等 AI 工具的能力, 助手们现在可以将你的想法转化为图像。
@@ -306,7 +360,7 @@ LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Spe
306
360
 
307
361
  [![][image-feat-plugin]][docs-feat-plugin]
308
362
 
309
- ### `10` [插件系统 (Tools Calling)][docs-feat-plugin]
363
+ ### [插件系统 (Tools Calling)][docs-feat-plugin]
310
364
 
311
365
  LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 ChatGPT 的实用性和灵活性。
312
366
 
@@ -339,7 +393,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
339
393
 
340
394
  [![][image-feat-agent]][docs-feat-agent]
341
395
 
342
- ### `11` [助手市场 (GPTs)][docs-feat-agent]
396
+ ### [助手市场 (GPTs)][docs-feat-agent]
343
397
 
344
398
  在 LobeChat 的助手市场中,创作者们可以发现一个充满活力和创新的社区,它汇聚了众多精心设计的助手,这些助手不仅在工作场景中发挥着重要作用,也在学习过程中提供了极大的便利。
345
399
  我们的市场不仅是一个展示平台,更是一个协作的空间。在这里,每个人都可以贡献自己的智慧,分享个人开发的助手。
@@ -374,7 +428,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
374
428
 
375
429
  [![][image-feat-database]][docs-feat-database]
376
430
 
377
- ### `12` [支持本地 / 远程数据库][docs-feat-database]
431
+ ### [支持本地 / 远程数据库][docs-feat-database]
378
432
 
379
433
  LobeChat 支持同时使用服务端数据库和本地数据库。根据您的需求,您可以选择合适的部署方案:
380
434
 
@@ -391,7 +445,7 @@ LobeChat 支持同时使用服务端数据库和本地数据库。根据您的
391
445
 
392
446
  [![][image-feat-auth]][docs-feat-auth]
393
447
 
394
- ### `13` [支持多用户管理][docs-feat-auth]
448
+ ### [支持多用户管理][docs-feat-auth]
395
449
 
396
450
  LobeChat 支持多用户管理,提供了两种主要的用户认证和管理方案,以满足不同需求:
397
451
 
@@ -409,7 +463,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
409
463
 
410
464
  [![][image-feat-pwa]][docs-feat-pwa]
411
465
 
412
- ### `14` [渐进式 Web 应用 (PWA)][docs-feat-pwa]
466
+ ### [渐进式 Web 应用 (PWA)][docs-feat-pwa]
413
467
 
414
468
  我们深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,
415
469
  这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。
@@ -422,7 +476,6 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
422
476
  > - 在电脑上运行 Chrome 或 Edge 浏览器 .
423
477
  > - 访问 LobeChat 网页 .
424
478
  > - 在地址栏的右上角,单击 <kbd>安装</kbd> 图标 .
425
- > - 根据屏幕上的指示完成 PWA 的安装 .
426
479
 
427
480
  <div align="right">
428
481
 
@@ -432,7 +485,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
432
485
 
433
486
  [![][image-feat-mobile]][docs-feat-mobile]
434
487
 
435
- ### `15` [移动设备适配][docs-feat-mobile]
488
+ ### [移动设备适配][docs-feat-mobile]
436
489
 
437
490
  针对移动设备进行了一系列的优化设计,以提升用户的移动体验。目前,我们正在对移动端的用户体验进行版本迭代,以实现更加流畅和直观的交互。如果您有任何建议或想法,我们非常欢迎您通过 GitHub Issues 或者 Pull Requests 提供反馈。
438
491
 
@@ -444,7 +497,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
444
497
 
445
498
  [![][image-feat-theme]][docs-feat-theme]
446
499
 
447
- ### `16` [自定义主题][docs-feat-theme]
500
+ ### [自定义主题][docs-feat-theme]
448
501
 
449
502
  作为设计工程师出身,LobeChat 在界面设计上充分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
450
503
  除了主题模式的切换,还提供了一系列的颜色定制选项,允许用户根据自己的喜好来调整应用的主题色彩。无论是想要沉稳的深蓝,还是希望活泼的桃粉,或者是专业的灰白,用户都能够在 LobeChat 中找到匹配自己风格的颜色选择。
@@ -531,7 +584,7 @@ LobeChat 提供了 Vercel 的 自托管版本 和 [Docker 镜像][docker-release
531
584
 
532
585
  #### 保持更新
533
586
 
534
- 如果你根据 README 中的一键部署步骤部署了自己的项目,你可能会发现总是被提示 “有可用更新”。这是因为 Vercel 默认为你创建新项目而非 fork 本项目,这将导致无法准确检测更新。
587
+ 如果你根据 README 中的一键部署步骤部署了自己的项目,你可能会发现总是被提示 "有可用更新"。这是因为 Vercel 默认为你创建新项目而非 fork 本项目,这将导致无法准确检测更新。
535
588
 
536
589
  > \[!TIP]
537
590
  >
@@ -880,8 +933,10 @@ This project is [Apache 2.0](./LICENSE) licensed.
880
933
  [image-feat-branch]: https://github.com/user-attachments/assets/92f72082-02bd-4835-9c54-b089aad7fd41
881
934
  [image-feat-cot]: https://github.com/user-attachments/assets/f74f1139-d115-4e9c-8c43-040a53797a5e
882
935
  [image-feat-database]: https://github.com/user-attachments/assets/f1697c8b-d1fb-4dac-ba05-153c6295d91d
936
+ [image-feat-desktop]: https://github.com/user-attachments/assets/a7bac8d3-ea96-4000-bb39-fadc9b610f96
883
937
  [image-feat-knowledgebase]: https://github.com/user-attachments/assets/7da7a3b2-92fd-4630-9f4e-8560c74955ae
884
938
  [image-feat-local]: https://github.com/user-attachments/assets/1239da50-d832-4632-a7ef-bd754c0f3850
939
+ [image-feat-mcp-market]: https://github.com/user-attachments/assets/bb114f9f-24c5-4000-a984-c10d187da5a0
885
940
  [image-feat-mobile]: https://github.com/user-attachments/assets/32cf43c4-96bd-4a4c-bfb6-59acde6fe380
886
941
  [image-feat-plugin]: https://github.com/user-attachments/assets/66a891ac-01b6-4e3f-b978-2eb07b489b1b
887
942
  [image-feat-privoder]: https://github.com/user-attachments/assets/e553e407-42de-4919-977d-7dbfcf44a821
@@ -890,6 +945,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
890
945
  [image-feat-theme]: https://github.com/user-attachments/assets/b47c39f1-806f-492b-8fcb-b0fa973937c1
891
946
  [image-feat-tts]: https://github.com/user-attachments/assets/50189597-2cc3-4002-b4c8-756a52ad5c0a
892
947
  [image-feat-vision]: https://github.com/user-attachments/assets/18574a1f-46c2-4cbc-af2c-35a86e128a07
948
+ [image-feat-web-search]: https://github.com/user-attachments/assets/cfdc48ac-b5f8-4a00-acee-db8f2eba09ad
893
949
  [image-overview]: https://github.com/user-attachments/assets/dbfaa84a-2c82-4dd9-815c-5be616f264a4
894
950
  [image-star]: https://github.com/user-attachments/assets/c3b482e7-cef5-4e94-bef9-226900ecfaab
895
951
  [issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix locale hydration error in SSR."
6
+ ]
7
+ },
8
+ "date": "2025-07-10",
9
+ "version": "1.97.1"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "features": [
@@ -0,0 +1,53 @@
1
+ ---
2
+ title: LobeChat Desktop Application
3
+ description: >-
4
+ Experience the full power of LobeChat without browser limitations. A
5
+ lightweight, focused, and always-ready desktop app offering a dedicated
6
+ environment and optimal performance.
7
+ tags:
8
+ - Desktop Application
9
+ - Native App
10
+ - Performance Optimization
11
+ - Dedicated Environment
12
+ - Offline Use
13
+ - System Integration
14
+ - User Experience
15
+ ---
16
+
17
+ # Desktop Application
18
+
19
+ <Image alt={'Desktop Application'} borderless cover src={'https://github.com/user-attachments/assets/a7bac8d3-ea96-4000-bb39-fadc9b610f96'}> />
20
+
21
+ **Peak Performance, Zero Distractions**
22
+
23
+ Unlock the full LobeChat experience without the constraints of a browser — lightweight, focused, and always ready. Our desktop application provides a dedicated environment for your AI interactions, ensuring optimal performance with minimal distractions.
24
+
25
+ Enjoy faster response times, better resource management, and a more stable connection to your AI assistant. The desktop app is designed for users who demand the best performance from their AI tools.
26
+
27
+ ## Why Choose the Desktop Application
28
+
29
+ ### 🚀 Superior Performance
30
+
31
+ <Callout type={'tip'}>
32
+ The desktop app delivers faster response times and a smoother user experience compared to the browser version.
33
+ </Callout>
34
+
35
+ - **Dedicated Process**: Runs independently, free from browser limitations
36
+ - **Memory Optimization**: More efficient memory management and resource allocation
37
+ - **GPU Acceleration**: Fully leverages hardware acceleration capabilities
38
+ - **Low Latency**: Reduces network delays and page load times
39
+
40
+ ### 🎯 Focused Experience
41
+
42
+ - **Distraction-Free Environment**: Eliminates interruptions from browser tabs, bookmarks bar, and more
43
+ - **Full-Screen Mode**: Supports immersive, full-screen usage
44
+ - **Quick Launch**: Auto-start on boot, ready whenever you are
45
+ - **Keyboard Shortcuts**: Extensive shortcut support to boost productivity
46
+
47
+ ### 🔒 Secure and Reliable
48
+
49
+ - **Local Storage**: Data securely stored locally for enhanced privacy
50
+ - **Offline Capability**: Partial functionality available offline
51
+ - **Automatic Updates**: Always up to date without manual intervention
52
+ - **Data Backup**: Comprehensive data backup and recovery features
53
+
@@ -0,0 +1,49 @@
1
+ ---
2
+ title: LobeChat 桌面应用
3
+ description: 获得完整的 LobeChat 体验,摆脱浏览器限制。轻量级、专注且随时就绪的桌面应用,提供专用环境和最佳性能。
4
+ tags:
5
+ - 桌面应用
6
+ - 原生应用
7
+ - 性能优化
8
+ - 专用环境
9
+ - 离线使用
10
+ - 系统集成
11
+ - 用户体验
12
+ ---
13
+
14
+ # 桌面应用
15
+
16
+ <Image alt={'桌面应用'} borderless cover src={'https://github.com/user-attachments/assets/a7bac8d3-ea96-4000-bb39-fadc9b610f96'} />
17
+
18
+ **巅峰性能,零干扰**
19
+
20
+ 获得完整的 LobeChat 体验,摆脱浏览器限制 —— 轻量级、专注且随时就绪。我们的桌面应用程序为你的 AI 交互提供专用环境,确保最佳性能和最小干扰。
21
+
22
+ 体验更快的响应时间、更好的资源管理和与 AI 助手的更稳定连接。桌面应用专为要求 AI 工具最佳性能的用户设计。
23
+
24
+ ## 为什么选择桌面应用
25
+
26
+ ### 🚀 卓越性能
27
+
28
+ <Callout type={'tip'}>
29
+ 桌面应用提供比浏览器版本更快的响应速度和更流畅的用户体验。
30
+ </Callout>
31
+
32
+ - **专用进程**:独立运行,不受浏览器限制
33
+ - **内存优化**:更高效的内存管理和资源分配
34
+ - **GPU 加速**:充分利用硬件加速能力
35
+ - **低延迟**:减少网络延迟和页面加载时间
36
+
37
+ ### 🎯 专注体验
38
+
39
+ - **无干扰环境**:摆脱浏览器标签页、书签栏等干扰
40
+ - **全屏模式**:支持全屏和沉浸式体验
41
+ - **快速启动**:开机自启动,随时可用
42
+ - **键盘快捷键**:丰富的快捷键支持,提高操作效率
43
+
44
+ ### 🔒 安全可靠
45
+
46
+ - **本地存储**:数据安全存储在本地,隐私保护更好
47
+ - **离线能力**:部分功能支持离线使用
48
+ - **自动更新**:无需手动更新,始终保持最新版本
49
+ - **数据备份**:完整的数据备份和恢复功能
@@ -0,0 +1,26 @@
1
+ ---
2
+ title: 'MCP Marketplace - Discover, Connect, Expand'
3
+ description: >-
4
+ Browse the ever-growing MCP plugin library to effortlessly enhance your AI
5
+ capabilities and streamline workflows. Explore the MCP Marketplace to find
6
+ curated collections of integrations.
7
+ tags:
8
+ - MCP Marketplace
9
+ - Plugin Library
10
+ - Integrations
11
+ - Extensions
12
+ - Workflows
13
+ - Community
14
+ - Developers
15
+ ---
16
+
17
+ # MCP Marketplace
18
+
19
+ <Image alt={'MCP Marketplace'} borderless cover src={'https://github.com/user-attachments/assets/bb114f9f-24c5-4000-a984-c10d187da5a0'}> />
20
+
21
+ **Discover, Connect, Expand**
22
+
23
+ Browse the ever-growing MCP plugin library to effortlessly enhance your AI capabilities and streamline your workflows. Visit [lobehub.com/mcp](https://lobehub.com/mcp) to explore the MCP Marketplace, featuring curated collections of integrations that empower your AI to collaborate seamlessly with a variety of tools and services.
24
+
25
+ From productivity tools to development environments, discover new ways to extend AI’s reach and efficiency. Connect with the community to find the perfect plugin tailored to your specific needs.
26
+
@@ -0,0 +1,22 @@
1
+ ---
2
+ title: MCP 市场 - 发现、连接、扩展
3
+ description: 浏览不断增长的 MCP 插件库,轻松扩展你的 AI 能力并简化工作流程。探索 MCP 市场,发现精选的集成集合。
4
+ tags:
5
+ - MCP 市场
6
+ - 插件库
7
+ - 集成
8
+ - 扩展
9
+ - 工作流程
10
+ - 社区
11
+ - 开发者
12
+ ---
13
+
14
+ # MCP 市场
15
+
16
+ <Image alt={'MCP 市场'} borderless cover src={'https://github.com/user-attachments/assets/bb114f9f-24c5-4000-a984-c10d187da5a0'} />
17
+
18
+ **发现、连接、扩展**
19
+
20
+ 浏览不断增长的 MCP 插件库,轻松扩展你的 AI 能力并简化工作流程。访问 [lobehub.com/mcp](https://lobehub.com/mcp) 探索 MCP 市场,提供精选的集成集合,增强你的 AI 与各种工具和服务协作的能力。
21
+
22
+ 从生产力工具到开发环境,发现扩展 AI 覆盖范围和效率的新方式。与社区连接,找到满足特定需求的完美插件。
@@ -0,0 +1,58 @@
1
+ ---
2
+ title: MCP Plugin One-Click Installation - Seamlessly Connect AI with the World
3
+ description: >-
4
+ Unlock the full potential of AI through the MCP (Model Context Protocol)
5
+ plugin system, enabling smooth, secure, and dynamic interactions with external
6
+ tools, data sources, and services.
7
+ tags:
8
+ - MCP
9
+ - Model Context Protocol
10
+ - Plugin System
11
+ - One-Click Installation
12
+ - Tool Integration
13
+ - Workflow
14
+ - External Services
15
+ ---
16
+
17
+ # MCP Plugin One-Click Installation
18
+
19
+ <Image alt={'MCP Plugin One-Click Installation'} borderless cover src={'https://github.com/user-attachments/assets/1be85d36-3975-4413-931f-27e05e440995'}> />
20
+
21
+ **Seamlessly Connect Your AI with the World**
22
+
23
+ Unlock the full potential of your AI by enabling smooth, secure, and dynamic interactions with external tools, data sources, and services. The MCP (Model Context Protocol)-based plugin system breaks down barriers between AI and the digital ecosystem, delivering unprecedented connectivity and functionality.
24
+
25
+ Transform conversations into powerful workflows by connecting databases, APIs, file systems, and more. Experience an AI Agent that truly understands and interacts with your world.
26
+
27
+ ## What is MCP (Model Context Protocol)?
28
+
29
+ MCP (Model Context Protocol) is an open protocol standard that provides AI models with a standardized way to access and interact with external resources. Through MCP, AI assistants can:
30
+
31
+ - 🔗 **Secure Connections**: Establish secure links with various tools and services
32
+ - 🔄 **Dynamic Interaction**: Retrieve and update external data in real time
33
+ - 🛡️ **Permission Control**: Manage access rights with fine-grained precision
34
+ - 📊 **Context Awareness**: Maintain rich conversational context information
35
+
36
+ ## Key Features
37
+
38
+ ### 🚀 One-Click Installation Experience
39
+
40
+ <Callout type={'tip'}>
41
+ No complicated setup required—installing and configuring MCP plugins takes just a few clicks.
42
+ </Callout>
43
+
44
+ - **Rapid Deployment**: From discovery to use in under one minute
45
+ - **Automatic Configuration**: The system handles connection and permission settings automatically
46
+ - **Instant Activation**: Ready to use in conversations immediately after installation
47
+
48
+ ### 🔌 Extensive Connectivity
49
+
50
+ MCP plugins support connections to a wide variety of external resources:
51
+
52
+ - **Databases**: MySQL, PostgreSQL, MongoDB, and more
53
+ - **API Services**: REST APIs, GraphQL, WebSocket
54
+ - **File Systems**: Local files, cloud storage, version control
55
+ - **Development Tools**: GitHub, GitLab, Jira, Slack
56
+ - **Office Suites**: Google Workspace, Microsoft 365
57
+ - **Professional Tools**: Docker, Kubernetes, Jenkins
58
+
@@ -0,0 +1,54 @@
1
+ ---
2
+ title: MCP 插件一键安装 - 无缝连接 AI 与世界
3
+ description: 通过 MCP(模型上下文协议)插件系统,释放 AI 的全部潜力,实现与外部工具、数据源和服务的平滑、安全和动态交互。
4
+ tags:
5
+ - MCP
6
+ - 模型上下文协议
7
+ - 插件系统
8
+ - 一键安装
9
+ - 工具集成
10
+ - 工作流程
11
+ - 外部服务
12
+ ---
13
+
14
+ # MCP 插件一键安装
15
+
16
+ <Image alt={'MCP 插件一键安装'} borderless cover src={'https://github.com/user-attachments/assets/1be85d36-3975-4413-931f-27e05e440995'} />
17
+
18
+ **无缝连接你的 AI 与世界**
19
+
20
+ 通过启用与外部工具、数据源和服务的平滑、安全和动态交互,释放你的 AI 的全部潜力。基于 MCP(模型上下文协议)的插件系统打破了 AI 与数字生态系统之间的壁垒,实现了前所未有的连接性和功能性。
21
+
22
+ 将对话转化为强大的工作流程,连接数据库、API、文件系统等。体验真正理解并与你的世界互动的 AI Agent。
23
+
24
+ ## 什么是 MCP(模型上下文协议)?
25
+
26
+ MCP(Model Context Protocol)是一个开放的协议标准,它为 AI 模型提供了一个标准化的方式来访问和交互外部资源。通过 MCP,AI 助手可以:
27
+
28
+ - 🔗 **安全连接**:与各种工具和服务建立安全的连接
29
+ - 🔄 **动态交互**:实时获取和更新外部数据
30
+ - 🛡️ **权限控制**:精细化的访问权限管理
31
+ - 📊 **上下文感知**:维护丰富的对话上下文信息
32
+
33
+ ## 主要特性
34
+
35
+ ### 🚀 一键式安装体验
36
+
37
+ <Callout type={'tip'}>
38
+ 无需复杂的配置过程,只需几次点击即可完成 MCP 插件的安装和配置。
39
+ </Callout>
40
+
41
+ - **快速部署**:从发现到使用,整个过程不超过 1 分钟
42
+ - **自动配置**:系统自动处理连接和权限设置
43
+ - **即时生效**:安装完成后立即可在对话中使用
44
+
45
+ ### 🔌 广泛的连接能力
46
+
47
+ MCP 插件支持连接各种类型的外部资源:
48
+
49
+ - **数据库**:MySQL、PostgreSQL、MongoDB 等
50
+ - **API 服务**:REST API、GraphQL、WebSocket
51
+ - **文件系统**:本地文件、云存储、版本控制
52
+ - **开发工具**:GitHub、GitLab、Jira、Slack
53
+ - **办公软件**:Google Workspace、Microsoft 365
54
+ - **专业工具**:Docker、Kubernetes、Jenkins
@@ -0,0 +1,56 @@
1
+ ---
2
+ title: 'Intelligent Connected Search - Online Knowledge, On Demand'
3
+ description: >-
4
+ Stay synchronized with the world through real-time online access. Obtain the
5
+ latest information, verify facts, and explore current events without leaving
6
+ the conversation.
7
+ tags:
8
+ - Connected Search
9
+ - Real-time Information
10
+ - Search Engines
11
+ - Information Retrieval
12
+ - Fact Verification
13
+ - Real-time Data
14
+ - Knowledge Updates
15
+ ---
16
+
17
+ # Intelligent Connected Search
18
+
19
+ <Image alt={'Intelligent Connected Search'} borderless cover src={'https://github.com/user-attachments/assets/cfdc48ac-b5f8-4a00-acee-db8f2eba09ad'}> />
20
+
21
+ **Online Knowledge, On Demand**
22
+
23
+ Stay in sync with the world through real-time online access — news, data, trends, and more. Keep your information up to date and access the latest available data, enabling your AI to provide accurate and current responses.
24
+
25
+ Access real-time information, verify facts, and explore ongoing events without leaving the conversation. Your AI becomes a gateway to the world’s knowledge, always up-to-date and comprehensive.
26
+
27
+ ## Features Overview
28
+
29
+ ### 🌐 Real-Time Information Access
30
+
31
+ <Callout type={'tip'}>
32
+ Intelligent Connected Search empowers AI to access the latest internet information, ensuring accuracy and timeliness in responses.
33
+ </Callout>
34
+
35
+ - **Breaking News**: Get the latest news reports and event updates
36
+ - **Market Data**: Real-time stock prices, exchange rates, cryptocurrency values
37
+ - **Weather Information**: Global weather forecasts and meteorological data
38
+ - **Traffic Conditions**: Live traffic updates and road status
39
+ - **Sports Events**: Match results, schedules, and statistics
40
+
41
+ ### 🔍 Multi-Source Search Engines
42
+
43
+ Supports multiple search engines to ensure comprehensive and accurate information:
44
+
45
+ - **Google**: The world’s largest search engine
46
+ - **Bing**: Microsoft’s search engine
47
+ - **DuckDuckGo**: Privacy-focused search engine
48
+
49
+ ### 📊 Structured Data Retrieval
50
+
51
+ - **Academic Papers**: Access academic databases and journals
52
+ - **Technical Documentation**: Obtain the latest technical documents and API references
53
+ - **Statistical Data**: Government statistics, survey reports, market research
54
+ - **Product Information**: Product details and reviews from e-commerce platforms
55
+ - **Laws and Regulations**: Latest legal texts and policy interpretations
56
+
@@ -0,0 +1,52 @@
1
+ ---
2
+ title: 智能联网搜索 - 在线知识,按需获取
3
+ description: 通过实时联网访问,你的 AI 与世界保持同步。获取最新信息,验证事实,探索当前事件,无需离开对话。
4
+ tags:
5
+ - 联网搜索
6
+ - 实时信息
7
+ - 搜索引擎
8
+ - 信息获取
9
+ - 事实验证
10
+ - 实时数据
11
+ - 知识更新
12
+ ---
13
+
14
+ # 智能联网搜索
15
+
16
+ <Image alt={'智能联网搜索'} borderless cover src={'https://github.com/user-attachments/assets/cfdc48ac-b5f8-4a00-acee-db8f2eba09ad'} />
17
+
18
+ **在线知识,按需获取**
19
+
20
+ 通过实时联网访问,你的 AI 与世界保持同步 —— 新闻、数据、趋势等。保持信息更新,获取最新可用信息,使你的 AI 能够提供准确和最新的回复。
21
+
22
+ 访问实时信息,验证事实,探索当前事件,无需离开对话。你的 AI 成为通向世界知识的门户,始终保持最新和全面。
23
+
24
+ ## 功能概述
25
+
26
+ ### 🌐 实时信息获取
27
+
28
+ <Callout type={'tip'}>
29
+ 智能联网搜索让 AI 能够访问最新的互联网信息,确保回答的准确性和时效性。
30
+ </Callout>
31
+
32
+ - **实时新闻**:获取最新的新闻报道和事件动态
33
+ - **市场数据**:实时股价、汇率、加密货币价格
34
+ - **天气信息**:全球天气预报和气象数据
35
+ - **交通状况**:实时路况和交通信息
36
+ - **体育赛事**:比赛结果、赛程和统计数据
37
+
38
+ ### 🔍 多源搜索引擎
39
+
40
+ 支持多个搜索引擎,确保信息的全面性和准确性:
41
+
42
+ - **Google**:全球最大的搜索引擎
43
+ - **Bing**:Microsoft 搜索引擎
44
+ - **DuckDuckGo**:注重隐私的搜索引擎
45
+
46
+ ### 📊 结构化数据获取
47
+
48
+ - **学术论文**:访问学术数据库和期刊
49
+ - **技术文档**:获取最新的技术文档和 API 资料
50
+ - **统计数据**:政府统计、调查报告、市场研究
51
+ - **产品信息**:电商平台的产品详情和评价
52
+ - **法律法规**:最新的法律条文和政策解读
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.97.0",
3
+ "version": "1.97.1",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -280,7 +280,7 @@
280
280
  "@commitlint/cli": "^19.8.1",
281
281
  "@edge-runtime/vm": "^5.0.0",
282
282
  "@huggingface/tasks": "^0.15.9",
283
- "@lobehub/i18n-cli": "^1.23.0",
283
+ "@lobehub/i18n-cli": "^1.25.1",
284
284
  "@lobehub/lint": "^1.26.2",
285
285
  "@lobehub/market-types": "^1.11.2",
286
286
  "@lobehub/seo-cli": "^1.6.0",
@@ -5,10 +5,12 @@ import { pino } from '@/libs/logger';
5
5
  import { createAsyncRouteContext } from '@/libs/trpc/async/context';
6
6
  import { asyncRouter } from '@/server/routers/async';
7
7
 
8
- export const maxDuration = 60;
9
-
10
8
  const handler = (req: NextRequest) =>
11
9
  fetchRequestHandler({
10
+ // 避免请求之间互相影响
11
+ // https://github.com/lobehub/lobe-chat/discussions/7442#discussioncomment-13658563
12
+ allowBatching: false,
13
+
12
14
  /**
13
15
  * @link https://trpc.io/docs/v11/context
14
16
  */
@@ -122,6 +122,17 @@ export const agentsToSessionsRelations = relations(agentsToSessions, ({ one }) =
122
122
  }),
123
123
  }));
124
124
 
125
+ export const filesToSessionsRelations = relations(filesToSessions, ({ one }) => ({
126
+ file: one(files, {
127
+ fields: [filesToSessions.fileId],
128
+ references: [files.id],
129
+ }),
130
+ session: one(sessions, {
131
+ fields: [filesToSessions.sessionId],
132
+ references: [sessions.id],
133
+ }),
134
+ }));
135
+
125
136
  export const agentsKnowledgeBasesRelations = relations(agentsKnowledgeBases, ({ one }) => ({
126
137
  knowledgeBase: one(knowledgeBases, {
127
138
  fields: [agentsKnowledgeBases.knowledgeBaseId],
@@ -133,6 +144,39 @@ export const agentsKnowledgeBasesRelations = relations(agentsKnowledgeBases, ({
133
144
  }),
134
145
  }));
135
146
 
147
+ export const agentsFilesRelations = relations(agentsFiles, ({ one }) => ({
148
+ file: one(files, {
149
+ fields: [agentsFiles.fileId],
150
+ references: [files.id],
151
+ }),
152
+ agent: one(agents, {
153
+ fields: [agentsFiles.agentId],
154
+ references: [agents.id],
155
+ }),
156
+ }));
157
+
158
+ export const messagesFilesRelations = relations(messagesFiles, ({ one }) => ({
159
+ file: one(files, {
160
+ fields: [messagesFiles.fileId],
161
+ references: [files.id],
162
+ }),
163
+ message: one(messages, {
164
+ fields: [messagesFiles.messageId],
165
+ references: [messages.id],
166
+ }),
167
+ }));
168
+
169
+ export const fileChunksRelations = relations(fileChunks, ({ one }) => ({
170
+ file: one(files, {
171
+ fields: [fileChunks.fileId],
172
+ references: [files.id],
173
+ }),
174
+ chunk: one(chunks, {
175
+ fields: [fileChunks.chunkId],
176
+ references: [chunks.id],
177
+ }),
178
+ }));
179
+
136
180
  export const sessionsRelations = relations(sessions, ({ many, one }) => ({
137
181
  filesToSessions: many(filesToSessions),
138
182
  agentsToSessions: many(agentsToSessions),
@@ -40,7 +40,8 @@ const Locale = memo<LocaleLayoutProps>(({ children, defaultLang, antdLocale }) =
40
40
 
41
41
  // if run on server side, init i18n instance everytime
42
42
  if (isOnServerSide) {
43
- i18n.init();
43
+ // use sync mode to init instantly
44
+ i18n.init({ initAsync: false });
44
45
 
45
46
  // load the dayjs locale
46
47
  // if (lang) {
@@ -31,8 +31,10 @@ export const createI18nNext = (lang?: string) => {
31
31
  }
32
32
  });
33
33
  return {
34
- init: () =>
35
- instance.init({
34
+ init: (params: { initAsync?: boolean } = {}) => {
35
+ const { initAsync = true } = params;
36
+
37
+ return instance.init({
36
38
  debug: debugMode,
37
39
  defaultNS: ['error', 'common', 'chat'],
38
40
  // detection: {
@@ -50,11 +52,14 @@ export const createI18nNext = (lang?: string) => {
50
52
  // lookupCookie: LOBE_LOCALE_COOKIE,
51
53
  // },
52
54
  fallbackLng: DEFAULT_LANG,
55
+
56
+ initAsync,
53
57
  interpolation: {
54
58
  escapeValue: false,
55
59
  },
56
60
  lng: lang,
57
- }),
61
+ });
62
+ },
58
63
  instance,
59
64
  };
60
65
  };
@@ -1,4 +1,4 @@
1
- import { createTRPCClient, httpBatchLink } from '@trpc/client';
1
+ import { createTRPCClient, httpLink } from '@trpc/client';
2
2
  import superjson from 'superjson';
3
3
  import urlJoin from 'url-join';
4
4
 
@@ -26,7 +26,7 @@ export const createAsyncServerClient = async (userId: string, payload: JWTPayloa
26
26
 
27
27
  return createTRPCClient<AsyncRouter>({
28
28
  links: [
29
- httpBatchLink({
29
+ httpLink({
30
30
  headers,
31
31
  transformer: superjson,
32
32
  url: urlJoin(appEnv.APP_URL!, '/trpc/async'),
@@ -1,7 +1,8 @@
1
1
  import { resolveAcceptLanguage } from 'resolve-accept-language';
2
2
 
3
3
  import { DEFAULT_LANG } from '@/const/locale';
4
- import { locales, normalizeLocale } from '@/locales/resources';
4
+ import { Locales, locales, normalizeLocale } from '@/locales/resources';
5
+ import { RouteVariants } from '@/utils/server/routeVariants';
5
6
 
6
7
  export const getAntdLocale = async (lang?: string) => {
7
8
  let normalLang: any = normalizeLocale(lang);
@@ -44,3 +45,17 @@ export const parseBrowserLanguage = (headers: Headers, defaultLang: string = DEF
44
45
 
45
46
  return browserLang;
46
47
  };
48
+
49
+ /**
50
+ * Parse the page locale from the URL and search
51
+ * used in cloud
52
+ */
53
+ export const parsePageLocale = async (props: {
54
+ params: Promise<{ variants: string }>;
55
+ searchParams: Promise<any>;
56
+ }) => {
57
+ const searchParams = await props.searchParams;
58
+
59
+ const browserLocale = await RouteVariants.getLocale(props);
60
+ return normalizeLocale(searchParams?.hl || browserLocale) as Locales;
61
+ };