Skip to content

Commit be1c949

Browse files
authored
Merge pull request #52 from sunrabbit123/patch-1
Fix: remove unreached code in tool.py
2 parents 90010a7 + 51a5be0 commit be1c949

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/agents/tool.py

-2
Original file line numberDiff line numberDiff line change
@@ -284,5 +284,3 @@ def decorator(real_func: ToolFunction[...]) -> FunctionTool:
284284
return _create_function_tool(real_func)
285285

286286
return decorator
287-
return decorator
288-
return decorator

0 commit comments

Comments
 (0)