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.
513 |
# File 'sig/types.rbs', line 513
def initialize: (?rpm: Integer, ?tpm: Integer, ?window_seconds: Integer) -> void
|
Instance Attribute Details
#rpm ⇒ Integer? (readonly)
Returns the value of attribute rpm.
509 510 511 |
# File 'sig/types.rbs', line 509 def rpm @rpm end |
#tpm ⇒ Integer? (readonly)
Returns the value of attribute tpm.
510 511 512 |
# File 'sig/types.rbs', line 510 def tpm @tpm end |
#window_seconds ⇒ Integer? (readonly)
Returns the value of attribute window_seconds.
511 512 513 |
# File 'sig/types.rbs', line 511 def window_seconds @window_seconds end |