@lobehub/chat 1.82.3 → 1.82.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.82.4](https://github.com/lobehub/lobe-chat/compare/v1.82.3...v1.82.4)
6
+
7
+ <sup>Released on **2025-04-24**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix hydration error.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix hydration error, closes [#7535](https://github.com/lobehub/lobe-chat/issues/7535) ([e130855](https://github.com/lobehub/lobe-chat/commit/e130855))
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.82.3](https://github.com/lobehub/lobe-chat/compare/v1.82.2...v1.82.3)
6
31
 
7
32
  <sup>Released on **2025-04-24**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Fix hydration error."
6
+ ]
7
+ },
8
+ "date": "2025-04-24",
9
+ "version": "1.82.4"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "fixes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.82.3",
3
+ "version": "1.82.4",
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",
@@ -264,13 +264,13 @@ class _MessageModel extends BaseModel {
264
264
  translate,
265
265
  tts,
266
266
  ...item
267
- }: DBModel<DB_Message>): ChatMessage => {
267
+ }: DBModel<DB_Message>) => {
268
268
  return {
269
269
  ...item,
270
270
  extra: { fromModel, fromProvider, translate, tts },
271
271
  meta: {},
272
272
  topicId: item.topicId ?? undefined,
273
- };
273
+ } as ChatMessage;
274
274
  };
275
275
  }
276
276
 
@@ -11,7 +11,7 @@ const PluginSchema = z.object({
11
11
  identifier: z.string(),
12
12
  arguments: z.string(),
13
13
  apiName: z.string(),
14
- type: z.enum(['default', 'markdown', 'standalone', 'builtin']).default('default'),
14
+ type: z.enum(['default', 'markdown', 'standalone', 'builtin', 'mcp']).default('default'),
15
15
  });
16
16
 
17
17
  const ToolCallSchema = PluginSchema.extend({
@@ -1,11 +0,0 @@
1
- import { PropsWithChildren } from 'react';
2
-
3
- const Layout = ({ children }: PropsWithChildren) => {
4
- return (
5
- <html>
6
- <body>{children}</body>
7
- </html>
8
- );
9
- };
10
-
11
- export default Layout;
@@ -1 +0,0 @@
1
- export { default } from '@/components/404';