haystack icon indicating copy to clipboard operation
haystack copied to clipboard

feat: In breakpoints, add a callable func to `save_state` for passing `pipeline_snapshot` externally

Open Amnah199 opened this issue 6 months ago • 0 comments

In the early design of breakpoints, we had discussions about adding callback_fun in save_state while breaking the pipeline. This would provide the users a hook to inject custom behavior—for instance, to propagate the pipeline_snapshot externally via a RESTful API or HTTP request.

Related discussion: https://github.com/deepset-ai/haystack-experimental/pull/317#discussion_r2142574323

Amnah199 avatar Jun 12 '25 16:06 Amnah199