Class: Silas::Event
- Inherits:
-
Data
- Object
- Data
- Silas::Event
- Defined in:
- lib/silas/adapters/base.rb
Overview
Streamed event from an engine during a step. The type vocabulary is an open set — consumers must ignore unknown types. Emitted today by Engines::RubyLLM:
:message_start — once per model call (before_message)
:text_delta — { text: } chunks as the response streams
StepRunner coalesces :text_delta into "delta.silas" notifications (see DeltaBuffer); everything else is available to custom engines/hooks.
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
8 9 10 |
# File 'lib/silas/adapters/base.rb', line 8 def payload @payload end |
#type ⇒ Object (readonly)
Returns the value of attribute type
8 9 10 |
# File 'lib/silas/adapters/base.rb', line 8 def type @type end |