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.

2.3 KB
Raw Blame

The public REST endpoints /api/v1/quick_summary and /api/v1/generate_report now reject 16 request-body parameters with HTTP 400 instead of silently forwarding or ignoring them: retrievers, llms, progress_callback, openai_endpoint_url, research_id, programmatic_mode, research_context, research_mode, settings, settings_override, api_key, user_password, metadata, provider, max_search_results, and output_file. Each was either a live-object parameter a JSON body can never carry correctly (retrievers/llms/progress_callback), live credential/endpoint steering (openai_endpoint_url), a server-side filesystem path a public API body should not choose (output_file), identity/audit plumbing the REST path already manages itself, or a silent no-op that only invited confusion. /api/v1/analyze_documents additionally rejects programmatic_mode and, as of this update, output_file too — the same bare-open() write sink as generate_report, closing the same gap on that third endpoint (it previously advertised the accepted-parameter set in its own allowed_parameters 400 response body, so this is a visible narrowing there too). temperature is the one previously-documented exception: it is accepted (200) rather than rejected for backward compatibility, but is stripped before the research call — every response where it was supplied now carries a warnings array naming it as a no-op on these two endpoints. model_name, search_strategy, and search_tool additionally get lightweight string type validation at the boundary, turning a wrong-typed value from an opaque 500 into a clear 400; a null value is let through unchanged for model_name/search_tool (both already treat None as "use the stored setting"), while null for search_strategy is correctly rejected (it previously 500'd). iterations is NOT type-validated: its only REST-path effect is an unread attribute assignment, so no type crashes there — an earlier draft of this note claimed a bad iterations type crashes mid-research via range(1, iterations + 1), which traced to the wrong constructor call and was false; iterations (like questions_per_iteration) is accepted, forwarded, and simply inert on the REST path today. The in-process Python API is unaffected by all of the above and still accepts every one of these as real keyword arguments.