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.

1012 B
Raw Blame

The urls/research_ids/document_ids list parameters on /api/check-downloads, /api/download-bulk, and /api/mark-redownload are now capped (1000 items and 2048 characters per item; download-bulk keeps a higher 100,000-item ceiling so the download-all flow still streams libraries above one thousand entries). The shared shape-only validator let an oversized list through the routes' flat 16 MB JSON body allowance, which fits millions of short items. On check-downloads, that reached the .in_() SQL filter and — on the shipped build, where SQLite accepts at most 250,000 bind parameters (a Debian compile-time value; upstream SQLite defaults to 32,766) — turned the request into an unhandled sqlalchemy.exc.OperationalError ("too many SQL variables", HTTP 500). download-bulk and mark-redownload don't use .in_(); there, the same oversized list instead drove an unbounded per-item query/session loop. Oversized input now returns a 400 before any query runs; honest lists are unaffected.