In what type of project did the bug occur?
agent
Describe the bug
When generating an agent project with the sqladmin plugin enabled, app/schemas/user.py is excluded by the template, but app/integrations/sqladmin/views/user.py requires UserCreate and UserUpdate from it, causing a ModuleNotFoundError at runtime.
To Reproduce
- Generate a new project:
copier copy https://github.com/the-momentum/python-ai-kit $TARGET_DIR --trust
- Select project type:
agent
- Enable plugins:
sqladmin (and optionally others)
- Try to run the application:
uv run streamlit run app/gui.py
Expected result
The application should start without import errors since the sqladmin views require the user schemas.
Actual result
ModuleNotFoundError: No module named 'app.schemas.user'
Environment (please complete the following information):
- OS: Darwin 24.6.0
- Agent/LLM: N/A (template generation issue)
- Execution method: local uv
- Python version: 3.13