We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 206414e commit 168ce91Copy full SHA for 168ce91
src/backend/kernel_agents/hr_agent.py
@@ -44,7 +44,7 @@ def __init__(
44
definition: Optional definition instance
45
"""
46
# Load configuration if tools not provided
47
- if tools is None:
+ if not tools:
48
# Get tools directly from HrTools class
49
tools_dict = HrTools.get_all_kernel_functions()
50
tools = [KernelFunction.from_method(func) for func in tools_dict.values()]
0 commit comments