LibreChat/packages/api/src/files
Danny Avila f59daaeecc
📄 feat: Context Field for Anthropic Documents (PDF) (#10148)
* fix: Remove ephemeral cache control from document encoding function

* refactor: Improve document encoding types and add file context for anthropic messages api

- Added AnthropicDocumentBlock interface to define the structure for documents from the Anthropic provider.
- Updated encodeAndFormatDocuments function to utilize the new type and include optional context for filenames.
- Refactored DocumentResult to use a union type for various document formats, improving type safety and clarity.
2025-10-16 16:24:14 -04:00
..
encode 📄 feat: Context Field for Anthropic Documents (PDF) (#10148) 2025-10-16 16:24:14 -04:00
mistral 🔍 refactor: OCR Fully Optional with Defaults for "Upload as Text" (#9856) 2025-09-26 11:56:11 -04:00
audio.ts 🔧 fix: Upload Audio as Text missing Param (#9356) 2025-08-28 21:07:30 -04:00
context.ts 🖼️ fix: Extract File Context & Persist Attachments (#10069) 2025-10-10 05:35:37 -04:00
index.ts 🖼️ fix: Extract File Context & Persist Attachments (#10069) 2025-10-10 05:35:37 -04:00
ocr.ts 🔍 refactor: OCR Fully Optional with Defaults for "Upload as Text" (#9856) 2025-09-26 11:56:11 -04:00
parse.ts 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
text.spec.ts 📂 refactor: File Read Operations (#9747) 2025-09-20 10:17:24 -04:00
text.ts 📂 refactor: File Read Operations (#9747) 2025-09-20 10:17:24 -04:00
validation.ts 📎 feat: Direct Provider Attachment Support for Multimodal Content (#9994) 2025-10-06 17:30:16 -04:00