Graphorin API reference v0.15.1
Graphorin API reference / @graphorin/core / / AgentModelFellbackEvent
Interface: AgentModelFellbackEvent
Defined in: packages/core/src/types/agent-event.ts:404
Stable
Emitted exactly once per agent-level model-fallback transition. Identifies the failed primary, the next model in Agent.fallbackModels, the eligible reason taxonomy, the 1-based step number and the 1-based attempt index within the step.
The event fires BEFORE the new model's stream starts so that observers see the transition before any of the new model's subsequent events flow.