class Riffer::Agent::Response

Wraps agent generation responses with optional tripwire information.

When guardrails block execution, the response will contain a tripwire with details about the block. The content will be empty for blocked responses.

response = agent.generate(โ€œHelloโ€) if response.blocked? puts โ€œBlocked: #{response.tripwire.reason}โ€ else puts response.content end