Class: Cline::TaskMessage::ModelInfo

Inherits:
Schema
  • Object
show all
Defined in:
lib/cline/task_message.rb

Overview

Model info in messages

Instance Attribute Summary

Attributes inherited from Schema

#extra_attributes

Public API collapse

Methods inherited from Schema

#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash

Instance Method Details

#modeString

Returns Mode (plan or act).

Returns:

  • (String)

    Mode (plan or act)



20
# File 'lib/cline/task_message.rb', line 20

attribute :mode, :string

#model_idString

Returns Model.

Returns:

  • (String)

    Model



17
# File 'lib/cline/task_message.rb', line 17

attribute :model_id, :string

#provider_idString

Returns Provider.

Returns:

  • (String)

    Provider



14
# File 'lib/cline/task_message.rb', line 14

attribute :provider_id, :string