@lobehub/chat 1.17.4 → 1.17.6
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.
Potentially problematic release.
This version of @lobehub/chat might be problematic. Click here for more details.
- package/CHANGELOG.md +50 -0
- package/package.json +1 -1
- package/src/app/(main)/chat/(workspace)/@portal/{Artifacts → Plugins}/index.ts +1 -1
- package/src/app/(main)/chat/(workspace)/@portal/router.tsx +2 -2
- package/src/config/modelProviders/ollama.ts +16 -0
- package/src/features/Conversation/Messages/Tool/Inspector/index.tsx +2 -2
- /package/src/app/(main)/chat/(workspace)/@portal/{Artifacts → Plugins}/Body/ToolRender.tsx +0 -0
- /package/src/app/(main)/chat/(workspace)/@portal/{Artifacts → Plugins}/Body/index.tsx +0 -0
- /package/src/app/(main)/chat/(workspace)/@portal/{Artifacts → Plugins}/Footer.tsx +0 -0
- /package/src/app/(main)/chat/(workspace)/@portal/{Artifacts → Plugins}/Header.tsx +0 -0
- /package/src/app/(main)/chat/(workspace)/@portal/{Artifacts → Plugins}/useEnable.ts +0 -0
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,56 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.17.6](https://github.com/lobehub/lobe-chat/compare/v1.17.5...v1.17.6)
|
6
|
+
|
7
|
+
<sup>Released on **2024-09-15**</sup>
|
8
|
+
|
9
|
+
#### ♻ Code Refactoring
|
10
|
+
|
11
|
+
- **misc**: Rename artifacts to plugins in portal.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Code refactoring
|
19
|
+
|
20
|
+
- **misc**: Rename artifacts to plugins in portal, closes [#3986](https://github.com/lobehub/lobe-chat/issues/3986) ([073b936](https://github.com/lobehub/lobe-chat/commit/073b936))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
30
|
+
### [Version 1.17.5](https://github.com/lobehub/lobe-chat/compare/v1.17.4...v1.17.5)
|
31
|
+
|
32
|
+
<sup>Released on **2024-09-15**</sup>
|
33
|
+
|
34
|
+
#### 💄 Styles
|
35
|
+
|
36
|
+
- **misc**: Add MiniCPM-V 8B model entries to Ollama model providers.
|
37
|
+
|
38
|
+
<br/>
|
39
|
+
|
40
|
+
<details>
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
42
|
+
|
43
|
+
#### Styles
|
44
|
+
|
45
|
+
- **misc**: Add MiniCPM-V 8B model entries to Ollama model providers, closes [#3984](https://github.com/lobehub/lobe-chat/issues/3984) ([f9c26de](https://github.com/lobehub/lobe-chat/commit/f9c26de))
|
46
|
+
|
47
|
+
</details>
|
48
|
+
|
49
|
+
<div align="right">
|
50
|
+
|
51
|
+
[](#readme-top)
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
5
55
|
### [Version 1.17.4](https://github.com/lobehub/lobe-chat/compare/v1.17.3...v1.17.4)
|
6
56
|
|
7
57
|
<sup>Released on **2024-09-15**</sup>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.17.
|
3
|
+
"version": "1.17.6",
|
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",
|
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
import { memo } from 'react';
|
4
4
|
|
5
|
-
import { Artifacts } from './Artifacts';
|
6
5
|
import { FilePreview } from './FilePreview';
|
7
6
|
import { HomeBody, HomeHeader } from './Home';
|
8
7
|
import { MessageDetail } from './MessageDetail';
|
8
|
+
import { Plugins } from './Plugins';
|
9
9
|
|
10
|
-
const items = [MessageDetail,
|
10
|
+
const items = [MessageDetail, Plugins, FilePreview];
|
11
11
|
|
12
12
|
export const PortalHeader = memo(() => {
|
13
13
|
const enabledList: boolean[] = [];
|
@@ -274,6 +274,22 @@ const Ollama: ModelProviderCard = {
|
|
274
274
|
tokens: 4096,
|
275
275
|
vision: true,
|
276
276
|
},
|
277
|
+
{
|
278
|
+
description: 'MiniCPM-V 是 OpenBMB 推出的新一代多模态大模型,具备卓越的 OCR 识别和多模态理解能力,支持广泛的应用场景。',
|
279
|
+
displayName: 'MiniCPM-V 8B',
|
280
|
+
enabled: true,
|
281
|
+
id: 'minicpm-v:8b',
|
282
|
+
tokens: 128_000,
|
283
|
+
vision:true,
|
284
|
+
},
|
285
|
+
{
|
286
|
+
description: 'MiniCPM-V 是 OpenBMB 推出的新一代多模态大模型,具备卓越的 OCR 识别和多模态理解能力,支持广泛的应用场景。',
|
287
|
+
displayName: 'MiniCPM-V 8B',
|
288
|
+
enabled: true,
|
289
|
+
id: 'minicpm-v',
|
290
|
+
tokens: 128_000,
|
291
|
+
vision:true,
|
292
|
+
},
|
277
293
|
],
|
278
294
|
defaultShowBrowserRequest: true,
|
279
295
|
description:
|
@@ -3,7 +3,7 @@ import { ActionIcon, Highlighter, Icon, Tag } from '@lobehub/ui';
|
|
3
3
|
import { Tabs, Typography } from 'antd';
|
4
4
|
import isEqual from 'fast-deep-equal';
|
5
5
|
import {
|
6
|
-
|
6
|
+
BetweenVerticalStart,
|
7
7
|
LucideBug,
|
8
8
|
LucideBugOff,
|
9
9
|
LucideChevronDown,
|
@@ -113,7 +113,7 @@ const Inspector = memo<InspectorProps>(
|
|
113
113
|
<Flexbox horizontal>
|
114
114
|
{!isMobile && showRightAction && (
|
115
115
|
<ActionIcon
|
116
|
-
icon={
|
116
|
+
icon={BetweenVerticalStart}
|
117
117
|
onClick={() => {
|
118
118
|
if (!isMessageToolUIOpen) openToolUI(id, identifier);
|
119
119
|
else {
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|