Skip to content

docs(vector_stores): retrieved context goes through the request's pre-call guardrails - #1745

Merged
mateo-berri merged 1 commit into
mainfrom
litellm_guardrails_scan_vector_store_chunks
Sep 26, 2026
Merged

mateo-berri merged 1 commit into
mainfrom
litellm_guardrails_scan_vector_store_chunks

Conversation

@mateo-berri

@mateo-berri mateo-berri commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Documents that retrieved vector store context now goes through the request's pre-call guardrails before it is injected into the prompt, with the 400 a blocked chunk returns and the note that a guardrail failing mid-scan fails the request instead of injecting the context unscanned

Pairs with BerriAI/litellm#43271; this PR merges once that one has

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
litellm Ready Ready Preview Sep 26, 2026 2:35am UTC

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit d12cc52. Configure here.

@mateo-berri
mateo-berri merged commit ffe3f6d into main Sep 26, 2026
5 checks passed
@mateo-berri
mateo-berri deleted the litellm_guardrails_scan_vector_store_chunks branch September 26, 2026 03:21

This branch was successfully deployed

1 active deployment
Preview — d12cc52e Deployed Sep 26, 2026 by vercel[bot]
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.

1 participant