~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 tests again.
Daniel Petti31d024c67aab
diff --git a/tests/test_llm/test_llm_edge_cases.py b/tests/test_llm/test_llm_edge_cases.pyindex 471a0bffb7..cd45d730f4 100644--- a/tests/test_llm/test_llm_edge_cases.py+++ b/tests/test_llm/test_llm_edge_cases.py@@ -1,7 +1,7 @@"""Tests for edge cases and advanced scenarios in custom LLM integration."""import asyncio-from typing import Any, Iterator, List, Optional+from typing import Any, Iterator, List, Optional, Dictfrom unittest.mock import patchimport pytest@@ -150,20 +150,30 @@ def clear_registry():@pytest.fixturedef full_settings_snapshot():"""Provide a complete settings snapshot for tests."""++ def _text_param(value: str | None) -> Dict[str, Any]:+ return {"value": value, "ui_element": "text"}++ def _number_param(value: int | float | None) -> Dict[str, Any]:+ return {"value": value, "ui_element": "number"}++ def _bool_param(value: bool) -> Dict[str, Any]:+ return {"value": value, "ui_element": "checkbox"}+return {- "llm.model": "test-model",- "llm.temperature": 0.7,- "llm.provider": "test",- "llm.supports_max_tokens": True,- "llm.max_tokens": 100000,- "llm.local_context_window_size": 4096,- "llm.context_window_unrestricted": True,- "llm.context_window_size": 128000,- "llm.ollama.url": "http://localhost:11434",- "llm.openai.api_key": None,- "llm.anthropic.api_key": None,- "llm.openai_endpoint.api_key": None,- "llm.openai_endpoint.url": "https://openrouter.ai/api/v1",+ "llm.model": _text_param("test-model"),+ "llm.temperature": _number_param(0.7),+ "llm.provider": _text_param("test"),+ "llm.supports_max_tokens": _bool_param(True),+ "llm.max_tokens": _number_param(100000),+ "llm.local_context_window_size": _number_param(4096),+ "llm.context_window_unrestricted": _bool_param(True),+ "llm.context_window_size": _number_param(128000),+ "llm.ollama.url": _text_param("http://localhost:11434"),+ "llm.openai.api_key": _text_param(None),+ "llm.anthropic.api_key": _text_param(None),+ "llm.openai_endpoint.api_key": _text_param(None),+ "llm.openai_endpoint.url": _text_param("https://openrouter.ai/api/v1"),}