Class: Cline::Model
Overview
Cline model information
Defined Under Namespace
Classes: ThinkingConfig
Instance Attribute Summary
Attributes inherited from Schema
Public API collapse
-
#cache_reads_price ⇒ Float?
Cache reads price per million tokens.
-
#cache_writes_price ⇒ Float?
Cache writes price per million tokens.
-
#context_window ⇒ Integer
Context window size in tokens.
-
#description ⇒ String?
Model description.
-
#input_price ⇒ Float
Input price per million tokens.
-
#max_tokens ⇒ Integer
Maximum tokens output for this model.
-
#name ⇒ String
Model display name.
-
#output_price ⇒ Float
Output price per million tokens.
-
#supports_images ⇒ Boolean
True if this model supports image inputs.
-
#supports_prompt_cache ⇒ Boolean
True if this model supports prompt caching.
-
#thinking_config ⇒ ThinkingConfig?
Thinking configuration.
Methods inherited from Schema
#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash
Instance Method Details
#cache_reads_price ⇒ Float?
Returns Cache reads price per million tokens.
28 |
# File 'lib/cline/model.rb', line 28 attribute :cache_reads_price, :float |
#cache_writes_price ⇒ Float?
Returns Cache writes price per million tokens.
31 |
# File 'lib/cline/model.rb', line 31 attribute :cache_writes_price, :float |
#context_window ⇒ Integer
Returns Context window size in tokens.
13 |
# File 'lib/cline/model.rb', line 13 attribute :context_window, :integer |
#description ⇒ String?
Returns Model description.
34 |
# File 'lib/cline/model.rb', line 34 attribute :description, :string |
#input_price ⇒ Float
Returns Input price per million tokens.
22 |
# File 'lib/cline/model.rb', line 22 attribute :input_price, :float |
#max_tokens ⇒ Integer
Returns Maximum tokens output for this model.
10 |
# File 'lib/cline/model.rb', line 10 attribute :max_tokens, :integer |
#name ⇒ String
Returns Model display name.
7 |
# File 'lib/cline/model.rb', line 7 attribute :name, :string |
#output_price ⇒ Float
Returns Output price per million tokens.
25 |
# File 'lib/cline/model.rb', line 25 attribute :output_price, :float |
#supports_images ⇒ Boolean
Returns True if this model supports image inputs.
16 |
# File 'lib/cline/model.rb', line 16 attribute :supports_images, :boolean |
#supports_prompt_cache ⇒ Boolean
Returns True if this model supports prompt caching.
19 |
# File 'lib/cline/model.rb', line 19 attribute :supports_prompt_cache, :boolean |
#thinking_config ⇒ ThinkingConfig?
Returns Thinking configuration.
45 |
# File 'lib/cline/model.rb', line 45 attribute :thinking_config, ThinkingConfig |