Class: Silas::Event
- Inherits:
-
Data
- Object
- Data
- Silas::Event
- 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
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#payload ⇒ Object (readonly)
Returns the value of attribute payload
6 7 8 |
# File 'lib/silas/engines/base.rb', line 6 def payload @payload end |
#type ⇒ Object (readonly)
Returns the value of attribute type
6 7 8 |
# File 'lib/silas/engines/base.rb', line 6 def type @type end |