We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94c43a2 commit 978be4bCopy full SHA for 978be4b
1 file changed
src/google/adk/events/event.py
@@ -275,7 +275,8 @@ def model_post_init(self, __context):
275
def is_final_response(self) -> bool:
276
"""Returns whether the event is the final response of an agent.
277
278
- NOTE: This method is ONLY for use by Agent Development Kit.
+ Application and UI layers can rely on this helper to detect a complete,
279
+ user-facing response instead of replicating its logic.
280
281
Note that when multiple agents participate in one invocation, there could be
282
one event has `is_final_response()` as True for each participating agent.
0 commit comments