Skip to content

Commit dabab8c

Browse files
authored
Fix line length in is_enabled field to satisfy Ruff check
1 parent 76d2751 commit dabab8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/agents/handoffs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ class Handoff(Generic[TContext, TAgent]):
119119
True, as it increases the likelihood of correct JSON input.
120120
"""
121121

122-
is_enabled: bool | Callable[[RunContextWrapper[Any], AgentBase[Any]], MaybeAwaitable[bool]] = True
122+
is_enabled: bool | Callable[
123+
[RunContextWrapper[Any], AgentBase[Any]], MaybeAwaitable[bool]
124+
] = True
123125
"""Whether the handoff is enabled. Either a bool or a Callable that takes the run context and
124126
agent and returns whether the handoff is enabled. You can use this to dynamically enable/disable
125127
a handoff based on your context/state."""

0 commit comments

Comments
 (0)