Skip to content

~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.

fix: Add -F flag to gh pr comment for stdin input

LearningCircuit8870bfd73eae
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.yml
index a792f52476..1ae0f9d88b 100644
--- a/.github/workflows/ai-code-reviewer.yml
+++ b/.github/workflows/ai-code-reviewer.yml
@@ -33,11 +33,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
- # Run the AI reviewer and capture the comment
- COMMENT=$(cat diff.txt | bash github/scripts/ai-reviewer.sh "${{ secrets.OPENROUTER_API_KEY }}")
-
- # Post the comment directly using GitHub CLI
- echo "$COMMENT" | gh issue comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }}
+ # Run the AI reviewer and post the comment directly via stdin
+ cat diff.txt | bash github/scripts/ai-reviewer.sh "${{ secrets.OPENROUTER_API_KEY }}" | gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} -F -
- name: Cleanup
if: always()