Commit Graph

3 Commits

Author SHA1 Message Date
Devin AI
bb72804e74 Fix CI failures: remove unused imports and add streaming parameters to agent adapters and test mocks
Co-Authored-By: João <joao@crewai.com>
2025-06-04 07:15:10 +00:00
Devin AI
495af081d2 Fix streaming implementation issues
- Add streaming parameters to BaseAgent.execute_task method signature
- Fix mock LLM objects to include supports_stop_words attribute
- Update event emission to use crewai_event_bus.emit instead of direct method calls
- Remove unused variables in test files

Co-Authored-By: João <joao@crewai.com>
2025-06-04 07:06:43 +00:00
Devin AI
b3b2b1e25f Implement comprehensive streaming support for CrewAI
- Add streaming events: CrewStreamChunkEvent, TaskStreamChunkEvent, AgentStreamChunkEvent
- Extend Crew.kickoff() with stream parameter and callback support
- Propagate streaming through task and agent execution chains
- Integrate with existing LLM streaming infrastructure
- Add comprehensive tests and examples
- Maintain backward compatibility

Fixes #2950

Co-Authored-By: João <joao@crewai.com>
2025-06-04 07:00:54 +00:00