Skip to content

Commit dbb8806

Browse files
Update marketing_agent.py
1 parent 6551fc8 commit dbb8806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/kernel_agents/marketing_agent.py

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

0 commit comments

Comments
 (0)