mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
In multi-turn A2A conversations, the AgentResponse model was only rebuilt in _execute_task_with_a2a() but not in subsequent turns handled by _handle_agent_response_and_continue(). This meant that if the LLM returned a skill ID on a later turn, it would fail validation. This commit rebuilds the model in _handle_agent_response_and_continue() using extract_agent_identifiers_from_cards() to include both endpoints and skill IDs, ensuring all turns support skill ID resolution. Co-Authored-By: João <joao@crewai.com>