Skip to content

Commit 3f49fb1

Browse files
authored
add strands to contentjson (#764)
1 parent 392b628 commit 3f49fb1

File tree

2 files changed

+147
-0
lines changed

2 files changed

+147
-0
lines changed

apps/dojo/scripts/generate-content-json.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,21 @@ const agentFilesMapper: Record<
374374
{},
375375
);
376376
},
377+
"aws-strands": (agentKeys: string[]) => {
378+
return agentKeys.reduce(
379+
(acc, agentId) => ({
380+
...acc,
381+
[agentId]: [
382+
path.join(
383+
__dirname,
384+
integrationsFolderPath,
385+
`/aws-strands/python/examples/server/api/${agentId}.py`,
386+
)
387+
],
388+
}),
389+
{},
390+
);
391+
},
377392
"microsoft-agent-framework-python": (agentKeys: string[]) => {
378393
return agentKeys.reduce(
379394
(acc, agentId) => ({
@@ -425,6 +440,8 @@ async function runGenerateContent() {
425440
const agentFilePaths = agentFilesMapper[agentConfig.id]?.(
426441
agentConfig.agentKeys,
427442
);
443+
444+
console.log(agentConfig.id, agentFilePaths);
428445
if (!agentFilePaths) {
429446
continue;
430447
}

0 commit comments

Comments
 (0)