Class: Cline::SessionMessage::ModelInfo

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

Overview

Model info in session messages

Instance Attribute Summary

Attributes inherited from Cline::Schema

#extra_attributes

Public API collapse

Methods inherited from Cline::Schema

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

Instance Method Details

#familyString

Returns Model family.

Returns:

  • (String)

    Model family



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

attribute :family, :string

#idString

Returns Model ID.

Returns:

  • (String)

    Model ID



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

attribute :id, :string

#providerString

Returns Provider.

Returns:

  • (String)

    Provider



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

attribute :provider, :string