Skip to content

Commit d0f6f5f

Browse files
committed
use local files for pydantic example
1 parent c9b8411 commit d0f6f5f

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)