Skip to content

Commit 6551fc8

Browse files
Update human_agent.py
1 parent 168ce91 commit 6551fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/kernel_agents/human_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(
5555
definition: Optional definition instance
5656
"""
5757
# Load configuration if tools not provided
58-
if tools is None:
58+
if not tools:
5959
# Get tools directly from HumanTools class
6060
tools_dict = HumanTools.get_all_kernel_functions()
6161
tools = [KernelFunction.from_method(func) for func in tools_dict.values()]

0 commit comments

Comments
 (0)