Skip to content

Commit 3694c7e

Browse files
committed
more linting
1 parent 8746b81 commit 3694c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agents/handoffs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ async def _is_enabled(ctx: RunContextWrapper[Any], agent_base: AgentBase[Any]) -
193193
result = is_enabled(ctx, agent_base)
194194
if inspect.isawaitable(result):
195195
return await result
196-
return bool(result)
196+
return result
197197

198198
return Handoff(
199199
tool_name=tool_name,

0 commit comments

Comments
 (0)