Commit Graph

6 Commits

Author SHA1 Message Date
qpismont aa0dbdcc7a Extract review logic into bot_actions module
Move `exec_review`, `download_git_diff`, and review formatting
to a new `bot_actions::review` module. Update the review flow to
post inline review comments via the Gitea API and simplify the
comment markdown to a summary. Add diff formatting that
preprocesses added lines with line numbers for the LLM prompt.
2026-06-06 17:27:35 +00:00
qpismont ced1fca563 Add gitea download git diff limit 2026-06-05 19:34:29 +00:00
qpismont 01e13f0081 Add default authorization header for gitea api (remove query string)
Add review cost
2026-06-05 18:39:38 +00:00
qpismont cd5c5b9478 Use reqwest 0.12 with rustls-tls and add timeouts
Also improve review prompt with line calculation instructions, switch
feedback to French, and enable reasoning for OpenRouter.
2026-06-03 20:51:21 +00:00
qpismont de81232201 Integrate OpenRouter for AI-powered code review
Add openrouter-rs dependency, review prompt, and markdown formatting.
Update comment API to accept dynamic body. Adjust devcontainer for
podman compatibility.
2026-06-03 19:38:00 +00:00
qpismont 0a22be252c improve webhook parsing 2026-06-01 21:10:45 +00:00