Class: LiterLlm::LlmRateLimitConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLlmRateLimitConfig

Returns a new instance of LlmRateLimitConfig.

Parameters:

  • rpm: (Integer)
  • tpm: (Integer)
  • window_seconds: (Integer)


727
# File 'sig/types.rbs', line 727

def initialize: (?rpm: Integer, ?tpm: Integer, ?window_seconds: Integer) -> void

Instance Attribute Details

#rpmInteger? (readonly)

Returns the value of attribute rpm.

Returns:

  • (Integer, nil)


723
724
725
# File 'sig/types.rbs', line 723

def rpm
  @rpm
end

#tpmInteger? (readonly)

Returns the value of attribute tpm.

Returns:

  • (Integer, nil)


724
725
726
# File 'sig/types.rbs', line 724

def tpm
  @tpm
end

#window_secondsInteger? (readonly)

Returns the value of attribute window_seconds.

Returns:

  • (Integer, nil)


725
726
727
# File 'sig/types.rbs', line 725

def window_seconds
  @window_seconds
end