📗 docs: Document fileConfig.officePreview for Large PowerPoint and Word Previews - #790
Open
TomasPalsson wants to merge 2 commits into
Open
TomasPalsson wants to merge 2 commits into
TomasPalsson wants to merge 2 commits into
Conversation
|
@TomasPalsson is attempting to deploy a commit to the LibreChat's projects Team on Vercel. A member of the Team first needs to authorize it. |
Open
8 of 9 tasks
TomasPalsson
marked this pull request as ready for review
September 29, 2026 18:40
…-setting # Conflicts: # content/docs/configuration/librechat_yaml/object_structure/file_config.mdx
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When code execution produces a PowerPoint or Word file larger than 350 KB, LibreChat currently cannot show the real document in the side panel: up to 2 MB it shows a plain text outline, and above 2 MB it shows "Preview unavailable". The companion LibreChat change stores a small preview page for these files and has the viewer's browser load the file's own bytes from file storage when the preview opens, so decks and documents up to 25 MB preview as the real document.
That behavior is controlled by a new
fileConfig.officePreviewobject inlibrechat.yaml. This PR documents it on the File Config page.Changes
officePreviewto the list offileConfigfields and to the full example.officePreviewsection describingenabled(defaulttrue) andfileSizeLimit(MB, default25, must be0or more), and what users see with the setting off or above the limit.Testing
pnpm run buildpasses locally.