Skip to content

Commit 7b65428

Browse files
committed
use local files for pydantic example
1 parent 77a7405 commit 7b65428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const agentFilesMapper: Record<string, (agentKeys: string[]) => Record<string, s
147147
'pydantic-ai': (agentKeys: string[]) => {
148148
return agentKeys.reduce((acc, agentId) => ({
149149
...acc,
150-
[agentId]: [`https://github.com/pydantic/pydantic-ai/blob/main/examples/pydantic_ai_examples/ag_ui/api/${agentId}.py`]
150+
[agentId]: [path.join(__dirname, integrationsFolderPath, `/pydantic-ai/examples/server/api/${agentId}.py`)]
151151
}), {})
152152
},
153153
'server-starter': () => ({

0 commit comments

Comments
 (0)