Skip to content

📝 docs: Clarify That PostgreSQL Is Only Needed For The RAG API - #927

Open
berry-13 wants to merge 2 commits into
mainfrom
berry-13/auto-librechat-ai-address-feedbacks-run-71-20261109T1900
Open

berry-13 wants to merge 2 commits into
mainfrom
berry-13/auto-librechat-ai-address-feedbacks-run-71-20261109T1900

Conversation

@berry-13

@berry-13 berry-13 commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Explains that MongoDB is LibreChat's only required database and that PostgreSQL (pgvector) backs just the optional RAG API. The default Docker Compose stack starts both mongodb and vectordb, and no page said which one LibreChat actually needs.

I checked this against LibreChat origin/dev. None of the app's packages depend on a Postgres client. In docker-compose.yml, only the rag_api service points at vectordb (DB_HOST=vectordb). And Files/VectorDB/crud.js refuses vector uploads when RAG_API_URL is unset.

Feedback addressed

  • 1569343461289758774: /docs/features/code_interpreter
    • The reader asked whether LibreChat needs both PostgreSQL and MongoDB, and the docs did not say.
    • Added a callout to the RAG API configuration page and a sentence to the RAG API feature page. Both state that MongoDB is required, PostgreSQL is only for the RAG API, and RAG features such as File Search are unavailable without RAG_API_URL. The Code Interpreter page never mentioned Postgres, so it was left as is.
    • Classification: FIXED

Validation

  • pnpm install --frozen-lockfile --registry=https://registry.npmjs.org/: passed
  • pnpm typecheck (fumadocs-mdx and tsc): passed
  • Compiled both edited MDX files with @mdx-js/mdx: passed
  • npx eslint on the edited files: no errors (MDX files are ignored by the ESLint config)

Not changed

Nothing else was pending in this run.

@berry-13 berry-13 added the documentation Improvements or additions to documentation label Nov 9, 2026
@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
librechat-ai Ready Ready Preview Nov 10, 2026 4:09pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T16:00:34.090593Z 28dafdc New commits
🔒 Security Review ✅ Completed 2026-11-09T19:03:57.273741Z 8c9a11c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

MongoDB is LibreChat's required database. PostgreSQL with pgvector backs
only the RAG API, which the default Docker Compose files include, so
readers seeing both databases in the stack could not tell whether both
are required.

Feedback: 1569343461289758774
@berry-13
berry-13 force-pushed the berry-13/auto-librechat-ai-address-feedbacks-run-71-20261109T1900 branch from 8c9a11c to e60f5b5 Compare November 9, 2026 23:36
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for librechat.ai

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

This PR introduced no changes to the JavaScript bundle! 🙌

ubuntu-latest is rolling out to Ubuntu 26.04, where Playwright 1.58
cannot install Chromium, so the E2E job fails before any test runs
depending on which image a run lands on.
@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for librechat.ai

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

This PR introduced no changes to the JavaScript bundle! 🙌

This branch was successfully deployed

1 active deployment
Preview — 28dafdc8 Deployed Nov 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant