1.2.0b5 (2025-09-29)
Features Added
- Added
run_handler
parameter toruns.create_and_process
allowing to make function tool calls manually or approve mcp tool calls.
Bugs Fixed
- Fixed regression, reverted ToolOutput type signature and usage in tool_output submission.
- Added
RunStepDeltaComputerUseDetails
andRunStepDeltaComputerUseToolCall
classes for streaming computer use scenarios. - Added
RunStepDeltaChunk
toStreamEventData
model (GitHub issues 43022)
Sample updates
- Added
sample_agents_mcp_in_create_and_process.py
abdsample_agents_mcp_in_create_and_process_async.py
demonstrating MCP tool call approvals inruns.create_and_process
. - Added
sample_agents_functions_in_create_and_process.py
andsample_agents_functions_in_create_and_process_async.py
demonstrating manual function tool calls inruns.create_and_process
.