LibreChat/api/server/controllers/agents
Danny Avila 07d0abc9fd
🖼️ fix: Extract File Context & Persist Attachments (#10069)
- problem: `addImageUrls` had a side effect that was being leveraged before to populate both the `ocr` message field, now `fileContext`, and `client.options.attachments`, which would record the user's uploaded message attachments to the user message when saved to the database and returned at the end of the request lifecycle
- solution: created dedicated handling for file context, and made sure to populate `allFiles` with non-provider attachments
2025-10-10 05:35:37 -04:00
..
__tests__ 🔄 refactor: Convert OCR Tool Resource to Context (#9699) 2025-09-18 20:06:59 -04:00
callbacks.js ✂️ refactor: Artifacts and Tool Callbacks to Pass UI Resources (#9581) 2025-09-11 14:34:07 -04:00
client.js 🖼️ fix: Extract File Context & Persist Attachments (#10069) 2025-10-10 05:35:37 -04:00
client.test.js 🛡️ fix: Title Generation Skip Logic Based On Endpoint Config (#9811) 2025-09-24 10:21:19 -04:00
errors.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
request.js 🚦 feat: Auto-reinitialize MCP Servers on Request (#9226) 2025-08-23 03:27:05 -04:00
v1.js 🔄 refactor: Optimize MCP Tool Initialization 2025-09-21 20:31:28 -04:00
v1.spec.js 🔄 refactor: Convert OCR Tool Resource to Context (#9699) 2025-09-18 20:06:59 -04:00