diff --git a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx index f05bbc0f4..507f9aeb7 100644 --- a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx +++ b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx @@ -1,5 +1,4 @@ import { - BookOpenIcon, ChatBubbleLeftIcon, ChevronLeftIcon, CubeIcon, @@ -47,7 +46,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", diff --git a/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx b/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx index ad07a86d6..29feb6680 100644 --- a/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx +++ b/gui/src/components/mainInput/Lump/sections/SelectedSection.tsx @@ -1,6 +1,5 @@ import { useLump } from "../LumpContext"; import { ContextSection } from "./ContextSection"; -import DocsSection from "./docs/DocsSection"; import { ErrorSection } from "./errors/ErrorSection"; import MCPSection from "./mcp/MCPSection"; import { ModelsSection } from "./ModelsSection"; @@ -19,8 +18,6 @@ export function SelectedSection() { return ; case "rules": return ; - case "docs": - return ; case "prompts": return ; case "context": diff --git a/gui/src/pages/config/IndexingSettingsSection.tsx b/gui/src/pages/config/IndexingSettingsSection.tsx index 6df4faed0..2efdfcae9 100644 --- a/gui/src/pages/config/IndexingSettingsSection.tsx +++ b/gui/src/pages/config/IndexingSettingsSection.tsx @@ -1,26 +1,37 @@ +import DocsIndexingStatuses from "../../components/mainInput/Lump/sections/docs/DocsSection"; import { useAppSelector } from "../../redux/hooks"; import IndexingProgress from "./IndexingProgress"; export function IndexingSettingsSection() { const config = useAppSelector((state) => state.config.config); return ( -
+

@codebase index

Local embeddings of your codebase + {config.disableIndexing ? ( +
+

+ Indexing is disabled +

+

+ Open settings and toggle Enable Indexing to re-enable +

+
+ ) : ( + + )}
- {config.disableIndexing ? ( -
-

Indexing is disabled

-

- Open settings and toggle Enable Indexing to re-enable -

-
- ) : ( - - )} + +
+

@docs index

+ + Local embeddings of your documentation sources + +
+
); }