Class: Copilot::MemoryConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Opt-in persistent session memory.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#enabledObject

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



613
614
615
# File 'lib/copilot/types.rb', line 613

def enabled
  @enabled
end

Instance Method Details

#to_wireObject



614
615
616
# File 'lib/copilot/types.rb', line 614

def to_wire
  { enabled: enabled }.compact
end