Skip to content

Conversation

@dustinhealy
Copy link
Collaborator

This pull request introduces documentation for the new Prompts feature in LibreChat. It adds a dedicated page explaining how users can save, organize, and use prompts efficiently, and updates the documentation navigation to include this feature.

Documentation additions:

  • Added a comprehensive prompts.mdx page detailing how to create, manage, and use prompts, including categories, file attachments, variables, advanced configuration, and usage in chat.

Navigation update:

  • Added the Prompts feature to the documentation navigation metadata in _meta.ts, ensuring it appears in the sidebar.

Sibling PR

@vercel
Copy link

vercel bot commented Sep 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
librechat-ai Ready Ready Preview Comment Sep 9, 2025 8:22pm

@github-actions
Copy link

github-actions bot commented Sep 9, 2025

📦 Next.js Bundle Analysis for librechat.ai

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 302.45 KB (🟡 +864 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

New Page Added

The following page was added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (350 KB)
/docs/features/prompts 18.34 KB 320.79 KB 91.66%

Forty-eight Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/authors 37.88 KB 340.33 KB 97.24% (🟢 -0.03%)
/authors/anon 90.35 KB 392.8 KB 112.23% (🟢 -0.04%)
/authors/berry 90.36 KB 392.81 KB 112.23% (🟢 -0.04%)
/authors/danny 90.47 KB 392.92 KB 112.26% (🟢 -0.04%)
/authors/fuegovic 90.4 KB 392.85 KB 112.24% (🟢 -0.04%)
/authors/librechat 90.43 KB 392.88 KB 112.25% (🟢 -0.04%)
/authors/rubent 90.27 KB 392.72 KB 112.21% (🟢 -0.04%)
/docs/configuration 13.81 KB 316.26 KB 90.36% (🟡 +0.01%)
/docs/configuration/authentication 96.85 KB 399.3 KB 114.09% (🟡 +0.01%)
/docs/configuration/authentication/OAuth2-OIDC/auth0 17.22 KB 319.67 KB 91.33% (🟡 +0.02%)
/docs/configuration/authentication/OAuth2-OIDC/keycloak 15.16 KB 317.61 KB 90.75% (🟡 +0.01%)
/docs/configuration/authentication/SAML 96.63 KB 399.08 KB 114.02% (🟡 +0.02%)
/docs/configuration/azure 24.6 KB 327.05 KB 93.44% (🟡 +0.02%)
/docs/configuration/cdn/azure 17.28 KB 319.73 KB 91.35% (🟡 +0.02%)
/docs/configuration/cdn/firebase 16.75 KB 319.2 KB 91.20% (🟡 +0.01%)
/docs/configuration/cdn/s3 16.53 KB 318.98 KB 91.14% (🟡 +0.01%)
/docs/configuration/librechat_yaml/ai_endpoints 14.48 KB 316.94 KB 90.55% (🟡 +0.02%)
/docs/configuration/librechat_yaml/ai_endpoints/ollama 15.15 KB 317.6 KB 90.74% (🟡 +0.02%)
/docs/configuration/librechat_yaml/ai_endpoints/openrouter 14.31 KB 316.76 KB 90.50% (🟡 +0.02%)
/docs/configuration/librechat_yaml/ai_endpoints/portkey 14.65 KB 317.1 KB 90.60% (🟡 +0.01%)
/docs/configuration/librechat_yaml/ai_endpoints/shuttleai 13.97 KB 316.42 KB 90.41% (🟡 +0.01%)
/docs/configuration/librechat_yaml/ai_endpoints/togetherai 15.85 KB 318.3 KB 90.94% (🟡 +0.03%)
/docs/configuration/librechat_yaml/ai_endpoints/truefoundry 14.31 KB 316.76 KB 90.50% (🟡 +0.02%)
/docs/configuration/librechat_yaml/example 19.45 KB 321.9 KB 91.97% (🟡 +0.02%)
/docs/configuration/librechat_yaml/object_structure/custom_endpoint 19 KB 321.45 KB 91.84% (🟡 +0.02%)
/docs/configuration/librechat_yaml/object_structure/custom_params 14.21 KB 316.66 KB 90.48% (🟡 +0.01%)
/docs/configuration/logging 14.89 KB 317.35 KB 90.67% (🟡 +0.02%)
/docs/configuration/mongodb/mongodb_auth 19.16 KB 321.61 KB 91.89% (🟡 +0.01%)
/docs/configuration/pre_configured_ai/assistants 15.96 KB 318.41 KB 90.97% (🟡 +0.02%)
/docs/configuration/pre_configured_ai/bedrock 15.3 KB 317.75 KB 90.79% (🟡 +0.01%)
/docs/configuration/pre_configured_ai/google 17.27 KB 319.72 KB 91.35% (🟡 +0.01%)
/docs/configuration/pre_configured_ai/openai 14.41 KB 316.86 KB 90.53% (🟡 +0.02%)
/docs/development 14.48 KB 316.94 KB 90.55% (🟡 +0.02%)
/docs/development/get_started 16.59 KB 319.05 KB 91.16% (🟡 +0.01%)
/docs/development/testing 14.01 KB 316.46 KB 90.42% (🟡 +0.01%)
/docs/documentation/examples 25.68 KB 328.13 KB 93.75% (🟡 +0.02%)
/docs/features 21.44 KB 323.89 KB 92.54% (🟡 +0.02%)
/docs/features/agents 22.55 KB 325 KB 92.86% (🟡 +0.01%)
/docs/features/artifacts 15.68 KB 318.13 KB 90.90% (🟡 +0.01%)
/docs/features/fork 15.49 KB 317.94 KB 90.84% (🟡 +0.01%)
/docs/features/url_query 17.47 KB 319.92 KB 91.41% (🟡 +0.01%)
/docs/features/web_search 16.85 KB 319.3 KB 91.23% (🟡 +0.01%)
/docs/local/docker 15 KB 317.46 KB 90.70% (🟡 +0.02%)
/docs/quick_start 13.5 KB 315.95 KB 90.27% (🟡 +0.02%)
/docs/remote 18.64 KB 321.09 KB 91.74% (🟡 +0.02%)
/docs/user_guides/presets 15.41 KB 317.86 KB 90.82% (🟡 +0.01%)
/toolkit/creds_generator 140.77 KB 443.22 KB 126.63% (🟡 +0.02%)
/toolkit/yaml_checker 169.58 KB 472.03 KB 134.87% (🟡 +0.02%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants