Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/agents/handoffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def handoff(
input_filter: a function that filters the inputs that are passed to the next agent.
"""
assert (on_handoff and input_type) or not (on_handoff and input_type), (
"You must provide either both on_input and input_type, or neither"
"You must provide either both on_handoff and input_type, or neither"
)
type_adapter: TypeAdapter[Any] | None
if input_type is not None:
Expand Down