Files
crewAI/lib
Greyson Lalonde 6fe34644ab refactor(a2a): use tool calling for delegation instead of structured output
Each remote A2A agent is now exposed to the local LLM as a BaseTool
(delegate_to_<card_name>); the local agent's tool-call loop drives
multi-turn delegation. The Literal-constrained AgentResponse model and
the explicit per-turn re-prompting loop are gone.

Closes #3897. The original failure mode — Pydantic literal_error when
skill.id != endpoint URL, and Gemini flash-lite hallucinating
out-of-enum values — is structurally impossible: provider-side tool-call
validation enforces the tool name, and there's no competing identifier.
2026-05-08 22:16:17 +08:00
..
2026-05-08 01:19:47 +08:00
2026-05-07 01:44:05 +08:00