fix: correct typo handoff_occured -> handoff_occurred

This commit is contained in:
emco 2026-06-09 12:06:43 +01:00
parent 1c79507140
commit 40074e67c6
2 changed files with 2 additions and 2 deletions

View File

@ -1143,7 +1143,7 @@ class RunImpl:
elif isinstance(item, HandoffCallItem):
event = RunItemStreamEvent(item=item, name="handoff_requested")
elif isinstance(item, HandoffOutputItem):
event = RunItemStreamEvent(item=item, name="handoff_occured")
event = RunItemStreamEvent(item=item, name="handoff_occurred")
elif isinstance(item, ToolCallItem):
event = RunItemStreamEvent(item=item, name="tool_called")
elif isinstance(item, ToolCallOutputItem):

View File

@ -31,7 +31,7 @@ class RunItemStreamEvent:
name: Literal[
"message_output_created",
"handoff_requested",
"handoff_occured",
"handoff_occurred",
"tool_called",
"tool_output",
"reasoning_item_created",