OptionalonCalled when a provider attempt fails
OptionalonCalled when a provider attempt starts
OptionalonCalled when a provider attempt completes successfully
OptionalonCalled each time a chunk is emitted to the consumer (may be buffered by orchestration).
OptionalonCalled once at the end of execution (success or failure).
OptionalonCalled once if the entire execution fails (all providers fail)
OptionalonCalled once at the start of an execution
Description
Interface contract for AIClientLifecycleHooks.