Skip to main content

last_guardrail_error

Method
This is a method of the Agent class in the agent module.
The most recent rejection message a guardrail sent back to the model.

Signature

Returns

Any
The result of the operation.

Source

View on GitHub

praisonaiagents/agent/agent.py at line 7017

Guardrails Concept

Guardrails Feature

Approval