v1.20.0 #1339
afarntrog
announced in
Announcements
v1.20.0
#1339
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Major Features
Swarm Interrupts for Human-in-the-Loop - PR#1193
Swarm multi-agent systems now support interrupts, enabling Human-in-the-Loop patterns for approval workflows and user interaction during agent execution. Interrupts can be triggered via BeforeNodeCallEvent hooks or directly within agent tools using ToolContext.
See the interrupts documentation for more details.
AgentResult Access in AfterInvocationEvent - PR#1125
Hooks can now access the complete AgentResult in AfterInvocationEvent, enabling post-invocation actions based on the agent's output, stop reason, and metrics. This enhancement allows for richer observability and custom handling of agent results.
Major Bug Fixes
Structured Output Display Fix - PR#1290
Fixed
AgentResult.__str__()to return structured output JSON when no text content is present, resolving issues whereprint(agent_result)showed empty output and structured output was lost in multi-agent graph propagation.Tool Spec Composition Keywords Fix - PR#1301
Fixed tool specification handling for JSON Schema composition keywords (anyOf, oneOf, allOf, not), preventing models from incorrectly returning string-encoded JSON for optional parameters like
Optional[List[str]].MCP Client Resource Leak Fix - PR#1321
Fixed file descriptor leak in MCP client by properly closing the asyncio event loop, preventing resource exhaustion in multi-tenant applications that create many MCP clients.
All Changes
New Contributors
Full Changelog: v1.19.0...v1.20.0
This discussion was created from the release v1.20.0.
Beta Was this translation helpful? Give feedback.
All reactions