Exception: Agentic::Errors::LlmInvalidRequestError
- Defined in:
- lib/agentic/errors/llm_error.rb
Overview
Error raised when an invalid request is made to the LLM API
Instance Attribute Summary
Attributes inherited from LlmError
Instance Method Summary collapse
-
#initialize(message, response: nil, context: nil) ⇒ LlmInvalidRequestError
constructor
A new instance of LlmInvalidRequestError.
-
#retryable? ⇒ Boolean
Whether this error is retryable.
Constructor Details
#initialize(message, response: nil, context: nil) ⇒ LlmInvalidRequestError
Returns a new instance of LlmInvalidRequestError.
174 175 176 |
# File 'lib/agentic/errors/llm_error.rb', line 174 def initialize(, response: nil, context: nil) super(, response: response, context: context) end |
Instance Method Details
#retryable? ⇒ Boolean
Returns Whether this error is retryable.
179 180 181 |
# File 'lib/agentic/errors/llm_error.rb', line 179 def retryable? false end |