LibreChat/packages/api/src/agents
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
..
config.ts 🧑‍💻 fix: Agents Config Defaults and Avatar Uploads Across File Strategies (#7814) 2025-06-10 09:53:15 -04:00
index.ts 🧑‍💻 fix: Agents Config Defaults and Avatar Uploads Across File Strategies (#7814) 2025-06-10 09:53:15 -04:00
memory.ts 🧠 feat: User Memories for Conversational Context (#7760) 2025-06-07 18:52:22 -04:00
resources.test.ts 📋 fix: Agent Resource Deduplication & Sharing Duplicate False Positive (#7835) 2025-06-11 14:17:48 -04:00
resources.ts 📋 fix: Agent Resource Deduplication & Sharing Duplicate False Positive (#7835) 2025-06-11 14:17:48 -04:00
run.ts 🧠 feat: User Memories for Conversational Context (#7760) 2025-06-07 18:52:22 -04:00