A context-aware Git assistant using LangGraph and FastAPI.
- Python 3.10+
- Poetry
- Clone the repository:
git clone <repository-url>
cd git-assistant
- Install dependencies using Poetry:
poetry install
- Activate the Poetry shell:
poetry shell
- Start the FastAPI server:
uvicorn src.git_assistant.main:app --reload
The API will be available at:
- API: http://localhost:8000
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
git-assistant/
├── src/ # Source code
│ └── git_assistant/ # Main package
├── docs/ # Documentation
├── tests/ # Test files
├── pyproject.toml # Poetry configuration
├── poetry.lock # Dependency lock file
├── Makefile # Development commands
└── README.md # Project documentation
GET /ping
: Returns a simple "pong" response to verify the service is running
The project uses Black and isort for code formatting. To format the code:
poetry run black .
poetry run isort .
poetry run pytest