Exception: LlmCostTracker::UnknownPricingError
- Defined in:
- lib/llm_cost_tracker/errors.rb
Instance Attribute Summary collapse
-
#model ⇒ Object
readonly
Returns the value of attribute model.
Instance Method Summary collapse
-
#initialize(model:) ⇒ UnknownPricingError
constructor
A new instance of UnknownPricingError.
Constructor Details
#initialize(model:) ⇒ UnknownPricingError
Returns a new instance of UnknownPricingError.
21 22 23 24 25 |
# File 'lib/llm_cost_tracker/errors.rb', line 21 def initialize(model:) @model = model super("No pricing configured for LLM model: #{model.inspect}") end |
Instance Attribute Details
#model ⇒ Object (readonly)
Returns the value of attribute model.
19 20 21 |
# File 'lib/llm_cost_tracker/errors.rb', line 19 def model @model end |