Skip to content

Commit 978be4b

Browse files
GWealecopybara-github
authored andcommitted
docs: clarify is_final_response() is a public helper
Close #4016 Co-authored-by: George Weale <gweale@google.com> PiperOrigin-RevId: 933963787
1 parent 94c43a2 commit 978be4b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/google/adk/events/event.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ def model_post_init(self, __context):
275275
def is_final_response(self) -> bool:
276276
"""Returns whether the event is the final response of an agent.
277277
278-
NOTE: This method is ONLY for use by Agent Development Kit.
278+
Application and UI layers can rely on this helper to detect a complete,
279+
user-facing response instead of replicating its logic.
279280
280281
Note that when multiple agents participate in one invocation, there could be
281282
one event has `is_final_response()` as True for each participating agent.

0 commit comments

Comments
 (0)