- Remove unused event_stream_manager import from examples/human_input_event_streaming.py
- Resolves final lint issue preventing CI from passing
Co-Authored-By: João <joao@crewai.com>
- Add HumanInputRequiredEvent and HumanInputCompletedEvent to task_events.py
- Implement HTTP server with WebSocket, SSE, and long-polling endpoints
- Add EventStreamManager for connection and event management
- Integrate event emission in agent executor human input flow
- Add comprehensive tests for server endpoints and event integration
- Add optional FastAPI dependencies for server functionality
- Include documentation and example usage
- Maintain backward compatibility with existing human input flow
Addresses issue #3259 for WebSocket/SSE/long-polling human input events
Co-Authored-By: João <joao@crewai.com>