Class: RubyLLM::Resilience::Configuration::Settings

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_llm/resilience/configuration.rb

Overview

Effective per-service settings (global defaults + per-service override).

Instance Attribute Summary collapse

Instance Attribute Details

#cooldown_secondsObject

Returns the value of attribute cooldown_seconds

Returns:

  • (Object)

    the current value of cooldown_seconds



46
47
48
# File 'lib/ruby_llm/resilience/configuration.rb', line 46

def cooldown_seconds
  @cooldown_seconds
end

#failure_thresholdObject

Returns the value of attribute failure_threshold

Returns:

  • (Object)

    the current value of failure_threshold



46
47
48
# File 'lib/ruby_llm/resilience/configuration.rb', line 46

def failure_threshold
  @failure_threshold
end

#failures_window_secondsObject

Returns the value of attribute failures_window_seconds

Returns:

  • (Object)

    the current value of failures_window_seconds



46
47
48
# File 'lib/ruby_llm/resilience/configuration.rb', line 46

def failures_window_seconds
  @failures_window_seconds
end