Skip to content

Commit c27826b

Browse files
fix: add python to snippet generator, and run (#721)
1 parent 9d88895 commit c27826b

File tree

2 files changed

+197
-0
lines changed

2 files changed

+197
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,21 @@ const agentFilesMapper: Record<
363363
{},
364364
);
365365
},
366+
"microsoft-agent-framework-python": (agentKeys: string[]) => {
367+
return agentKeys.reduce(
368+
(acc, agentId) => ({
369+
...acc,
370+
[agentId]: [
371+
path.join(
372+
__dirname,
373+
integrationsFolderPath,
374+
`/microsoft-agent-framework/python/examples/agents/dojo.py`,
375+
),
376+
],
377+
}),
378+
{},
379+
);
380+
},
366381
"microsoft-agent-framework-dotnet": (agentKeys: string[]) => {
367382
return agentKeys.reduce(
368383
(acc, agentId) => ({

0 commit comments

Comments
 (0)