Disable Pii Redaction • AI Agent SDK

disable_pii_redaction: Unregister the PII-redaction hook. No-op if never enabled.

disable_pii_redaction

Function

</div>

This function is defined in the redact module.

Unregister the PII-redaction hook. No-op if never enabled.

Signature

python
def disable_pii_redaction() -> bool

Returns

ResponseField bool

The result of the operation.

Uses

  • get_default_registry
  • reg.unregister

Source

View on GitHub

praisonaiagents/trace/redact.py at line 219