v2.2.0
October 23, 2025
Consistent async streaming for Workflows
Workflow.arun now returns an AsyncIterator, aligning with Agent and Team. This change standardizes how you consume streaming results and reduces integration complexity across components.
Details
- Breaking change: migrate to async iteration
- Example:
- Before: result = await workflow.arun(..., stream=True)
- After: async for chunk in workflow.arun(..., stream=True): ...
Who this is for: Teams maintaining multiple streaming paths who want one consistent consumption model.
