From f9c26de46b42f196237b9e2cc3eb8cc0c0c4b62e Mon Sep 17 00:00:00 2001 From: cr-zhichen <57337795+cr-zhichen@users.noreply.github.com> Date: Mon, 16 Sep 2024 00:53:11 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=92=84=20style:=20Add=20MiniCPM-V=208?= =?UTF-8?q?B=20model=20entries=20to=20Ollama=20model=20providers=20(#3984)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(modelProviders): Add MiniCPM 8B to Ollama model providers This commit adds two new entries for MiniCPM 8B to the Ollama model providers. These models have excellent OCR recognition and multimodal understanding capabilities, supporting a wide range of applications. - Added MiniCPM 8B model entry with ID 'minicpm-v:8b' and 128,000 tokens - Added another MiniCPM 8B model entry with ID 'minicpm-v' and 128,000 tokens * feat(modelProviders): Update MiniCPM-V display name and description --- src/config/modelProviders/ollama.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/config/modelProviders/ollama.ts b/src/config/modelProviders/ollama.ts index b6b1bde02242..99eaafae1d45 100644 --- a/src/config/modelProviders/ollama.ts +++ b/src/config/modelProviders/ollama.ts @@ -274,6 +274,22 @@ const Ollama: ModelProviderCard = { tokens: 4096, vision: true, }, + { + description: 'MiniCPM-V 是 OpenBMB 推出的新一代多模态大模型,具备卓越的 OCR 识别和多模态理解能力,支持广泛的应用场景。', + displayName: 'MiniCPM-V 8B', + enabled: true, + id: 'minicpm-v:8b', + tokens: 128_000, + vision:true, + }, + { + description: 'MiniCPM-V 是 OpenBMB 推出的新一代多模态大模型,具备卓越的 OCR 识别和多模态理解能力,支持广泛的应用场景。', + displayName: 'MiniCPM-V 8B', + enabled: true, + id: 'minicpm-v', + tokens: 128_000, + vision:true, + }, ], defaultShowBrowserRequest: true, description: From dd9122f8e09cafe851c18c2091a0ea60077513aa Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 15 Sep 2024 17:00:14 +0000 Subject: [PATCH 2/4] :bookmark: chore(release): v1.17.5 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### [Version 1.17.5](https://github.com/lobehub/lobe-chat/compare/v1.17.4...v1.17.5) Released on **2024-09-15** #### 💄 Styles - **misc**: Add MiniCPM-V 8B model entries to Ollama model providers.
Improvements and Fixes #### Styles * **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))
[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
--- CHANGELOG.md | 25 +++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c1581798bce..c247b247bdd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ # Changelog +### [Version 1.17.5](https://github.com/lobehub/lobe-chat/compare/v1.17.4...v1.17.5) + +Released on **2024-09-15** + +#### 💄 Styles + +- **misc**: Add MiniCPM-V 8B model entries to Ollama model providers. + +
+ +
+Improvements and Fixes + +#### Styles + +- **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)) + +
+ +
+ +[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) + +
+ ### [Version 1.17.4](https://github.com/lobehub/lobe-chat/compare/v1.17.3...v1.17.4) Released on **2024-09-15** diff --git a/package.json b/package.json index 2b01a37f1ab1..c1ac8d19c103 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lobehub/chat", - "version": "1.17.4", + "version": "1.17.5", "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.", "keywords": [ "framework", From 073b936401ad08a475a1541eb10df6f6b3b9b2d9 Mon Sep 17 00:00:00 2001 From: Arvin Xu Date: Mon, 16 Sep 2024 01:03:00 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20rename=20a?= =?UTF-8?q?rtifacts=20to=20plugins=20in=20portal=20(#3986)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ♻️ refactor: rename to plugins * 💄 style: use another icon --- .../@portal/{Artifacts => Plugins}/Body/ToolRender.tsx | 0 .../(workspace)/@portal/{Artifacts => Plugins}/Body/index.tsx | 0 .../(workspace)/@portal/{Artifacts => Plugins}/Footer.tsx | 0 .../(workspace)/@portal/{Artifacts => Plugins}/Header.tsx | 0 .../chat/(workspace)/@portal/{Artifacts => Plugins}/index.ts | 2 +- .../(workspace)/@portal/{Artifacts => Plugins}/useEnable.ts | 0 src/app/(main)/chat/(workspace)/@portal/router.tsx | 4 ++-- src/features/Conversation/Messages/Tool/Inspector/index.tsx | 4 ++-- 8 files changed, 5 insertions(+), 5 deletions(-) rename src/app/(main)/chat/(workspace)/@portal/{Artifacts => Plugins}/Body/ToolRender.tsx (100%) rename src/app/(main)/chat/(workspace)/@portal/{Artifacts => Plugins}/Body/index.tsx (100%) rename src/app/(main)/chat/(workspace)/@portal/{Artifacts => Plugins}/Footer.tsx (100%) rename src/app/(main)/chat/(workspace)/@portal/{Artifacts => Plugins}/Header.tsx (100%) rename src/app/(main)/chat/(workspace)/@portal/{Artifacts => Plugins}/index.ts (83%) rename src/app/(main)/chat/(workspace)/@portal/{Artifacts => Plugins}/useEnable.ts (100%) diff --git a/src/app/(main)/chat/(workspace)/@portal/Artifacts/Body/ToolRender.tsx b/src/app/(main)/chat/(workspace)/@portal/Plugins/Body/ToolRender.tsx similarity index 100% rename from src/app/(main)/chat/(workspace)/@portal/Artifacts/Body/ToolRender.tsx rename to src/app/(main)/chat/(workspace)/@portal/Plugins/Body/ToolRender.tsx diff --git a/src/app/(main)/chat/(workspace)/@portal/Artifacts/Body/index.tsx b/src/app/(main)/chat/(workspace)/@portal/Plugins/Body/index.tsx similarity index 100% rename from src/app/(main)/chat/(workspace)/@portal/Artifacts/Body/index.tsx rename to src/app/(main)/chat/(workspace)/@portal/Plugins/Body/index.tsx diff --git a/src/app/(main)/chat/(workspace)/@portal/Artifacts/Footer.tsx b/src/app/(main)/chat/(workspace)/@portal/Plugins/Footer.tsx similarity index 100% rename from src/app/(main)/chat/(workspace)/@portal/Artifacts/Footer.tsx rename to src/app/(main)/chat/(workspace)/@portal/Plugins/Footer.tsx diff --git a/src/app/(main)/chat/(workspace)/@portal/Artifacts/Header.tsx b/src/app/(main)/chat/(workspace)/@portal/Plugins/Header.tsx similarity index 100% rename from src/app/(main)/chat/(workspace)/@portal/Artifacts/Header.tsx rename to src/app/(main)/chat/(workspace)/@portal/Plugins/Header.tsx diff --git a/src/app/(main)/chat/(workspace)/@portal/Artifacts/index.ts b/src/app/(main)/chat/(workspace)/@portal/Plugins/index.ts similarity index 83% rename from src/app/(main)/chat/(workspace)/@portal/Artifacts/index.ts rename to src/app/(main)/chat/(workspace)/@portal/Plugins/index.ts index 7fb0b5443c6a..f35830853735 100644 --- a/src/app/(main)/chat/(workspace)/@portal/Artifacts/index.ts +++ b/src/app/(main)/chat/(workspace)/@portal/Plugins/index.ts @@ -2,7 +2,7 @@ import Body from './Body'; import Header from './Header'; import { useEnable } from './useEnable'; -export const Artifacts = { +export const Plugins = { Body, Header, useEnable, diff --git a/src/app/(main)/chat/(workspace)/@portal/Artifacts/useEnable.ts b/src/app/(main)/chat/(workspace)/@portal/Plugins/useEnable.ts similarity index 100% rename from src/app/(main)/chat/(workspace)/@portal/Artifacts/useEnable.ts rename to src/app/(main)/chat/(workspace)/@portal/Plugins/useEnable.ts diff --git a/src/app/(main)/chat/(workspace)/@portal/router.tsx b/src/app/(main)/chat/(workspace)/@portal/router.tsx index bb02707bf844..f5101a776e77 100644 --- a/src/app/(main)/chat/(workspace)/@portal/router.tsx +++ b/src/app/(main)/chat/(workspace)/@portal/router.tsx @@ -2,12 +2,12 @@ import { memo } from 'react'; -import { Artifacts } from './Artifacts'; import { FilePreview } from './FilePreview'; import { HomeBody, HomeHeader } from './Home'; import { MessageDetail } from './MessageDetail'; +import { Plugins } from './Plugins'; -const items = [MessageDetail, Artifacts, FilePreview]; +const items = [MessageDetail, Plugins, FilePreview]; export const PortalHeader = memo(() => { const enabledList: boolean[] = []; diff --git a/src/features/Conversation/Messages/Tool/Inspector/index.tsx b/src/features/Conversation/Messages/Tool/Inspector/index.tsx index 05c6907916bb..6be69f1a7459 100644 --- a/src/features/Conversation/Messages/Tool/Inspector/index.tsx +++ b/src/features/Conversation/Messages/Tool/Inspector/index.tsx @@ -3,7 +3,7 @@ import { ActionIcon, Highlighter, Icon, Tag } from '@lobehub/ui'; import { Tabs, Typography } from 'antd'; import isEqual from 'fast-deep-equal'; import { - InspectionPanel, + BetweenVerticalStart, LucideBug, LucideBugOff, LucideChevronDown, @@ -113,7 +113,7 @@ const Inspector = memo( {!isMobile && showRightAction && ( { if (!isMessageToolUIOpen) openToolUI(id, identifier); else { From 36a03aaa2130acc92f41e5447555533bd014f715 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 15 Sep 2024 17:09:49 +0000 Subject: [PATCH 4/4] :bookmark: chore(release): v1.17.6 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### [Version 1.17.6](https://github.com/lobehub/lobe-chat/compare/v1.17.5...v1.17.6) Released on **2024-09-15** #### ♻ Code Refactoring - **misc**: Rename artifacts to plugins in portal.
Improvements and Fixes #### Code refactoring * **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))
[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
--- CHANGELOG.md | 25 +++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c247b247bdd0..e0d3a423c743 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ # Changelog +### [Version 1.17.6](https://github.com/lobehub/lobe-chat/compare/v1.17.5...v1.17.6) + +Released on **2024-09-15** + +#### ♻ Code Refactoring + +- **misc**: Rename artifacts to plugins in portal. + +
+ +
+Improvements and Fixes + +#### Code refactoring + +- **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)) + +
+ +
+ +[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) + +
+ ### [Version 1.17.5](https://github.com/lobehub/lobe-chat/compare/v1.17.4...v1.17.5) Released on **2024-09-15** diff --git a/package.json b/package.json index c1ac8d19c103..cfbd627cc26b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lobehub/chat", - "version": "1.17.5", + "version": "1.17.6", "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.", "keywords": [ "framework",