Last Guardrail Error • AI Agent SDK
last_guardrail_error: The most recent rejection message a guardrail sent back to the model.
last_guardrail_error
Method
</div>
The most recent rejection message a guardrail sent back to the model.
Signature
def last_guardrail_error() -> AnyReturns
ResponseField
AnyThe result of the operation.
Source
View on GitHubpraisonaiagents/agent/agent.py at line 7221