Skip to content

is_final_response() is not correctly used and described. #270

Open

Description

@Jacksunwei

Describe the bug

Below statement is not true when it's multi-agent setup. is_final_response only means it's the last message by the agent, it may be identical to the last message of the turn in a single-agent setup, but it's not true in most case for multi-agent setup.

      # Key Concept: is_final_response() marks the concluding message for the turn.
      if event.is_final_response():

Also is_final_response is a framework internal concept. We'd better not expose it in docs.

Activity

  1. Jacksunwei commented on May 19, 2025

    @Jacksunwei
    ContributorAuthor

    This causes confuse to the readers. E.g. google/adk-python#573

  2. changed the title [-]is_final_response() is not correctly used.[/-] [+]is_final_response() is not correctly used and described.[/+] on May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions