class Riffer::StreamEvents::ReasoningDone
rbs_inline: enabled
Attributes
text is the concatenation of the preceding ReasoningDelta events.
Public Class Methods
Source
# File lib/riffer/stream_events/reasoning_done.rb, line 10 def initialize(part, role: :assistant) super(role: role) @part = part end
Calls superclass method
Riffer::StreamEvents::Base::new
Public Instance Methods
Source
# File lib/riffer/stream_events/reasoning_done.rb, line 17 def to_h { role: @role, part: part.to_h } end