Files
Anzal Husain AbidiandJoão Westerberg 219c13059e fix(llmagent): save output_key when a before-agent callback short-circuits (#1963)
A before-agent callback that returns content yields its event straight from
the base agent, so llmAgent.run never sees it and state[output_key] was not
updated. The base agent now lets an agent type observe that event through an
internal hook, and llmagent installs maybeSaveOutputToState on it. The state
delta lands on the callback's own event. Matches adk-python 0e263f1b5.

Refs #1962

Co-authored-by: João Westerberg <westerberg@google.com>
2026-10-26 16:18:46 +01:00
..
2026-06-30 15:26:42 +02:00