Skip to main content

Module fallback

Module fallback 

Source
Expand description

Error recovery and fallback strategies.

Extracted from runner/mod.rs. Handles the Err(agent_err) arm of the parse result: error classification, model failover, free-model fallback, and agent rerouting.

Enums§

ErrorHandleResult
How run() should proceed after error handling.

Functions§

handle_error
Handle an agent error: classify it, attempt recovery strategies, and update store.