Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
qcampbel committed Jan 24, 2024
1 parent 42ce120 commit 7397596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdagent/tools/maketools.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def get_tools(
RetryExecuteSkill(subagent_settings=subagent_settings),
SkillRetrieval(subagent_settings=subagent_settings),
]
if subagent_settings.curriculum:
if subagent_settings is not None and subagent_settings.curriculum:
retrieved_tools.append(WorkflowPlan(subagent_settings=subagent_settings))
top_k_tools -= len(retrieved_tools)
all_tools = make_all_tools(
Expand Down

0 comments on commit 7397596

Please sign in to comment.