Skip to content

Commit 82b4395

Browse files
committed
Added support for agentFilesMapper.
1 parent c1e5b53 commit 82b4395

File tree

2 files changed

+136
-0
lines changed

2 files changed

+136
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ const agentFilesMapper: Record<string, (agentKeys: string[]) => Record<string, s
195195
...acc,
196196
[agentId]: [path.join(__dirname, integrationsFolderPath, `/crewai/python/ag_ui_crewai/examples/${agentId}.py`)]
197197
}), {})
198+
},
199+
'adk-middleware': (agentKeys: string[]) => {
200+
return agentKeys.reduce((acc, agentId) => ({
201+
...acc,
202+
[agentId]: [path.join(__dirname, integrationsFolderPath, `/adk-middleware/examples/fastapi_server.py`)]
203+
}), {})
198204
}
199205
}
200206

0 commit comments

Comments
 (0)