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.

feat: Improve AI reviewer workflow robustness

LearningCircuitdd7f191bbb75
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.yml
index 1c93bfc845..995186b392 100644
--- a/.github/workflows/ai-code-reviewer.yml
+++ b/.github/workflows/ai-code-reviewer.yml
@@ -54,7 +54,7 @@ jobs:
# Temporarily disable errexit to capture errors properly
set +e
- AI_RESPONSE=$(bash ai-reviewer.sh < diff.txt 2>&1)
+ AI_RESPONSE=$(bash ai-reviewer.sh < diff.txt)
EXIT_CODE=$?
set -e
@@ -111,7 +111,7 @@ jobs:
# Extract fields from JSON
REVIEW=$(echo "$AI_RESPONSE" | jq -r '.review // "No review provided"')
- DECISION=$(echo "$AI_RESPONSE" | jq -r '.fail_pass_workflow // "uncertain"')
+ DECISION=$(echo "$AI_RESPONSE" | jq -r '.fail_pass_workflow // "uncertain"' | tr -d '\n\r' | xargs)
LABELS=$(echo "$AI_RESPONSE" | jq -r '.labels_added[]? // empty')
# Post the review as PR comment