Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

PolicyAction

Defined in the policy module.
Rust AI Agent SDK Action to take when a policy is triggered.

Fields

NameTypeDescription
Allowvariant-
thevariant-
actionvariant-
AllowvariantAllow the action
Blockvariant-
thevariant-
actionvariant-
BlockvariantBlock the action
Warnvariant-
butvariant-
allowvariant-
WarnvariantWarn but allow
Requirevariant-
approvalvariant-
RequireApprovalvariantRequire approval
Redactvariant-
sensitivevariant-
contentvariant-
RedactvariantRedact sensitive content
Logvariant-
andvariant-
allowvariant-
LogvariantLog and allow

Source

View on GitHub

praisonai/src/policy/mod.rs at line 0

Rust Policy

Rust Security