Class: Pikuri::Agent::Event::SystemInjected
- Inherits:
-
Data
- Object
- Data
- Pikuri::Agent::Event::SystemInjected
- Defined in:
- lib/pikuri/agent/event.rb
Overview
A system-role block an Pikuri::Agent::Extension#on_user_message hook injected into the chat log — recalled reference (memory context, retrieved snippets) tagged role: :system so the model reads it as background, not new user input. Carries the injected text verbatim.
Emitted by Pikuri::Agent#dispatch_ext_on_user_message, once per extension that returns a non-empty block, at the same site that grows the chat log — so the event stream stays a faithful mirror of what the model actually sees. Without it an injection is invisible: it never surfaces in the stream, only as a secondary echo in the assistant’s later reasoning. Listener::Terminal renders it dim grey with a ⊕ marker.
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content
61 62 63 |
# File 'lib/pikuri/agent/event.rb', line 61 def content @content end |