LibreChat/client/src/components/SidePanel/Builder
Danny Avila 4419e2c294
feat: Agent Panel UI Enhancements (#7800)
* feat: add MCP Panel to Agent Builder

- Add MCP server panel and configuration UI
- Implement MCP input forms and tool lists
- Add MCP icon and metadata support
- Integrate MCP with agent configuration
- Add localization support for MCP features
- Refactor components for better reusability
- Update types and add MCP-related mutations
- Fix small issues with Actions and AgentSelect
- Refactor AgentPanelSwitch and related components to use new
  AgentPanelContext to reduce prop drilling

* chore: import order

* chore: clean up import statements and unused var in ActionsPanel component

* refactor: AgentPanelContext with actions query, remove unnecessary `actions` state

- Added actions query using `useGetActionsQuery` to fetch actions based on the current agent ID.
- Removed now unused `setActions` state and related logic from `AgentPanelContext` and `AgentPanelSwitch` components.
- Updated `AgentPanelContextType` to reflect the removal of `setActions`.

* chore: re-order import statements in AgentConfig component

* chore: re-order import statements in ModelPanel component

* chore: update ModelPanel props to consolidated props to avoid passing unnecessary props

* chore: update import statements in Providers index file to include ToastProvider and AgentPanelContext exports

* chore: clean up import statements in VersionPanel component

* refactor: streamline AgentConfig and AgentPanel components

- Consolidated props in AgentConfig to only include necessary fields.
- Updated AgentPanel to remove unused state and props, enhancing clarity and maintainability.
- Reorganized import statements for better structure and readability.

* refactor: replace default agent form values with utility function

- Updated AgentsProvider, AgentPanel, AgentSelect, and DeleteButton components to use getDefaultAgentFormValues utility function instead of directly importing defaultAgentFormValues.
- Enhanced the initialization of agent forms by incorporating localStorage values for model and provider in the new utility function.

* chore: comment out rendering MCPSection

---------

Co-authored-by: Dustin Healy <54083382+dustinhealy@users.noreply.github.com>
2025-06-13 15:47:41 -04:00
..
ActionsTable feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
Action.tsx 🪨 feat: AWS Bedrock support (#3935) 2024-09-09 12:06:59 -04:00
ActionCallback.tsx feat: OAuth for Actions (#5693) 2025-02-10 15:56:08 -05:00
ActionsAuth.tsx 🔄 chore: Enforce 18next Language Keys (#5803) 2025-02-12 15:48:13 -05:00
ActionsInput.tsx feat: OAuth for Actions (#5693) 2025-02-10 15:56:08 -05:00
ActionsPanel.tsx feat: OAuth for Actions (#5693) 2025-02-10 15:56:08 -05:00
AppendDateCheckbox.tsx feat: Add Current Datetime to Assistants (v1/v2) (#4952) 2024-12-11 15:26:18 -05:00
AssistantAvatar.tsx 🌎 i18n: React-i18next & i18next Integration (#5720) 2025-02-09 12:05:31 -05:00
AssistantConversationStarters.tsx 💡 style: switched to Ariakit's tooltip (#3748) 2024-09-13 08:59:09 -04:00
AssistantPanel.tsx 🎥 feat: YouTube Tool (#5582) 2025-01-31 19:11:04 -05:00
AssistantSelect.tsx 🎥 feat: YouTube Tool (#5582) 2025-01-31 19:11:04 -05:00
AssistantTool.tsx 🚧 WIP: Merge Dev Build (#4611) 2024-11-01 18:36:39 -04:00
CapabilitiesForm.tsx 🎨 style: update Assistants builder (#3397) 2024-07-21 13:46:43 -04:00
Code.tsx 🤖 feat: Add Agents librechat.yaml Configuration (#4953) 2024-12-12 08:58:00 -05:00
CodeFiles.tsx 🎉 feat: Code Interpreter API and Agents Release (#4860) 2024-12-04 15:48:13 -05:00
ContextButton.tsx 🧹 chore: pre-release cleanup 2 (#3600) 2024-08-09 15:17:13 -04:00
Images.tsx 🤖 feat: OpenAI Assistants v2 (initial support) (#2781) 2024-05-19 12:56:55 -04:00
ImageVision.tsx 🌎 i18n: React-i18next & i18next Integration (#5720) 2025-02-09 12:05:31 -05:00
Knowledge.tsx ⬆️ feat: Cancel chat file uploads; fix: Assistant uploads (#4433) 2024-10-16 11:24:40 -04:00
MCP.tsx feat: Agent Panel UI Enhancements (#7800) 2025-06-13 15:47:41 -04:00
MCPAuth.tsx feat: Agent Panel UI Enhancements (#7800) 2025-06-13 15:47:41 -04:00
PanelSwitch.tsx 🛂 feat: OpenID Logout Redirect to end_session_endpoint (#5626) 2025-02-03 10:53:04 -05:00
Retrieval.tsx 🌎 i18n: React-i18next & i18next Integration (#5720) 2025-02-09 12:05:31 -05:00