Class: LiterLlm::LlmRateLimitConfig
- Inherits:
-
Object
- Object
- LiterLlm::LlmRateLimitConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#rpm ⇒ Integer?
readonly
Returns the value of attribute rpm.
-
#tpm ⇒ Integer?
readonly
Returns the value of attribute tpm.
-
#window_seconds ⇒ Integer?
readonly
Returns the value of attribute window_seconds.
Instance Method Summary collapse
-
#initialize ⇒ LlmRateLimitConfig
constructor
A new instance of LlmRateLimitConfig.
Constructor Details
#initialize ⇒ LlmRateLimitConfig
Returns a new instance of LlmRateLimitConfig.
727 |
# File 'sig/types.rbs', line 727
def initialize: (?rpm: Integer, ?tpm: Integer, ?window_seconds: Integer) -> void
|
Instance Attribute Details
#rpm ⇒ Integer? (readonly)
Returns the value of attribute rpm.
723 724 725 |
# File 'sig/types.rbs', line 723 def rpm @rpm end |
#tpm ⇒ Integer? (readonly)
Returns the value of attribute tpm.
724 725 726 |
# File 'sig/types.rbs', line 724 def tpm @tpm end |
#window_seconds ⇒ Integer? (readonly)
Returns the value of attribute window_seconds.
725 726 727 |
# File 'sig/types.rbs', line 725 def window_seconds @window_seconds end |