diff --git a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx index 7458686aa..a17608405 100644 --- a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx +++ b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx @@ -1,13 +1,7 @@ import { - BookOpenIcon, - ChatBubbleLeftIcon, ChevronLeftIcon, - CubeIcon, EllipsisHorizontalIcon, ExclamationTriangleIcon, - PencilIcon, - Squares2X2Icon, - WrenchScrewdriverIcon, } from "@heroicons/react/24/outline"; import { ReactNode, useContext, useEffect, useState } from "react"; import { vscBadgeForeground } from "../../.."; @@ -19,8 +13,6 @@ import { useFontSize } from "../../../ui/font"; import HoverItem from "../../InputToolbar/HoverItem"; import { useLump } from "../LumpContext"; import { ErrorsSectionTooltip } from "../sections/errors/ErrorsSectionTooltip"; -import { McpSectionTooltip } from "../sections/mcp/MCPTooltip"; -import { ToolsSectionTooltip } from "../sections/tool-policies/ToolPoliciesSectionTooltip"; import { usesFreeTrialApiKey } from "core/config/usesFreeTrialApiKey"; import type { FreeTrialStatus } from "core/control-plane/client"; @@ -45,27 +37,6 @@ interface Section { } const sections: Section[] = [ - { id: "models", title: "Models", tooltip: "Models", icon: CubeIcon }, - { id: "rules", title: "Rules", tooltip: "Rules", icon: PencilIcon }, - { id: "docs", title: "Docs", tooltip: "Docs", icon: BookOpenIcon }, - { - id: "prompts", - title: "Prompts", - tooltip: "Prompts", - icon: ChatBubbleLeftIcon, - }, - { - id: "tools", - title: "Tools", - tooltip: , - icon: WrenchScrewdriverIcon, - }, - { - id: "mcp", - title: "MCP", - tooltip: , - icon: Squares2X2Icon, - }, { id: "error", title: "Errors", diff --git a/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx b/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx index 0121fa6de..ae067d7ac 100644 --- a/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx +++ b/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx @@ -208,7 +208,8 @@ function MCPSection() { }, [servers, selectedProfile]); return ( -
+
+

MCP Servers

{mergedBlocks.map(({ block, blockFromYaml }, idx) => ( , icon: , }, + { + id: "models", + label: "Models", + component: ( +
+

Models

+ +
+ ), + icon: , + }, + { + id: "rules", + label: "Rules", + component: ( +
+

Rules

+ +
+ ), + icon: , + }, + { + id: "docs", + label: "Docs", + component: ( +
+

Documentation

+ +
+ ), + icon: , + }, + { + id: "prompts", + label: "Prompts", + component: ( +
+

Prompts

+ +
+ ), + icon: , + }, + { + id: "tools", + label: "Tools", + component: ( +
+

Tool Policies

+ +
+ ), + icon: ( + + ), + }, + { + id: "mcp", + label: "MCP", + component: , + icon: , + }, { id: "indexing", label: "Indexing", @@ -67,7 +142,7 @@ function ConfigPage() { /> {/* Tab Headers */} -
+
{tabs.map((tab) => (