Skip to content

Commit 206414e

Browse files
Update generic_agent.py
1 parent a9070f5 commit 206414e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/kernel_agents/generic_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(
4141
definition: Optional definition instance
4242
"""
4343
# Load configuration if tools not provided
44-
if tools is None:
44+
if not tools:
4545
# Get tools directly from GenericTools class
4646
tools_dict = GenericTools.get_all_kernel_functions()
4747
logging.info(

0 commit comments

Comments
 (0)