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 15c02a2 commit 6eb4911Copy full SHA for 6eb4911
typescript-sdk/apps/dojo/scripts/generate-content-json.ts
@@ -347,7 +347,10 @@ async function runGenerateContent() {
347
// Use the parsed agent keys instead of executing the agents function
348
const agentsPerFeatures = agentConfig.agentKeys;
349
350
- const agentFilePaths = agentFilesMapper[agentConfig.id](agentConfig.agentKeys);
+ const agentFilePaths = agentFilesMapper[agentConfig.id]?.(agentConfig.agentKeys);
351
+ if (!agentFilePaths) {
352
+ continue;
353
+ }
354
355
// Per feature, assign all the frontend files like page.tsx as well as all agent files
356
for (const featureId of agentsPerFeatures) {
0 commit comments