Add pr-reviewer module: Gitea webhooks, Spring AI structured output, quote-checked inline comments, de-duplication across pushes and live tests against Gitea 1.27.3 on Spring AI 2.1.0
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
packaged jar, local Gitea 1.27.3, model qwen2.5-coder:1.5b on a 2 vCPU CPU, one pull request
|
||||
seconds from opening the pull request to the finished report: 20
|
||||
reviewed dev/demo-2019#1 at 1ced5f5a: ReviewReport[status=REVIEWED,
|
||||
chunks=1,
|
||||
skippedFiles=0,
|
||||
chunksOverBudget=0,
|
||||
failedChunks=0,
|
||||
cacheHits=0,
|
||||
modelCalls=1,
|
||||
inputTokens=699,
|
||||
outputTokens=101,
|
||||
posted=[Posted[path=src/Greeter.java,
|
||||
line=4,
|
||||
severity=CRITICAL,
|
||||
title=Hard-coded password in Greeter,
|
||||
relocated=false]],
|
||||
dropped=[],
|
||||
timings=Timings[fetch=389,
|
||||
model=16742,
|
||||
dedup=15,
|
||||
post=112]]
|
||||
|
||||
inline comments read back from Gitea:
|
||||
src/Greeter.java:4
|
||||
**CRITICAL** (security): Hard-coded password in Greeter
|
||||
|
||||
The password is hard-coded in the Greeter class.
|
||||
|
||||
Suggested change:
|
||||
|
||||
```
|
||||
Use environment variables or a configuration file to store sensitive information.
|
||||
```
|
||||
|
||||
<!-- pr-reviewer:0c0f8ddd6fd31485 -->
|
||||
Reference in New Issue
Block a user