v2.6.19
June 18, 2026
Pass raw regex to the PII guardrail
The PII guardrail's custom_patterns now accepts raw regex strings and compiles them for you, so you can add a pattern inline instead of pre-compiling it yourself. Extending PII detection with your own rules takes one less step.
View the PII Detection Guardrail docs for more.
