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 6d1add0 commit 5b61ac4Copy full SHA for 5b61ac4
src/runtime/services/workspace/init.ts
@@ -72,7 +72,7 @@ export async function bootstrapWorkspace(options?: WorkspaceBootstrapOptions): P
72
const template = await loadWorkflowModule(options.templatePath);
73
if (isWorkflowTemplate(template)) {
74
const templateName = path.basename(options.templatePath);
75
- agentIdsToLoad = template.subAgentIds;
+ agentIdsToLoad = template.subAgentIds ?? [];
76
77
// Save template to template.json
78
await setActiveTemplate(cmRoot, templateName);
0 commit comments