Exception: PatientLLM::MaxToolIterationsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/patient_llm/max_tool_iterations_error.rb

Overview

Signals that the automatic tool-execution loop exceeded the resolved max_tool_iterations limit (default Callback::MAX_TOOL_ITERATIONS). It is never raised directly; it is wrapped in a PatientHttp::RequestError (with error type :max_tool_iterations) and delivered to the user callback's on_error method.