Exception: PatientLLM::MaxToolIterationsError
- Inherits:
-
StandardError
- Object
- StandardError
- PatientLLM::MaxToolIterationsError
- Defined in:
- lib/patient_llm/max_tool_iterations_error.rb
Overview
Raised internally when the automatic tool-execution loop exceeds Callback::MAX_TOOL_ITERATIONS. It is wrapped in a ‘PatientHttp::RequestError` (with error type :max_tool_iterations) and delivered to the user callback’s on_error method rather than propagating out of the callback worker.