mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
This test verifies that the fix in _handle_agent_response_and_continue() correctly rebuilds the AgentResponse model with both endpoints and skill IDs for subsequent turns in multi-turn A2A conversations. The test simulates a multi-turn scenario where: 1. First turn: LLM returns skill ID 'Research' 2. Second turn: LLM returns skill ID 'Writing' (different agent) 3. Third turn: LLM returns skill ID 'Research' again All turns should accept skill IDs without validation errors. Co-Authored-By: João <joao@crewai.com>