docs(enterprise): clarify which legacy guardrail callbacks are Enterprise-only#69
Open
Anai-Guo wants to merge 1 commit intoBerriAI:mainfrom
Open
Conversation
…rise-only (#27072)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Closes BerriAI/litellm#27072
What
The OSS-vs-Enterprise comparison row for Guardrails in
docs/enterprise.mdpreviously read:This is misleading: while the guardrail framework itself is OSS, several of the built-in callback integrations advertised in the older guardrails docs (
old_guardrails.md) actually require an Enterprise license — users who try to enable them on the OSS build are greeted withYou must be a LiteLLM Enterprise user to use this feature.Source-of-truth check
Looked at
litellm/proxy/common_utils/callback_utils.py(callback name → implementation switch). The callbacks that import fromlitellm_enterprise.*and raiseCommonProxyErrors.missing_enterprise_packageare:llmguard_moderationsllamaguard_moderationshide_secretsopenai_moderationsgoogle_text_moderationlakera_prompt_injectionaporia_prompt_injectionpresidio(PII masking) anddetect_prompt_injectionare OSS.Change
Adds a footnote to the OSS column of the Guardrails row that lists the callback names that require Enterprise. Keeps the table layout intact and does not move any other docs.
Why this matters
Per the bug, users implement features against the comparison table believing them to be OSS, then only discover the licensing requirement at deploy time. The footnote turns the failure mode into a docs lookup.
🤖 Generated with Claude Code