Spaces:
Running
Running
A newer version of the Gradio SDK is available: 6.20.0
Contributing
Branches
main— protected, requires passing CI- Feature branches:
feat/<short-description> - Bug fixes:
fix/<short-description>
Workflow
- Fork the repo and create your branch from
main - Run
ruff check app/ tests/andbandit -r app/ -qlocally before pushing - Run
pytest tests/ --cov=app --cov-fail-under=70and ensure it passes - Open a PR with a clear description of what changed and why
Commit style
Follow Conventional Commits:
feat:new featurefix:bug fixtest:adding or updating testsdocs:documentation onlyrefactor:no behaviour changeci:CI/CD changes
Environment setup
pip install -r requirements.txt
cp .env.example .env
# Fill in OPENROUTER_API_KEY
Running tests
pytest tests/ -v --cov=app --cov-report=term-missing