v1.6.0
June 10, 2025
1.6.0
Improvements:
- New Streaming Events: We have improved our streaming events system. See the details in “breaking changes” section at the bottom.
- Member Events in Teams: The above change includes streaming of events from team members with the top-level team events.
Bug Fixes:
- Apify Tools: Fixed the ApifyTools initialize to correctly register functions.
Breaking Changes:
- Updates to Run Without Streaming:
RunResponse
now does not have anevent
attribute. It still represents the responses of the entire run.- An additional attribute
RunResponse.status
now indicates whether the run response isRUNNING
,PAUSED
, orCANCELLED
.
- Updates to Run Streaming:
- In the case of streaming you now get reformulated run events. These events are streamed if you do
agent.run(..., stream=True)
oragent.arun(..., stream=True)
. - Agents have the updated event types ,See detailed documentation here.
- In the case of streaming you now get reformulated run events. These events are streamed if you do
- Updates to Teams:
- Teams have the updated event types.
- Teams will also yield events from team members as they are executed.
- See detailed documentation here.
- Updates to Workflows:
- You should now yield
WorkflowRunResponseStartedEvent
andWorkflowRunResponseCompletedEvent
events.
- You should now yield