Skip to content

Commit 168ce91

Browse files
Update hr_agent.py
1 parent 206414e commit 168ce91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/kernel_agents/hr_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(
4444
definition: Optional definition instance
4545
"""
4646
# Load configuration if tools not provided
47-
if tools is None:
47+
if not tools:
4848
# Get tools directly from HrTools class
4949
tools_dict = HrTools.get_all_kernel_functions()
5050
tools = [KernelFunction.from_method(func) for func in tools_dict.values()]

0 commit comments

Comments
 (0)