Class: Silas::Event

Inherits:
Data
  • Object
show all
Defined in:
lib/silas/engines/base.rb

Overview

Streamed event from an engine (or the framework) during a step. Types: :text_delta, :tool_call, :thinking, :usage — and :approval_request, which only :engine-owned loops (agent_sdk) emit; in :framework-owned loops approvals are a Ledger concern, never an engine event.

Instance Attribute Summary collapse

Instance Attribute Details

#payloadObject (readonly)

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



6
7
8
# File 'lib/silas/engines/base.rb', line 6

def payload
  @payload
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



6
7
8
# File 'lib/silas/engines/base.rb', line 6

def type
  @type
end