Repository navigation
v0.25.0 #2627
Pouyanpi
announced in
Announcements
v0.25.0
#2627
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What's Changed
NeMo Guardrails 0.25.0 adds checks for agent tool calls and results, a hooks server for Claude Code, Codex, and NeMo Relay, and the NeMo Guardrails Gateway for applying input and output checks around existing model APIs. New rails provide LLM-judged tool safety, CEL expressions, and language-based filtering; Zscaler AI Guard moderation is also available again.
The gateway supports buffered and streaming OpenAI Chat Completions and Responses, with explicitly selected LiteLLM dialects. Its shipped inspection profile is limited to one user text input and one assistant text output. It does not enable general conversation-history, tool, audio, or image inspection; reviewed opaque metadata is forwarded without inspection.
Upgrade notes
tokenizersis installed. Detector outages and invalid results now stop requests with an internal-error response; check-only callers must enforce the blocked result.nemoguardrails[nest-asyncio]extra when enabled. Prefer async APIs inside an existing event loop. Ordinary synchronous calls outside a running loop remain supported.Direct
LLMRailsuse and the Colang runtimes are deprecated, with removal planned no earlier than 0.27.0. UseGuardrailswith IORails where the configuration is supported. IORails does not run dialog flows or custom actions, and Colang 2.x has no replacement runtime. The release includes a migration guide and diagnostics for ignored configuration; these features continue to work in this release.🚀 Features
/v1/checks(#2418)tool_violationsfrom/v1/checkson IORails (#2420)🐛 Bug Fixes
input_transformationsresponse metadata in Responses and LiteLLM contracts (#2603)allow_unlisted_toolschoice; set it to false to deny unlisted tools or true to allow them (#2592)nest-asyncioan optional compatibility extra; installnemoguardrails[nest-asyncio]when enabling automatic event-loop patching, or use async APIs inside a running loop (#2557)ToolCallChunkobjects instead of JSON text; update stream consumers to handle structured events (#2512)parameters.api_keyvalues (#2531)tokenizersfor coverage validation (#2560)max_completion_tokensto the main LLM (#2551)💼 Other
🚜 Refactor
tool_outputandtool_inputconfiguration and generation-option fields totool_callandtool_result, retaining deprecated aliases (#2312)📚 Documentation
/v1/checkstool-call and tool-result requests and structured violations (#2548)New Contributors
Full Changelog: v0.24.1...v0.25.0
This discussion was created from the release v0.25.0.
All reactions