Class: LiterLlm::BudgetConfig
- Inherits:
-
Object
- Object
- LiterLlm::BudgetConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#enforcement ⇒ Enforcement?
Returns the value of attribute enforcement.
-
#global_limit ⇒ Float?
Returns the value of attribute global_limit.
-
#model_limits ⇒ Hash[String, Float]?
Returns the value of attribute model_limits.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ BudgetConfig
constructor
A new instance of BudgetConfig.
Constructor Details
#initialize ⇒ BudgetConfig
Returns a new instance of BudgetConfig.
789 |
# File 'sig/types.rbs', line 789
def initialize: (?global_limit: Float, ?model_limits: Hash[String, Float], ?enforcement: Enforcement) -> void
|
Instance Attribute Details
#enforcement ⇒ Enforcement?
Returns the value of attribute enforcement.
787 788 789 |
# File 'sig/types.rbs', line 787 def enforcement @enforcement end |
#global_limit ⇒ Float?
Returns the value of attribute global_limit.
785 786 787 |
# File 'sig/types.rbs', line 785 def global_limit @global_limit end |
#model_limits ⇒ Hash[String, Float]?
Returns the value of attribute model_limits.
786 787 788 |
# File 'sig/types.rbs', line 786 def model_limits @model_limits end |