class Riffer::Agent::Response
rbs_inline: enabled
Attributes
Public Class Methods
Source
# File lib/riffer/agent/response.rb, line 27 def initialize( content, outcome:, tripwire: nil, modifications: [], reasoning: [], structured_output: nil, messages: [], token_usage: nil, steps: 0 ) @content = content @outcome = outcome @tripwire = tripwire @modifications = modifications @reasoning = reasoning @structured_output = structured_output @messages = messages @token_usage = token_usage @steps = steps end
Public Instance Methods
Source
# File lib/riffer/agent/response.rb, line 51 def modified? modifications.any? end