Skip to content

Commit 25589fa

Browse files
committed
Include CompactionItem in RunItem union for type safety
1 parent d941493 commit 25589fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/agents/items.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ def to_input_item(self) -> TResponseInputItem:
449449
MCPListToolsItem,
450450
MCPApprovalRequestItem,
451451
MCPApprovalResponseItem,
452+
CompactionItem,
452453
ToolApprovalItem,
453454
]
454455
"""An item generated by an agent."""

0 commit comments

Comments
 (0)