~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
fix: Resolve "Argument list too long" error in AI reviewer script
LearningCircuitf64756d54da8
diff --git a/github/scripts/ai-reviewer.sh b/github/scripts/ai-reviewer.shindex bc58f66575..4739e0a064 100755--- a/github/scripts/ai-reviewer.sh+++ b/github/scripts/ai-reviewer.sh@@ -42,7 +42,12 @@ Please split this PR into smaller changes for review."fi# Create the JSON request with proper escaping using jq-USER_PROMPT="Please analyze this code diff and provide a comprehensive review in markdown format:+# Write diff to temporary file to avoid "Argument list too long" error+DIFF_FILE=$(mktemp)+echo "$DIFF_CONTENT" > "$DIFF_FILE"++# Build the user prompt using the diff file+PROMPT_PREFIX="Please analyze this code diff and provide a comprehensive review in markdown format:Focus Areas:- Security: Look for hardcoded secrets, SQL injection, XSS, authentication issues, input validation problems@@ -52,14 +57,16 @@ Focus Areas:Code diff to analyze:-$DIFF_CONTENT"+"+# Create the request JSON by combining partsjq -n \- --arg system_content "You are a helpful code reviewer analyzing pull requests. Provide a comprehensive review covering security, performance, code quality, and best practices. Respond with a clear, human-readable comment in markdown format." \- --arg user_content "$USER_PROMPT" \--arg model "$AI_MODEL" \--argjson temperature "$AI_TEMPERATURE" \--argjson max_tokens "$AI_MAX_TOKENS" \+ --arg system_content "You are a helpful code reviewer analyzing pull requests. Provide a comprehensive review covering security, performance, code quality, and best practices. Respond with a clear, human-readable comment in markdown format." \+ --arg prompt_prefix "$PROMPT_PREFIX" \+ --rawfile diff_content "$DIFF_FILE" \'{"model": $model,"messages": [@@ -69,13 +76,16 @@ jq -n \},{"role": "user",- "content": $user_content+ "content": ($prompt_prefix + $diff_content)}],"temperature": $temperature,"max_tokens": $max_tokens}' > request.json+# Clean up diff file+rm -f "$DIFF_FILE"+# Make API call to OpenRouterRESPONSE=$(curl -s -X POST "https://openrouter.ai/api/v1/chat/completions" \-H "Content-Type: application/json" \