We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f0d33 commit f668a5dCopy full SHA for f668a5d
src/google/adk/flows/llm_flows/base_llm_flow.py
@@ -633,6 +633,12 @@ async def _postprocess_live(
633
for event in flushed_events:
634
yield event
635
if flushed_events:
636
+ # NOTE below return is O.K. for now, because currently we only flush
637
+ # events on interrupted or turn_complete. turn_complete is a pure
638
+ # control event and interrupted is not with content but those content
639
+ # is ignorable because model is already interrupted. If we have other
640
+ # case to flush events in the future that are not pure control events,
641
+ # we should not return here.
642
return
643
644
# Builds the event.
0 commit comments