Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 15, 2024
2 parents 8f334ba + 36a03aa commit 7cb6eb7
Show file tree
Hide file tree
Showing 11 changed files with 72 additions and 6 deletions.
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,56 @@

# Changelog

### [Version 1.17.6](https://github.com/lobehub/lobe-chat/compare/v1.17.5...v1.17.6)

<sup>Released on **2024-09-15**</sup>

#### ♻ Code Refactoring

- **misc**: Rename artifacts to plugins in portal.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### 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))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>

### [Version 1.17.5](https://github.com/lobehub/lobe-chat/compare/v1.17.4...v1.17.5)

<sup>Released on **2024-09-15**</sup>

#### 💄 Styles

- **misc**: Add MiniCPM-V 8B model entries to Ollama model providers.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### 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))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>

### [Version 1.17.4](https://github.com/lobehub/lobe-chat/compare/v1.17.3...v1.17.4)

<sup>Released on **2024-09-15**</sup>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lobehub/chat",
"version": "1.17.4",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/app/(main)/chat/(workspace)/@portal/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [];
Expand Down
16 changes: 16 additions & 0 deletions src/config/modelProviders/ollama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/features/Conversation/Messages/Tool/Inspector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -113,7 +113,7 @@ const Inspector = memo<InspectorProps>(
<Flexbox horizontal>
{!isMobile && showRightAction && (
<ActionIcon
icon={InspectionPanel}
icon={BetweenVerticalStart}
onClick={() => {
if (!isMessageToolUIOpen) openToolUI(id, identifier);
else {
Expand Down

0 comments on commit 7cb6eb7

Please sign in to comment.