mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-16 04:02:55 -06:00
Update callback comments.
PiperOrigin-RevId: 752162448
This commit is contained in:
parent
aa7a98ad9d
commit
9a9f7a3765
@ -44,7 +44,7 @@ Args:
|
|||||||
callback_context: MUST be named 'callback_context' (enforced).
|
callback_context: MUST be named 'callback_context' (enforced).
|
||||||
|
|
||||||
Returns:
|
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.
|
the provided content will be returned to user.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@ -55,8 +55,8 @@ Args:
|
|||||||
callback_context: MUST be named 'callback_context' (enforced).
|
callback_context: MUST be named 'callback_context' (enforced).
|
||||||
|
|
||||||
Returns:
|
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 provided content will be
|
||||||
the provided content will be appended to event history as agent response.
|
appended to event history as agent response.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -101,8 +101,8 @@ class BaseAgent(BaseModel):
|
|||||||
callback_context: MUST be named 'callback_context' (enforced).
|
callback_context: MUST be named 'callback_context' (enforced).
|
||||||
|
|
||||||
Returns:
|
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
|
||||||
the provided content will be returned to user.
|
and the provided content will be returned to user.
|
||||||
"""
|
"""
|
||||||
after_agent_callback: Optional[AfterAgentCallback] = None
|
after_agent_callback: Optional[AfterAgentCallback] = None
|
||||||
"""Callback signature that is invoked after the agent run.
|
"""Callback signature that is invoked after the agent run.
|
||||||
@ -111,8 +111,8 @@ class BaseAgent(BaseModel):
|
|||||||
callback_context: MUST be named 'callback_context' (enforced).
|
callback_context: MUST be named 'callback_context' (enforced).
|
||||||
|
|
||||||
Returns:
|
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 provided content will be
|
||||||
the provided content will be appended to event history as agent response.
|
appended to event history as agent response.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@final
|
@final
|
||||||
|
Loading…
Reference in New Issue
Block a user