mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 03:40:14 +01:00
feat: add OAuth servers to conditional rendering logic for MCPPanel in SideNav
This commit is contained in:
parent
ef9d9b1276
commit
49f87016a8
4 changed files with 8 additions and 2 deletions
|
|
@ -155,7 +155,9 @@ export default function useSideNavLinks({
|
|||
if (
|
||||
startupConfig?.mcpServers &&
|
||||
Object.values(startupConfig.mcpServers).some(
|
||||
(server) => server.customUserVars && Object.keys(server.customUserVars).length > 0,
|
||||
(server: any) =>
|
||||
(server.customUserVars && Object.keys(server.customUserVars).length > 0) ||
|
||||
server.isOAuth,
|
||||
)
|
||||
) {
|
||||
links.push({
|
||||
|
|
|
|||
|
|
@ -851,7 +851,6 @@
|
|||
"com_ui_mcp_authenticated_success": "MCP server '{{0}}' authenticated successfully",
|
||||
"com_ui_mcp_dialog_desc": "Please enter the necessary information below.",
|
||||
"com_ui_mcp_enter_var": "Enter value for {{0}}",
|
||||
"com_ui_mcp_init_cancelled": "MCP server '{{0}}' initialization was cancelled due to simultaneous request",
|
||||
"com_ui_mcp_init_failed": "Failed to initialize MCP server",
|
||||
"com_ui_mcp_initialize": "Initialize",
|
||||
"com_ui_mcp_initialized_success": "MCP server '{{0}}' initialized successfully",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue