Commit Graph

5 Commits

Author SHA1 Message Date
Aldo Jimenez e4686cb9ee fix: seed script fails due to missing content field
The seed script fetches from /prompts.json without the ?full_content=true
parameter. The API only returns contentPreview by default, so the content
field is undefined, causing PrismaClientValidationError for every prompt.

Changes:
- Add ?full_content=true to the fetch URL
- Make content optional in RemotePrompt interface
- Skip prompts without content instead of failing

Before: Created 0 prompts (1595 skipped) with validation errors
After: Created 1576 prompts (19 skipped - no content)
2026-03-30 13:56:31 -04:00
Fatih Kadir Akın 9296d2c2f6 feat(prisma): add db:resetadmin and db:setup scripts for database management 2026-01-06 10:47:17 +03:00
Fatih Kadir Akın 541f5f7df3 feat(messages): add connectedPrompts translations in multiple languages 2025-12-21 16:38:07 +03:00
Fatih Kadir Akın be102a0d09 feat(messages): add skill field to prompt messages for various languages 2025-12-20 20:54:08 +03:00
Fatih Kadir Akın 85a5f3bed7 Initialize v2 work 2025-12-10 15:41:23 +03:00