class RubyLLM::AgUI::Protocol::RunStartedEvent

RunStartedEvent that declares the producer’s protocol version.

Attributes

protocol_version[R]

Public Class Methods

new(protocol_version: PROTOCOL_VERSION, **rest) click to toggle source
Calls superclass method
# File lib/ruby_llm/ag_ui/protocol.rb, line 55
def initialize(protocol_version: PROTOCOL_VERSION, **rest)
  @protocol_version = protocol_version
  super(**rest)
end

Public Instance Methods

to_h() click to toggle source
Calls superclass method
# File lib/ruby_llm/ag_ui/protocol.rb, line 60
def to_h
  super.merge(protocol_version: @protocol_version)
end