Skip to content

sayonetech/git-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Assistant

A context-aware Git assistant using LangGraph and FastAPI.

Requirements

  • Python 3.10+
  • Poetry

Installation

  1. Clone the repository:
git clone <repository-url>
cd git-assistant
  1. Install dependencies using Poetry:
poetry install

Running the Application

  1. Activate the Poetry shell:
poetry shell
  1. Start the FastAPI server:
uvicorn src.git_assistant.main:app --reload

The API will be available at:

Project Structure

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

API Endpoints

Health Check

  • GET /ping: Returns a simple "pong" response to verify the service is running

Development

Code Formatting

The project uses Black and isort for code formatting. To format the code:

poetry run black .
poetry run isort .

Running Tests

poetry run pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published