mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +01:00
* 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. |
||
|---|---|---|
| .. | ||
| encode | ||
| mistral | ||
| audio.ts | ||
| context.ts | ||
| index.ts | ||
| ocr.ts | ||
| parse.ts | ||
| text.spec.ts | ||
| text.ts | ||
| validation.ts | ||