pub fn error_reason(
state: AgentRuntimeState,
block: Option<&Block>,
) -> Option<String>Expand description
Why an agent in error is, when its last run’s failure was classified (rate_limited, network…):
whether it is worth another try is not in error itself (#2617).