Skip to content

Commit e344bb5

Browse files
committed
feat(cli): add pydantic-ai to cli
Signed-off-by: Tyler Slaton <[email protected]>
1 parent 6faf52b commit e344bb5

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
@@ -44,6 +44,7 @@ async function createProject() {
4444
"mastra",
4545
"ag2",
4646
"llamaindex",
47+
"pydanticAi",
4748
"agno"
4849
].some(flag => options[flag]);
4950

@@ -118,6 +119,8 @@ async function handleCopilotKitNextJs() {
118119
frameworkArgs.push("-f", "llamaindex");
119120
} else if (options.agno) {
120121
frameworkArgs.push("-f", "agno");
122+
} else if (options.pydanticAi) {
123+
frameworkArgs.push("-f", "pydantic-ai");
121124
}
122125

123126
const copilotkit = spawn("npx",
@@ -210,9 +213,10 @@ program
210213
.option("--langgraph-js", "Use the LangGraph framework with JavaScript")
211214
.option("--crewai-flows", "Use the CrewAI framework with Flows")
212215
.option("--mastra", "Use the Mastra framework")
213-
.option("--ag2", "Use the AG2 framework")
216+
.option("--pydantic-ai", "Use the Pydantic AI framework")
214217
.option("--llamaindex", "Use the LlamaIndex framework")
215-
.option("--agno", "Use the Agno framework");
218+
.option("--agno", "Use the Agno framework")
219+
.option("--ag2", "Use the AG2 framework")
216220

217221
program.action(async () => {
218222
await createProject();

0 commit comments

Comments
 (0)