Skip to content

Commit 22c4915

Browse files
committed
fix: update package versions and improve image generation prompt in apartments resource live-demo
1 parent e965901 commit 22c4915

File tree

3 files changed

+53
-53
lines changed

3 files changed

+53
-53
lines changed

live-demo/app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"@adminforth/storage-adapter-amazon-s3": "^1.0.11",
3232
"@adminforth/text-complete": "^1.8.9",
3333
"@adminforth/two-factors-auth": "^2.9.20",
34-
"@adminforth/upload": "^2.8.6",
34+
"@adminforth/upload": "^2.14.4",
3535
"@prisma/client": "^6.6.0",
36-
"adminforth": "2.25.0-next.5",
36+
"adminforth": "2.25.0-test.3",
3737
"better-sqlite3": "^10.0.0",
3838
"express": "^4.19.2"
3939
},

live-demo/app/pnpm-lock.yaml

Lines changed: 50 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

live-demo/app/resources/apartments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default {
216216
model: "dall-e-3",
217217
}),
218218
outputSize: "1792x1024",
219-
fieldsForContext: ["title"],
219+
generationPrompt: "Generate an image for apartment with title {{title}}. Make it look like a photo from a real estate listing.",
220220
rateLimit: {
221221
limit: "2/1m",
222222
errorMessage:

0 commit comments

Comments
 (0)