Class: AgUiProtocol::Core::Events::ThinkingEndEvent

Inherits:
BaseEvent show all
Defined in:
lib/ag_ui_protocol/core/events.rb

Overview

Event indicating the end of a thinking step event.

“‘ruby event = AgUiProtocol::Core::Events::ThinkingEndEvent.new “`

Instance Attribute Summary

Attributes inherited from BaseEvent

#raw_event, #timestamp, #type

Instance Method Summary collapse

Methods inherited from BaseEvent

#to_h

Methods inherited from Types::Model

#as_json, #to_h, #to_json

Constructor Details

#initialize(timestamp: nil, raw_event: nil) ⇒ ThinkingEndEvent

Returns a new instance of ThinkingEndEvent.



605
606
607
# File 'lib/ag_ui_protocol/core/events.rb', line 605

def initialize(timestamp: nil, raw_event: nil)
  super(type: EventType::THINKING_END, timestamp: timestamp, raw_event: raw_event)
end