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 7fb0b5443c6a9..f35830853735b 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 bb02707bf844d..f5101a776e774 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 05c6907916bbc..6be69f1a74595 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 {