mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
refactor: remove search_surfsense_docs tool and related references
- Deleted the `search_surfsense_docs` tool and its associated files, streamlining the agent's toolset. - Updated various components and prompts to remove references to the now-removed tool, ensuring consistency across the codebase. - Adjusted documentation to direct users to the SurfSense documentation link for product-related queries instead.
This commit is contained in:
parent
9b9e6828c7
commit
40ca9e6ed2
71 changed files with 232 additions and 1676 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { IconUsersGroup } from "@tabler/icons-react";
|
||||
import {
|
||||
BookOpen,
|
||||
Brain,
|
||||
File,
|
||||
FileText,
|
||||
|
|
@ -119,8 +118,6 @@ export const getConnectorIcon = (connectorType: EnumConnectorName | string, clas
|
|||
return <FileText {...iconProps} />;
|
||||
case "EXTENSION":
|
||||
return <Webhook {...iconProps} />;
|
||||
case "SURFSENSE_DOCS":
|
||||
return <BookOpen {...iconProps} />;
|
||||
case "USER_MEMORY":
|
||||
case "TEAM_MEMORY":
|
||||
return <Brain {...iconProps} />;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import {
|
||||
BookOpen,
|
||||
Brain,
|
||||
Calendar,
|
||||
FileEdit,
|
||||
|
|
@ -47,7 +46,6 @@ const TOOL_ICONS: Record<string, LucideIcon> = {
|
|||
// Web / search
|
||||
scrape_webpage: ScanLine,
|
||||
web_search: Globe,
|
||||
search_surfsense_docs: BookOpen,
|
||||
// Automations
|
||||
create_automation: Workflow,
|
||||
// Memory
|
||||
|
|
@ -152,7 +150,6 @@ const TOOL_DISPLAY_NAMES: Record<string, string> = {
|
|||
// Web / search
|
||||
scrape_webpage: "Read webpage",
|
||||
web_search: "Search the web",
|
||||
search_surfsense_docs: "Search knowledge base",
|
||||
// Automations
|
||||
create_automation: "Create automation",
|
||||
// Memory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue