Class: Pikuri::Agent::Event::ModelSwitched
- Inherits:
-
Data
- Object
- Data
- Pikuri::Agent::Event::ModelSwitched
- Defined in:
- lib/pikuri/agent/event.rb
Overview
The agent switched to a different model mid-conversation, emitted by Pikuri::Agent#run_loop (via apply_transport!) just before the matching ContextCap for the new model. Carries the old and new ChatTransports verbatim — unformatted by design, so each chrome presents them its own way (a TUI adds ANSI off .model, a web client adds CSS). The cap rides on the paired ContextCap, not here, so Listener::TokenLog needs no awareness of this event (its existing ContextCap arm picks up the new cap); a renderer wanting “switched to X (128k)” on one line correlates the two.
Instance Attribute Summary collapse
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Attribute Details
#from ⇒ Object (readonly)
Returns the value of attribute from
211 212 213 |
# File 'lib/pikuri/agent/event.rb', line 211 def from @from end |
#to ⇒ Object (readonly)
Returns the value of attribute to
211 212 213 |
# File 'lib/pikuri/agent/event.rb', line 211 def to @to end |