google / google/adk-python

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

Offen
#6,779 3 Kommentare 0 Reaktionen 2 zugewiesene Personen Beansprucht von @GWeale Auf GitHub ansehen
core needs review
Vorherrschende Sprache
Python
Sterne
21.5k
Forks
4k
Ø Merge
1 T. 14 Std.
Gemergte PRs (30 T.)
37

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.