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)


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

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

Instance Attribute Details

#rpmInteger? (readonly)

Returns the value of attribute rpm.

Returns:

  • (Integer, nil)


509
510
511
# File 'sig/types.rbs', line 509

def rpm
  @rpm
end

#tpmInteger? (readonly)

Returns the value of attribute tpm.

Returns:

  • (Integer, nil)


510
511
512
# File 'sig/types.rbs', line 510

def tpm
  @tpm
end

#window_secondsInteger? (readonly)

Returns the value of attribute window_seconds.

Returns:

  • (Integer, nil)


511
512
513
# File 'sig/types.rbs', line 511

def window_seconds
  @window_seconds
end