Significant-Gravitas / AutoGPT-Code-Ability

🖥️ AutoGPT's Coding Ability - empowering everyone to build software using AI
MIT License
110 stars 34 forks source link

fix(compile): Fix server DB schema generation & code fixing mechanism #171

Closed Pwuts closed 5 months ago

Pwuts commented 5 months ago

Apparently the generated DB schema is duplicated across every CompiledRoute. Combining the schemas of N routes with M tables will result in N-fold duplication and prisma generate failure. In turn, this breaks code fixing for server.py, resulting in broken deployments.

Tempfix: use the schema from only one of the CompiledRoutes. Long-term fix: clean up Codex' DB structure.

linear[bot] commented 5 months ago

AGPT-602