Interface representing lifecycle callbacks for completion events. Provides hooks for post-completion actions.
onComplete: (args: ICompletionArgs, output: IModelMessage<object>) => void
Optional callback triggered after a completion is successfully generated. Useful for logging, output processing, or triggering side effects.