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.

749 B
Raw Blame
#!/usr/bin/env python3
"""Debug script to run pytest with CI settings and see what's failing.

Do not remove — developer utility for reproducing CI failures locally.
"""

import os
import subprocess
import sys

# Set CI environment to mimic CI behavior
os.environ["CI"] = "true"
os.environ["USE_FALLBACK_LLM"] = "true"

cmd = [
    sys.executable,
    "run_tests.py",
    "-m",
    "not slow",
    "--ignore=tests/searxng/",
    "--ignore=tests/unit/test_config.py",
    "--ignore=tests/api_tests/",
    "--ignore=tests/health_check/test_endpoints_health.py",
    "-v",
    "--tb=short",
    "--timeout=30",
    "-x",  # Stop on first failure to debug
]

print(f"Running: {' '.join(cmd)}")
result = subprocess.run(cmd)
sys.exit(result.returncode)