google / google/adk-python

Are node-level callbacks / plugin hooks planned for graph Workflow?

Aperta
#6,779 3 commenti 0 reazioni 2 assegnatari Rivendicata da @GWeale Vedi su GitHub
core needs review
Lingua principale
Python
Stelle
21.5k
Fork
4k
Merge medio
1g 14h
PR unite (30g)
37

Descrizione

Is there a plan to add node-level callbacks (or plugin hooks) for graph `Workflow`?

I'd like to log each node execution from a `Plugin`, but `NodeRunner` doesn't dispatch plugin callbacks, and `on_event_callback` only shows what a node emitted, not when it ran.

Something like `before_node_callback` / `after_node_callback` on `BasePlugin` would be enough for my case.

Is this planned, or is the intended approach something else?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.