~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 shell escaping issues in AI reviewer prompts
LearningCircuitea7c11c476ab
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.ymlindex 3d0a43c95c..0b7da90759 100644--- a/.github/workflows/ai-code-reviewer.yml+++ b/.github/workflows/ai-code-reviewer.yml@@ -37,8 +37,9 @@ jobs:- name: Security Review via APIid: reviewrun: |- # Prepare the security-focused prompt- PROMPT='You are a helpful security expert reviewing a pull request. Analyze the following code diff for security opportunities and respond with JSON. Be constructive and educational in your feedback.+ # Create a temporary file for the prompt+ cat > prompt.txt << 'EOF'+ You are a helpful security expert reviewing a pull request. Analyze the following code diff for security opportunities and respond with JSON. Be constructive and educational in your feedback.Focus on:- Hardcoded secrets, passwords, API keys, tokens@@ -83,7 +84,13 @@ jobs:- "pass" = Great security practices observed!Code diff to review:- ${{ steps.diff.outputs.diff }}'+ EOF++ # Append the diff to the prompt+ cat "${{ steps.diff.outputs.diff }}" >> prompt.txt++ # Read the prompt into a variable+ PROMPT=$(cat prompt.txt)# Make API call to OpenRouterRESPONSE=$(curl -s -X POST "https://openrouter.ai/api/v1/chat/completions" \@@ -196,7 +203,9 @@ jobs:- name: Performance Review via APIid: reviewrun: |- PROMPT='You are a helpful performance expert reviewing a pull request. Analyze the code diff for performance opportunities and respond with JSON. Be encouraging and provide actionable optimization suggestions.+ # Create a temporary file for the prompt+ cat > prompt.txt << 'EOF'+ You are a helpful performance expert reviewing a pull request. Analyze the code diff for performance opportunities and respond with JSON. Be encouraging and provide actionable optimization suggestions.Focus on:- Inefficient algorithms or data structures@@ -241,7 +250,13 @@ jobs:- "pass" = Excellent performance practices!Code diff to review:- ${{ steps.diff.outputs.diff }}'+ EOF++ # Append the diff to the prompt+ cat "${{ steps.diff.outputs.diff }}" >> prompt.txt++ # Read the prompt into a variable+ PROMPT=$(cat prompt.txt)RESPONSE=$(curl -s -X POST "https://openrouter.ai/api/v1/chat/completions" \-H "Content-Type: application/json" \