Skip to content

Commit 7b8b26d

Browse files
authored
add adk flag to create-ag-ui-app (#505)
1 parent f827d51 commit 7b8b26d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

typescript-sdk/packages/cli/src/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ async function createProject() {
4545
"ag2",
4646
"llamaindex",
4747
"pydanticAi",
48-
"agno"
48+
"agno",
49+
"adk"
4950
].some(flag => options[flag]);
5051

5152
if (isFrameworkDefined) {
@@ -121,9 +122,11 @@ async function handleCopilotKitNextJs() {
121122
frameworkArgs.push("-f", "agno");
122123
} else if (options.pydanticAi) {
123124
frameworkArgs.push("-f", "pydantic-ai");
125+
} else if (options.adk) {
126+
frameworkArgs.push("-f", "adk");
124127
}
125128

126-
const copilotkit = spawn("npx",
129+
const copilotkit = spawn("npx",
127130
[
128131
"copilotkit@latest",
129132
"create",
@@ -217,6 +220,7 @@ program
217220
.option("--llamaindex", "Use the LlamaIndex framework")
218221
.option("--agno", "Use the Agno framework")
219222
.option("--ag2", "Use the AG2 framework")
223+
.option("--adk", "Use the ADK framework")
220224

221225
program.action(async () => {
222226
await createProject();

0 commit comments

Comments
 (0)