Build an AI Code-Review Bot in Java (Gitea/GitHub Webhook + Spring AI)
A pull-request review bot in Spring Boot 4.1.1 and Spring AI 2.0.1: verify the webhook signature, chunk the diff with new-file line numbers, review each chunk, drop comments on lines the model invented, and keep the bill down with a cache and a chunk cap. Runs with a scripted model and no API key.