From cf27e98ad8d8ef1d2a1a80a7548da621cdfd8687 Mon Sep 17 00:00:00 2001 From: Rehan-Ul-Haq Date: Wed, 28 May 2025 17:38:32 +0500 Subject: [PATCH] Fix typo in assertion message for handoff function --- src/agents/handoffs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/handoffs.py b/src/agents/handoffs.py index 686191f3d..50dd417a2 100644 --- a/src/agents/handoffs.py +++ b/src/agents/handoffs.py @@ -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: