From 9a9f7a37658c9c1cd41f09f8dc723628023836e9 Mon Sep 17 00:00:00 2001 From: Shangjie Chen Date: Sun, 27 Apr 2025 22:19:39 -0700 Subject: [PATCH] Update callback comments. PiperOrigin-RevId: 752162448 --- src/google/adk/agents/base_agent.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/google/adk/agents/base_agent.py b/src/google/adk/agents/base_agent.py index ece60fb..0bec85f 100644 --- a/src/google/adk/agents/base_agent.py +++ b/src/google/adk/agents/base_agent.py @@ -44,7 +44,7 @@ Args: callback_context: MUST be named 'callback_context' (enforced). Returns: - The content to return to the user. When set, the agent run will skipped and + The content to return to the user. When set, the agent run will be skipped and the provided content will be returned to user. """ @@ -55,8 +55,8 @@ Args: callback_context: MUST be named 'callback_context' (enforced). Returns: - The content to return to the user. When set, the agent run will skipped and - the provided content will be appended to event history as agent response. + The content to return to the user. When set, the provided content will be + appended to event history as agent response. """ @@ -101,8 +101,8 @@ class BaseAgent(BaseModel): callback_context: MUST be named 'callback_context' (enforced). Returns: - The content to return to the user. When set, the agent run will skipped and - the provided content will be returned to user. + The content to return to the user. When set, the agent run will be skipped + and the provided content will be returned to user. """ after_agent_callback: Optional[AfterAgentCallback] = None """Callback signature that is invoked after the agent run. @@ -111,8 +111,8 @@ class BaseAgent(BaseModel): callback_context: MUST be named 'callback_context' (enforced). Returns: - The content to return to the user. When set, the agent run will skipped and - the provided content will be appended to event history as agent response. + The content to return to the user. When set, the provided content will be + appended to event history as agent response. """ @final