mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-18 05:52:10 +00:00
Claude accepts base64 documents only for PDF. Through an OpenAI-compatible gateway, a textual file was sent as an OpenAI `file` part with its own media type, which the gateway maps to a base64 document that Claude rejects with a 400 on every later turn. Send it as a text part with the decoded contents, using the same Claude detection as the document filter. Fixes #16054 Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| openapi | ||
| src | ||
| types | ||
| .gitignore | ||
| babel.config.cjs | ||
| jest.config.mjs | ||
| jest.setup.cjs | ||
| package.json | ||
| tsconfig-paths-bootstrap.mjs | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsconfig.openapi.json | ||
| tsconfig.spec.json | ||
| tsdown.config.mjs | ||