AI tools were quick to get a FastAPI project started, but as the codebase grows they keep putting business logic in routes and mishandling async database sessions. Refactoring the output is starting to eat up the time saved.
How are you keeping generated code aligned with the architecture in a larger Python project?
8fold.index.card:
Keeping a good example current matters too. If the reference implementation has drifted, the tool can reproduce that drift.