Class: Cline::GlobalState::Models::OpenRouterModelInfo
- Inherits:
-
Schema
- Object
- Shale::Mapper
- Schema
- Cline::GlobalState::Models::OpenRouterModelInfo
- Defined in:
- lib/cline/global_state/models.rb
Overview
OpenRouter model information
Defined Under Namespace
Classes: ThinkingConfig
Instance Attribute Summary
Attributes inherited from Schema
Public API collapse
-
#cache_reads_price ⇒ Float
Cache reads price.
-
#context_window ⇒ Integer
Context window size.
-
#description ⇒ String
Model description.
-
#input_price ⇒ Float
Input token price.
-
#max_tokens ⇒ Integer
Maximum tokens allowed per request.
-
#name ⇒ String
Model name.
-
#output_price ⇒ Float
Output token price.
-
#supports_images ⇒ Boolean
Flag indicating image support.
-
#supports_prompt_cache ⇒ Boolean
Flag indicating prompt cache support.
-
#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.
39 |
# File 'lib/cline/global_state/models.rb', line 39 attribute :cache_reads_price, :float |
#context_window ⇒ Integer
Returns Context window size.
24 |
# File 'lib/cline/global_state/models.rb', line 24 attribute :context_window, :integer |
#description ⇒ String
Returns Model description.
42 |
# File 'lib/cline/global_state/models.rb', line 42 attribute :description, :string |
#input_price ⇒ Float
Returns Input token price.
33 |
# File 'lib/cline/global_state/models.rb', line 33 attribute :input_price, :float |
#max_tokens ⇒ Integer
Returns Maximum tokens allowed per request.
21 |
# File 'lib/cline/global_state/models.rb', line 21 attribute :max_tokens, :integer |
#name ⇒ String
Returns Model name.
18 |
# File 'lib/cline/global_state/models.rb', line 18 attribute :name, :string |
#output_price ⇒ Float
Returns Output token price.
36 |
# File 'lib/cline/global_state/models.rb', line 36 attribute :output_price, :float |
#supports_images ⇒ Boolean
Returns Flag indicating image support.
27 |
# File 'lib/cline/global_state/models.rb', line 27 attribute :supports_images, :boolean |
#supports_prompt_cache ⇒ Boolean
Returns Flag indicating prompt cache support.
30 |
# File 'lib/cline/global_state/models.rb', line 30 attribute :supports_prompt_cache, :boolean |
#thinking_config ⇒ ThinkingConfig
Returns Thinking configuration.
45 |
# File 'lib/cline/global_state/models.rb', line 45 attribute :thinking_config, ThinkingConfig |