Skip to content

Commit 1c364c5

Browse files
Update product_agent.py
1 parent 9f1fb1d commit 1c364c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/kernel_agents/product_agent.py

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

0 commit comments

Comments
 (0)