Exception: Aidp::Harness::NoModelAvailableError
- Inherits:
-
StandardError
- Object
- StandardError
- Aidp::Harness::NoModelAvailableError
- Defined in:
- lib/aidp/harness/thinking_depth_manager.rb
Overview
Custom exception for model availability issues
Instance Attribute Summary collapse
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#tier ⇒ Object
readonly
Returns the value of attribute tier.
Instance Method Summary collapse
-
#initialize(tier:, provider:) ⇒ NoModelAvailableError
constructor
A new instance of NoModelAvailableError.
Constructor Details
#initialize(tier:, provider:) ⇒ NoModelAvailableError
Returns a new instance of NoModelAvailableError.
13 14 15 16 17 18 |
# File 'lib/aidp/harness/thinking_depth_manager.rb', line 13 def initialize(tier:, provider:) @tier = tier @provider = provider super("No model available for tier '#{tier}' with provider '#{provider}'. " \ "Check your aidp.yml configuration or run 'aidp models discover' to find available models.") end |
Instance Attribute Details
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
11 12 13 |
# File 'lib/aidp/harness/thinking_depth_manager.rb', line 11 def provider @provider end |
#tier ⇒ Object (readonly)
Returns the value of attribute tier.
11 12 13 |
# File 'lib/aidp/harness/thinking_depth_manager.rb', line 11 def tier @tier end |