~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
ci: bump Friendly-AI-Reviewer pin to d88b1f4 (#6480)
LearningCircuitadaaf6b853b1
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.ymlindex c933ea9dd2..b859e0af6f 100644--- a/.github/workflows/ai-code-reviewer.yml+++ b/.github/workflows/ai-code-reviewer.yml@@ -102,13 +102,15 @@ jobs:- name: Download AI reviewer scriptrun: |- # Pinned to Friendly-AI-Reviewer v0.0.1 (commit e7fe618a).+ # Pinned to Friendly-AI-Reviewer commit d88b1f4 (post-v0.0.1 main+ # HEAD, merged PR #28: configurable commit overview, check-run+ # summary, human-comment caps, severity-tagged review contract).# Using commit SHA (immutable) — tags can be deleted/moved.# SHA-256 verify guards against CDN tampering.# To update: cut a new release on Friendly-AI-Reviewer, then update# REVIEWER_COMMIT and REVIEWER_SHA256 below.- REVIEWER_COMMIT="e7fe618a8a28831dfcd5a3227ebbf667b3d3c43b" # DevSkim: ignore DS173237 - pinned public commit SHA, not a secret- REVIEWER_SHA256="2d613a562bf4631b394d826fdc164510097d16ac5355c996edcdf2a36c3346fe" # DevSkim: ignore DS173237 - public integrity checksum, not a secret+ REVIEWER_COMMIT="d88b1f4f8600076d6bda82fb77fdf695ad0665d0" # DevSkim: ignore DS173237 - pinned public commit SHA, not a secret+ REVIEWER_SHA256="cc2a48ffcfe9a865654bcdd9cafd7a16a79928b8039ea92fdcf981b4aa3c041e" # DevSkim: ignore DS173237 - public integrity checksum, not a secretcurl -fsSL "https://raw.githubusercontent.com/LearningCircuit/Friendly-AI-Reviewer/${REVIEWER_COMMIT}/ai-reviewer.sh" -o ai-reviewer.shprintf '%s %s\n' "$REVIEWER_SHA256" ai-reviewer.sh | sha256sum -c -chmod +x ai-reviewer.sh@@ -129,6 +131,12 @@ jobs:MAX_DIFF_SIZE: ${{ vars.MAX_DIFF_SIZE || '800000' }}EXCLUDE_FILE_PATTERNS: ${{ vars.EXCLUDE_FILE_PATTERNS || '*.lock,*.min.js,*.min.css,package-lock.json,yarn.lock' }}STRUCTURED_OUTPUT: ${{ vars.STRUCTURED_OUTPUT || 'true' }}+ MAX_SUMMARY_COMMITS: ${{ vars.MAX_SUMMARY_COMMITS || '15' }}+ MAX_COMMIT_MESSAGES: ${{ vars.MAX_COMMIT_MESSAGES || '3' }}+ INCLUDE_COMMIT_SUMMARY: ${{ vars.INCLUDE_COMMIT_SUMMARY || 'true' }}+ MAX_HUMAN_COMMENTS: ${{ vars.MAX_HUMAN_COMMENTS || '100' }}+ MAX_HUMAN_COMMENT_LENGTH: ${{ vars.MAX_HUMAN_COMMENT_LENGTH || '4000' }}+ MAX_HUMAN_COMMENTS_TOTAL: ${{ vars.MAX_HUMAN_COMMENTS_TOTAL || '20000' }}PR_NUMBER: ${{ github.event.pull_request.number }}REPO_FULL_NAME: ${{ github.repository }}HEAD_SHA: ${{ github.event.pull_request.head.sha }}diff --git a/docs/AI_Code_Reviewer_Setup.md b/docs/AI_Code_Reviewer_Setup.mdindex ed2f9aa09a..12d72d5d4e 100644--- a/docs/AI_Code_Reviewer_Setup.md+++ b/docs/AI_Code_Reviewer_Setup.md@@ -44,6 +44,9 @@ The workflow is pre-configured with sensible defaults. You can override them **w- **AI_TEMPERATURE**: Adjust randomness (default: `0.1` for consistent reviews)- **AI_MAX_TOKENS**: Maximum response length (default: `64000`)- **MAX_DIFF_SIZE**: Maximum diff size in bytes (default: `800000` / 800KB)+- **MAX_SUMMARY_COMMITS**: How many of the PR's most recent commits feed the commit overview the reviewer sees (commit counts per author, added/removed line totals); `0` shows the count-only header (default: `15`)+- **MAX_COMMIT_MESSAGES**: How many commit messages are fully quoted in the prompt — the token-expensive part (default: `3`)+- **MAX_HUMAN_COMMENTS** / **MAX_HUMAN_COMMENT_LENGTH** / **MAX_HUMAN_COMMENTS_TOTAL**: Caps for the human-comment context block (newest-first selection; defaults: `100` comments, `4000` chars each, `20000` bytes overall; `0` disables)#### Multiple reviewers@@ -114,7 +117,7 @@ This will generate a fresh review of the current PR state.## Review Results-The AI posts a comprehensive comment analyzing your code across all focus areas. The review is meant to assist human reviewers, not replace them.+The AI posts a comment listing only actionable findings — bullets tagged **must fix**, **should fix**, or **nit**, in that order, each with its file/line location, a concrete failure scenario, the impact, and a suggested fix. Inferences are highlighted with an explicit "Inference (not verified):" label so assumptions never read as verified facts, and anything that cannot be verified from the diff but is worth a human look is collected in a final "Should be checked" section. Praise, change summaries, and empty filler sections (such as a boilerplate "no security concerns" line) are deliberately omitted; a clean diff yields "No actionable findings." followed by the verdict. The review is meant to assist human reviewers, not replace them.## Cost Estimation