LibreChat/api/app/clients/tools/util
Danny Avila 5b1a31ef4d
🔄 refactor: Optimize MCP Tool Initialization
🔄 refactor: Optimize MCP Tool Initialization

fix: update tool caching to use separated mcp logic

refactor: Replace `req.user` with `userId` in MCP handling functions

refactor: Replace `req` parameter with `userId` in file search tool functions

fix: Update user connection parameter to use object format in reinitMCPServer

refactor: Simplify MCP tool creation logic and improve handling of tool configurations to avoid capturing too much in closures

refactor: ensure MCP available tools are fetched from cache only when needed
2025-09-21 20:31:28 -04:00
..
fileSearch.js 🔄 refactor: Optimize MCP Tool Initialization 2025-09-21 20:31:28 -04:00
handleOpenAIErrors.js 🔧 refactor: Improve Agent Context & Minor Fixes (#5349) 2025-01-17 12:55:48 -05:00
handleTools.js 🔄 refactor: Optimize MCP Tool Initialization 2025-09-21 20:31:28 -04:00
handleTools.test.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
index.js 🔍 feat: Mistral OCR API / Upload Files as Text (#6274) 2025-03-10 17:23:46 -04:00