mirror of
https://github.com/Significant-Gravitas/AutoGPT-Code-Ability.git
synced 2026-11-10 08:01:27 -10:00
* feat: raise the validations up * feat: add error enhancements to the AI Block * fix: extract the TODO_COMMENT to the constants * fix: move ErrorEnhancements * fix: move TODO_COMMENT * feat: add interview ID to the log * feat: enhancement is used in system prompt * fix: imports in the gen_test * feat: add decimal support * fix(develop): don't error when the only issue is llm errors
23 lines
756 B
Python
23 lines
756 B
Python
PRISMA_FILE_HEADER = """
|
|
// datasource db defines the database connection settings.
|
|
// It is configured for PostgreSQL and uses an environment variable for the connection URL.
|
|
// The 'extensions' feature enables the use of PostgreSQL-specific data types.
|
|
datasource db {
|
|
provider = "postgresql"
|
|
url = env("DATABASE_URL")
|
|
}
|
|
|
|
// generator db configures Prisma Client settings.
|
|
// It is set up to use Prisma Client Python with asyncio interface and specific features.
|
|
generator db {
|
|
provider = "prisma-client-py"
|
|
interface = "asyncio"
|
|
recursive_type_depth = 5
|
|
previewFeatures = ["postgresqlExtensions"]
|
|
enable_experimental_decimal = true
|
|
}
|
|
|
|
"""
|
|
|
|
TODO_COMMENT = "# TODO(autogpt):"
|