You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- add trust_remote_completion_status flag to A2AConfig, Adds configuration flag to control whether to trust A2A agent completion status. Resolves#3899
- update docs
Copy file name to clipboardExpand all lines: docs/en/learn/a2a-agent-delegation.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,10 @@ The `A2AConfig` class accepts the following parameters:
83
83
Whether to raise an error immediately if agent connection fails. When `False`, the agent continues with available agents and informs the LLM about unavailable ones.
When `True`, returns the A2A agent's result directly when it signals completion. When `False`, allows the server agent to review the result and potentially continue the conversation.
88
+
</ParamField>
89
+
86
90
## Authentication
87
91
88
92
For A2A agents that require authentication, use one of the provided auth schemes:
Copy file name to clipboardExpand all lines: lib/crewai/src/crewai/a2a/config.py
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ class A2AConfig(BaseModel):
38
38
max_turns: Maximum conversation turns with A2A agent (default: 10).
39
39
response_model: Optional Pydantic model for structured A2A agent responses.
40
40
fail_fast: If True, raise error when agent unreachable; if False, skip and continue (default: True).
41
+
trust_remote_completion_status: If True, return A2A agent's result directly when status is "completed"; if False, always ask server agent to respond (default: False).
description="If True, raise an error immediately when the A2A agent is unreachable. If False, skip the A2A agent and continue execution.",
59
60
)
61
+
trust_remote_completion_status: bool=Field(
62
+
default=False,
63
+
description='If True, return the A2A agent\'s result directly when status is "completed" without asking the server agent to respond. If False, always ask the server agent to respond, allowing it to potentially delegate again.',
0 commit comments