Skip to main content

error_reason

Function error_reason 

Source
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).