Skip to content

Commit 411d396

Browse files
committed
update
1 parent 19a7cf8 commit 411d396

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/agents/handoffs/__init__.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ 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
91-
| Callable[[RunContextWrapper[Any], Agent[Any]], MaybeAwaitable[bool]] = True,
90+
is_enabled: bool | Callable[[RunContextWrapper[Any], Agent[Any]], MaybeAwaitable[bool]] = True,
9291
) -> Handoff[TContext, Agent[TContext]]: ...
9392

9493

@@ -102,8 +101,7 @@ def handoff(
102101
tool_name_override: str | None = None,
103102
input_filter: Callable[[HandoffInputData], HandoffInputData] | None = None,
104103
nest_handoff_history: bool | None = None,
105-
is_enabled: bool
106-
| Callable[[RunContextWrapper[Any], Agent[Any]], MaybeAwaitable[bool]] = True,
104+
is_enabled: bool | Callable[[RunContextWrapper[Any], Agent[Any]], MaybeAwaitable[bool]] = True,
107105
) -> Handoff[TContext, Agent[TContext]]: ...
108106

109107

@@ -116,8 +114,7 @@ def handoff(
116114
tool_name_override: str | None = None,
117115
input_filter: Callable[[HandoffInputData], HandoffInputData] | None = None,
118116
nest_handoff_history: bool | None = None,
119-
is_enabled: bool
120-
| Callable[[RunContextWrapper[Any], Agent[Any]], MaybeAwaitable[bool]] = True,
117+
is_enabled: bool | Callable[[RunContextWrapper[Any], Agent[Any]], MaybeAwaitable[bool]] = True,
121118
) -> Handoff[TContext, Agent[TContext]]: ...
122119

123120

0 commit comments

Comments
 (0)