Class: Pikuri::Agent::Event::ModelSwitched

Inherits:
Data
  • Object
show all
Defined in:
lib/pikuri/agent/event.rb

Overview

Agent switched model mid-conversation. Emitted by Pikuri::Agent#run_loop just before the new model's ContextCap. Carries both ChatTransports verbatim and unformatted — each chrome presents them its own way. The new cap rides on the paired ContextCap, not here.

Instance Attribute Summary collapse

Instance Attribute Details

#fromObject (readonly)

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



111
112
113
# File 'lib/pikuri/agent/event.rb', line 111

def from
  @from
end

#toObject (readonly)

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



111
112
113
# File 'lib/pikuri/agent/event.rb', line 111

def to
  @to
end