docs: Revise BaseAgent.after_agent_callback to be more clear

Clarify the behavior raised in #3266

PiperOrigin-RevId: 824273003
This commit is contained in:
Wei Sun (Jack)
2025-10-26 16:10:14 -07:00
committed by Copybara-Service
parent e6f7363220
commit 16d4b9acca
+2 -2
View File
@@ -155,8 +155,8 @@ class BaseAgent(BaseModel):
Returns:
Optional[types.Content]: The content to return to the user.
When the content is present, the provided content will be used as agent
response and appended to event history as agent response.
When the content is present, an additional event with the provided content
will be appended to event history as an additional agent response.
"""
def _load_agent_state(