Skip to content

docs(guardrails): add TypeSafe (Jev) compaction guardrail page - #1538

Merged
yassin-berriai merged 1 commit into
mainfrom
litellm_typesafe_compaction_guardrail
Sep 18, 2026
Merged

yassin-berriai merged 1 commit into
mainfrom
litellm_typesafe_compaction_guardrail

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Adds docs/proxy/guardrails/typesafe.md and a sidebar entry next to compresr for the new typesafe guardrail shipped in BerriAI/litellm#41757. The page covers what the guardrail does (one Jev noul question per completed tool exchange, blanking tool results judged irrelevant, system/last user/last exchange never touched), the guardrail: typesafe config block with TYPESAFE_API_KEY, and the relevance_threshold, min_chars_to_evaluate, max_result_chars_in_state, and unreachable_fallback (defaults to fail_open) knobs

Link to Devin session: https://app.devin.ai/sessions/9d3947c7ebd84c96a6ffdf60560640ce
Open in Devin Desktop: https://app.devin.ai/desktop/session/9d3947c7ebd84c96a6ffdf60560640ce?variant=devin
Requested by: @yassin-berriai

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@vercel

vercel Bot commented Sep 18, 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 18, 2026 4:44am UTC

Request Review

@yassin-berriai
yassin-berriai merged commit c3aafa2 into main Sep 18, 2026
4 checks passed
@yassin-berriai
yassin-berriai deleted the litellm_typesafe_compaction_guardrail branch September 18, 2026 20:31

This branch was successfully deployed

1 active deployment
Preview — 4b2eec4e Deployed Sep 18, 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