LibreChat/client/src/components/svg
Danny Avila 01e9b196bc
🤖 feat: Streamline Endpoints to Agent Framework (#8013)
* refactor(buildEndpointOption): Improve error logging in middleware, consolidate `isAgents` builder logic, remove adding `modelsConfig` to `endpointOption`

* refactor: parameter extraction and organization in agent services, minimize redundancy of shared fields across objects, make clear distinction of parameters processed uniquely by LibreChat vs LLM Provider Configs

* refactor(createPayload): streamline all endpoints to agent route

* fix: add `modelLabel` to response sender options for agent initialization

* chore: correct log message context in EditController abort controller cleanup

* chore: remove unused abortRequest hook

* chore: remove unused addToCache module and its dependencies

* refactor: remove AskController and related routes, update endpoint URLs (now all streamlined to agents route)

* chore: remove unused bedrock route and its related imports

* refactor: simplify response sender logic for Google endpoint

* chore: add `modelDisplayLabel` handling for agents endpoint

* feat: add file search capability to ephemeral agents, update code interpreter selection based of file upload, consolidate main upload menu for all endpoints

* feat: implement useToolToggle hook for managing tool toggle state, refactor CodeInterpreter and WebSearch components to utilize new hook

* feat: add ToolsDropdown component to BadgeRow for enhanced tool options

* feat: introduce BadgeRowContext and BadgeRowProvider for managing conversation state, refactor related components to utilize context

* feat: implement useMCPSelect hook for managing MCP selection state, refactor MCPSelect component to utilize new hook

* feat: enhance BadgeRowContext with MCPSelect and tool toggle functionality, refactor related components to utilize updated context and hooks

* refactor: streamline useToolToggle hook by integrating setEphemeralAgent directly into toggle logic and removing redundant setValue function

* refactor: consolidate codeApiKeyForm and searchApiKeyForm from CodeInterpreter and WebSearch to utilize new context properties

* refactor: update CheckboxButton to support controlled state and enhance ToolsDropdown with permission-based toggles for web search and code interpreter

* refactor: conditionally render CheckboxButton in CodeInterpreter and WebSearch components for improved UI responsiveness

* chore: add jotai dependency to package.json and package-lock.json

* chore: update brace-expansion package to version 2.0.2 in package-lock.json due to CVE-2025-5889

* Revert "chore: add jotai dependency to package.json and package-lock.json"

This reverts commit 69b6997396.

* refactor: add pinning functionality to CodeInterpreter and WebSearch components, and enhance ToolsDropdown with pin toggle for web search and code interpreter

* chore: move MCPIcon to correct location, remove duplicate

* fix: update MCP import to use type-only import from librechat-data-provider

* feat: implement MCPSubMenu component and integrate pinning functionality into ToolsDropdown

* fix: cycling to submenu by using parent menu context

* feat: add FileSearch component and integrate it into BadgeRow and ToolsDropdown

* chore: import order

* chore: remove agent specific logic that would block functionality for streamlined endpoints

* chore: linting for `createContextHandlers`

* chore: ensure ToolsDropdown doesn't show up for agents

* chore: ensure tool resource is selected when dragged to UI

* chore: update file search behavior to simulate legacy functionality

* feat: ToolDialogs with multiple trigger references, add settings to tool dropdown

* refactor: simplify web search and code interpreter settings checks

* chore: simplify local storage key for pinned state in useToolToggle

* refactor: reinstate agent check in AttachFileChat component, as individual providers will ahve different file configurations

* ci: increase timeout for MongoDB connection in Agent tests
2025-06-23 09:59:05 -04:00
..
Files 🗃️ feat: Code Interpreter File Persistence between Sessions (#6790) 2025-04-08 23:18:50 -04:00
AnthropicIcon.tsx chore: Update AnthropicIcon.tsx 2024-03-13 19:00:22 -04:00
AnthropicMinimalIcon.tsx 🧭 refactor: Modernize Nav/Header (#7094) 2025-04-27 14:03:25 -04:00
AppleIcon.tsx 🍎 feat: Apple auth (#5473) 2025-01-31 09:49:09 -05:00
ArchiveIcon.tsx 📧 feat: Mention "@" Command Popover (#2635) 2024-05-07 13:13:55 -04:00
AssistantIcon.tsx feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
AttachmentIcon.tsx WIP: Update UI to match Official Style; Vision and Assistants 👷🏽 (#1190) 2023-11-16 10:42:24 -05:00
AzureMinimalIcon.tsx 🌎 i18n: React-i18next & i18next Integration (#5720) 2025-02-09 12:05:31 -05:00
BedrockIcon.tsx 🪨 feat: AWS Bedrock support (#3935) 2024-09-09 12:06:59 -04:00
BirthdayIcon.tsx 🎨 feat: UI Refresh for Enhanced UX (#6346) 2025-03-25 18:50:58 -04:00
Blocks.tsx feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
CautionIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
ChatGPTMinimalIcon.tsx feat: icons for chat identification (#879) 2023-09-18 15:21:39 -04:00
ChatIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
CheckMark.tsx 🔍 feat: Filter MultiSelect and SelectDropDown (+variants) + CSS fixes for Scrollbar (#2138) 2024-03-19 13:35:10 -04:00
CircleHelpIcon.tsx 🎨 style: settings tab update (#3088) 2024-06-21 09:58:04 -04:00
Clipboard.tsx 🔉 feat: Speech-to-text / Text-to-speech (initial support) (#2836) 2024-05-22 17:19:55 -04:00
CodeyIcon.tsx feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
ContinueIcon.tsx 📈 feat: Chat rating for feedback (#5878) 2025-05-30 12:16:34 -04:00
ConvoIcon.tsx ci: add e2e workflow, optimize client code for testing (#771) 2023-08-08 11:17:15 -04:00
CrossIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
CustomMinimalIcon.tsx 💫 feat: Config File & Custom Endpoints (#1474) 2024-01-03 09:22:48 -05:00
DarkModeIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
DataIcon.tsx 📂 feat: RAG Improvements (#2169) 2024-03-22 19:07:08 -04:00
DiscordIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
DislikeIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
DotsIcon.tsx 🚀feat: Archive conversations (#2590) 2024-05-06 23:07:00 -04:00
EditIcon.tsx 🪨 feat: AWS Bedrock support (#3935) 2024-09-09 12:06:59 -04:00
ExperimentIcon.tsx ✏️ feat: LaTeX parsing for Messages (#1585) 2024-01-18 14:44:10 -05:00
FacebookIcon.tsx feat: facebook login (#820) 2023-08-24 20:10:48 -04:00
GearIcon.tsx 🔥🚀 feat: CDN (Firebase) & feat: account section (#1438) 2023-12-29 21:42:19 -05:00
GeminiIcon.tsx feat: Google Gemini ❇️ (#1355) 2023-12-15 02:18:07 -05:00
GithubIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
GoogleIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
GoogleIconChat.tsx ♾️ style: Infinite Scroll Nav and Sort Convos by Date/Usage (#1708) 2024-02-03 20:25:35 -05:00
GoogleMinimalIcon.tsx feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
GPTIcon.tsx feat: Implement Default Preset Selection for Conversations 📌 (#1275) 2023-12-06 14:00:15 -05:00
index.ts 🤖 feat: Streamline Endpoints to Agent Framework (#8013) 2025-06-23 09:59:05 -04:00
LightModeIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
LightningIcon.tsx WIP: Update UI to match Official Style; Vision and Assistants 👷🏽 (#1190) 2023-11-16 10:42:24 -05:00
LikeIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
LinkIcon.tsx style: update graphics (#1138) 2023-11-16 08:42:03 -05:00
ListeningIcon.tsx 🔉 feat: Speech-to-text / Text-to-speech (initial support) (#2836) 2024-05-22 17:19:55 -04:00
LockIcon.tsx 🚫👤feat: delete user from UI (#1526) 2024-06-05 19:35:12 -04:00
LogOutIcon.tsx style: update graphics (#1138) 2023-11-16 08:42:03 -05:00
MCPIcon.tsx 🤖 feat: Streamline Endpoints to Agent Framework (#8013) 2025-06-23 09:59:05 -04:00
MessagesSquared.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
MinimalPlugin.tsx feat: Implement Default Preset Selection for Conversations 📌 (#1275) 2023-12-06 14:00:15 -05:00
MobileSidebar.tsx 🧭 refactor: Modernize Nav/Header (#7094) 2025-04-27 14:03:25 -04:00
NewChatIcon.tsx 👐 a11y: Misc. Improvements (#3910) 2024-09-05 14:30:17 -04:00
OpenAIMinimalIcon.tsx feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
OpenIDIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
PaLMIcon.tsx feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
PaLMinimalIcon.tsx feat(Google): Support all Text/Chat Models, Response streaming, PaLM -> Google 🤖 (#1316) 2023-12-10 14:54:13 -05:00
PersonalizationIcon.tsx 🧠 feat: User Memories for Conversational Context (#7760) 2025-06-07 18:52:22 -04:00
PinIcon.tsx feat: Implement Default Preset Selection for Conversations 📌 (#1275) 2023-12-06 14:00:15 -05:00
Plugin.tsx feat: Edit AI Messages, Edit Messages in Place (#825) 2023-08-22 18:44:59 -04:00
RegenerateIcon.tsx 🔉 feat: Speech-to-text / Text-to-speech (initial support) (#2836) 2024-05-22 17:19:55 -04:00
RenameIcon.tsx 🔍 feat: Filter MultiSelect and SelectDropDown (+variants) + CSS fixes for Scrollbar (#2138) 2024-03-19 13:35:10 -04:00
SamlIcon.tsx 🔑 feat: SAML authentication (#6169) 2025-05-29 11:00:58 -04:00
SaveIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
SendIcon.tsx WIP: Update UI to match Official Style; Vision and Assistants 👷🏽 (#1190) 2023-11-16 10:42:24 -05:00
SendMessageIcon.tsx style: update graphics (#1138) 2023-11-16 08:42:03 -05:00
Sidebar.tsx 🧭 refactor: Modernize Nav/Header (#7094) 2025-04-27 14:03:25 -04:00
Sparkles.tsx 🚧 chore: merge latest dev build (#4288) 2024-09-30 17:17:57 -04:00
SpeechIcon.tsx 🔉 feat: Speech-to-text / Text-to-speech (initial support) (#2836) 2024-05-22 17:19:55 -04:00
Spinner.tsx 🖼️ feat: Tool Call and Loading UI Refresh, Image Resize Config (#7086) 2025-05-19 19:23:11 -04:00
SquirclePlusIcon.tsx feat: Agent Panel UI Enhancements (#7800) 2025-06-13 15:47:41 -04:00
StopGeneratingIcon.tsx feat(GPT/Anthropic): Continue Regenerating & Generation Buttons (#808) 2023-08-17 12:50:05 -04:00
SunIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
SwitchIcon.tsx refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
ThumbDownIcon.tsx 📈 feat: Chat rating for feedback (#5878) 2025-05-30 12:16:34 -04:00
ThumbUpIcon.tsx 📈 feat: Chat rating for feedback (#5878) 2025-05-30 12:16:34 -04:00
TrashIcon.tsx 🎨 style: update Assistants builder (#3397) 2024-07-21 13:46:43 -04:00
UserIcon.tsx 🔥🚀 feat: CDN (Firebase) & feat: account section (#1438) 2023-12-29 21:42:19 -05:00
VectorIcon.tsx 🤖 feat: Streamline Endpoints to Agent Framework (#8013) 2025-06-23 09:59:05 -04:00
VolumeIcon.tsx 🔉 feat: Speech-to-text / Text-to-speech (initial support) (#2836) 2024-05-22 17:19:55 -04:00
VolumeMuteIcon.tsx 🔉 feat: Speech-to-text / Text-to-speech (initial support) (#2836) 2024-05-22 17:19:55 -04:00
XAIcon.tsx 🧭 refactor: Modernize Nav/Header (#7094) 2025-04-27 14:03:25 -04:00