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



89
90
91
# File 'lib/copilot/types.rb', line 89

def content
  @content
end

Instance Method Details

#to_hObject



90
91
92
# File 'lib/copilot/types.rb', line 90

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