Skip to content

Instantly share code, notes, and snippets.

View alwin-augustin-dev's full-sized avatar
💭
I may be slow to respond.

Alwin Augustin alwin-augustin-dev

💭
I may be slow to respond.
View GitHub Profile
@alwin-augustin-dev
alwin-augustin-dev / code_review.sh
Created October 17, 2024 06:31
Automated code review using local LLMs
#!/bin/bash
# Define variables
REPO_PATH=""
PR_NUMBER=""
OLLAMA_API_URL="http://localhost:11434/api/generate"
OUTPUT_FILE="code_review_output.md"
MODEL="llama3.1:8b"
MAX_CONTEXT_LINES=20000