@@ -87,7 +87,8 @@ def handoff(
8787 tool_description_override : str | None = None ,
8888 input_filter : Callable [[HandoffInputData ], HandoffInputData ] | None = None ,
8989 nest_handoff_history : bool | None = None ,
90- is_enabled : bool | Callable [[RunContextWrapper [Any ], "Agent[Any]" ], MaybeAwaitable [bool ]] = True ,
90+ is_enabled : bool
91+ | Callable [[RunContextWrapper [Any ], "Agent[Any]" ], MaybeAwaitable [bool ]] = True ,
9192) -> Handoff [TContext , "Agent[TContext]" ]: ...
9293
9394
@@ -101,7 +102,8 @@ def handoff(
101102 tool_name_override : str | None = None ,
102103 input_filter : Callable [[HandoffInputData ], HandoffInputData ] | None = None ,
103104 nest_handoff_history : bool | None = None ,
104- is_enabled : bool | Callable [[RunContextWrapper [Any ], "Agent[Any]" ], MaybeAwaitable [bool ]] = True ,
105+ is_enabled : bool
106+ | Callable [[RunContextWrapper [Any ], "Agent[Any]" ], MaybeAwaitable [bool ]] = True ,
105107) -> Handoff [TContext , "Agent[TContext]" ]: ...
106108
107109
@@ -114,7 +116,8 @@ def handoff(
114116 tool_name_override : str | None = None ,
115117 input_filter : Callable [[HandoffInputData ], HandoffInputData ] | None = None ,
116118 nest_handoff_history : bool | None = None ,
117- is_enabled : bool | Callable [[RunContextWrapper [Any ], "Agent[Any]" ], MaybeAwaitable [bool ]] = True ,
119+ is_enabled : bool
120+ | Callable [[RunContextWrapper [Any ], "Agent[Any]" ], MaybeAwaitable [bool ]] = True ,
118121) -> Handoff [TContext , "Agent[TContext]" ]: ...
119122
120123
0 commit comments