Class: Copilot::SystemMessageReplaceConfig

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

Overview

System message in replace mode - caller provides entire system message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



215
216
217
# File 'lib/copilot/types.rb', line 215

def content
  @content
end

Instance Method Details

#to_hObject



216
217
218
# File 'lib/copilot/types.rb', line 216

def to_h
  { mode: "replace", content: content }
end