Exception: RubyLLM::ResearchJob::InterruptedError
- Inherits:
-
Interrupt
- Object
- Interrupt
- RubyLLM::ResearchJob::InterruptedError
- Defined in:
- lib/ruby_llm/research_job.rb
Overview
An interrupted blocking research call retaining its remote job.
Instance Attribute Summary collapse
-
#job ⇒ Object
readonly
The job whose cancellation was attempted before interrupting.
Instance Method Summary collapse
-
#initialize(message, job:) ⇒ InterruptedError
constructor
Creates an interruption retaining
jobfor recovery.
Constructor Details
#initialize(message, job:) ⇒ InterruptedError
Creates an interruption retaining job for recovery.
40 41 42 43 |
# File 'lib/ruby_llm/research_job.rb', line 40 def initialize(, job:) @job = job super() end |
Instance Attribute Details
#job ⇒ Object (readonly)
The job whose cancellation was attempted before interrupting.
37 38 39 |
# File 'lib/ruby_llm/research_job.rb', line 37 def job @job end |