Repository navigation
🪪 docs: Document conversationIcons and Keep English Fallbacks Out of Localized Search - #946
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 19, 2026
Contributor
📦 Next.js Bundle Analysis for librechat.aiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
createFromSource builds each locale's index from getPages(), but the translated-pages filter in the search route wrapped getLanguages(), so it never applied. Every non-English index carried all 218 pages, English fallbacks included, and the pt-BR index reached 20.09 MB. Vercel rejects a prerendered response body over 20 MB (FALLBACK_BODY_TOO_LARGE), so the production deployment of main has failed since 2026-11-17. Wrap getPages() instead, and cover the route with a test that runs the real fumadocs loader and createFromSource over a small translated source.
Contributor
📦 Next.js Bundle Analysis for librechat.aiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
This branch was successfully 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
Documents three interface options changing in LibreChat: the new
conversationIconskey, which hides the icon on sidebar chat history rows;landingHeading: greeting, which now also drops the entity icon beside the greeting; andmessageAuthor: whenDifferent, which now also covers model spec and endpoint conversations, not only saved agents.The Vercel deployment of
mainhas failed since 2026-11-17 withFALLBACK_BODY_TOO_LARGE: the pt-BR search index is a 20.09 MB prerendered response, over Vercel's 20 MB limit. The search route filters each localized index down to translated pages, but it wrappedgetLanguages()whilecreateFromSourcereadsgetPages(), so every locale indexed all 218 pages, English fallbacks included. This PR wrapsgetPages()instead, which drops 38 English fallback pages from each non-English index (largest index now 15.62 MB) and leaves the English index unchanged.Related to LibreChat-AI/LibreChat#18535, LibreChat-AI/LibreChat#18536, LibreChat-AI/LibreChat#18537
Change Type
Testing
pnpm test: 43 files, 483 tests pass, including the new__tests__/search-route.test.ts(2 of its 3 cases fail on the old route and pass on the fix).pnpm lint:prettier,pnpm check:config-version,pnpm check:locale-meta,pnpm typecheckandpnpm lintpass.pnpm build: every prerendered/api/search/<locale>body is under 20,000,000 bytes, the largest being pt-BR at 15,616,073 (was 20,085,938); the English body is unchanged at 18,655,231 bytes (1.34 MB under the limit).Checklist