started gitea api impl #2

Merged
qpismont merged 9 commits from gitea_api into main 2026-06-07 10:23:31 +02:00

9 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 6aa653e846 Add http status check for gitea api 2026-06-05 18:52:59 +00:00
qpismont 3501e4ae9d Use reqwest client with timeout in gitea.rs and bot.rs 2026-06-05 18:48:02 +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 4966d08d18 first comment ! :D 2026-06-02 20:30:02 +00:00
qpismont 10ebee389e started gitea api impl 2026-06-02 19:52:50 +00:00