LibreChat/api/server/controllers
Danny Avila 13c7ceb918
📋 fix: Agent Resource Deduplication & Sharing Duplicate False Positive (#7835)
* fix: `primeResources` to Prevent Duplicate Files Across Sources

- Added multiple test cases to ensure that the `primeResources` function correctly handles duplicate files from OCR and attachments, including scenarios with shared files, files without IDs, and duplicates within attachments.
- Implemented logic to categorize files into appropriate tool resources while preventing duplicates across different categories.
- Enhanced error handling and ensured that unique files are returned in the final attachments array.

* fix: Update ToolService to handle single OCR tool case (no loaded tool necessary)

* refactor: Add skipVersioning option to updateAgent for isolated updates

- for now, mainly concerns sharing/unsharing of agents

* chore: Update translation for shared agent message in UI
2025-06-11 14:17:48 -04:00
..
agents 📋 fix: Agent Resource Deduplication & Sharing Duplicate False Positive (#7835) 2025-06-11 14:17:48 -04:00
assistants 🔬 fix: File Search Request Format (Azure Assistants API) (#7404) 2025-05-20 08:43:12 -04:00
auth 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
AskController.js 💬 refactor: MCP Chat Visibility Option, Google Rates, Remove OpenAPI Plugins (#7286) 2025-05-08 12:12:36 -04:00
AuthController.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
Balance.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
EditController.js 🗓️ feat: Add Special Variables for Prompts & Agents, Prompt UI Improvements (#7123) 2025-04-29 03:49:02 -04:00
EndpointController.js refactor: Integrate Capabilities into Agent File Uploads and Tool Handling (#5048) 2024-12-19 13:04:48 -05:00
ErrorController.js 🛡️ : Security Enhancements (#1681) 2024-01-30 14:34:02 -05:00
ModelController.js 🚀 feat: Enhance Model Handling, Logging & xAI Agent Support (#6182) 2025-03-05 12:04:26 -05:00
OverrideController.js 💫 feat: Config File & Custom Endpoints (#1474) 2024-01-03 09:22:48 -05:00
PluginController.js 💬 refactor: MCP Chat Visibility Option, Google Rates, Remove OpenAPI Plugins (#7286) 2025-05-08 12:12:36 -04:00
tools.js 🔎 feat: Native Web Search with Citation References (#7516) 2025-05-23 17:40:40 -04:00
TwoFactorController.js 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
UserController.js 📧 feat: Mailgun API Email Configuration (#7742) 2025-06-04 13:12:37 -04:00