This commit is contained in:
2026-02-02 19:54:04 +00:00
commit d55002e218
23 changed files with 672 additions and 0 deletions

27
README.md Normal file
View File

@@ -0,0 +1,27 @@
# ai-reviewer
Local-LLM Git diff reviewer that runs against Ollama.
## Requirements
- Python 3.12
- Ollama running locally (default http://localhost:11434)
- Model pulled: qwen2.5-coder:7b
## Quickstart
Setup and run:
- make setup
- make run
Review a diff:
- ai-reviewer review --repo /work --base main --head HEAD --format markdown --out /work/review.md
Print a diff:
- ai-reviewer diff --repo /work --base main --head HEAD
## Docker
Build and run:
- make docker-build
- make docker-run
## Environment
- OLLAMA_HOST (default http://localhost:11434)