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.

fix: Fix PDF export test to use correct API endpoint

LearningCircuita80d73b4e49e
diff --git a/tests/api_tests_with_login/pytest_tests/test_export_formats.py b/tests/api_tests_with_login/pytest_tests/test_export_formats.py
index 31dfeab493..e711735c98 100644
--- a/tests/api_tests_with_login/pytest_tests/test_export_formats.py
+++ b/tests/api_tests_with_login/pytest_tests/test_export_formats.py
@@ -98,16 +98,18 @@ def test_export_pdf_via_javascript(auth_session, base_url):
print(f"Started research {research_id}, waiting for completion...")
time.sleep(10)
- # Get the research report to ensure it has content
- report_response = session.get(f"{base_url}/api/report/{research_id}")
- assert report_response.status_code == 200
+ # Get the research status to ensure it has content
+ status_response = session.get(
+ f"{base_url}/api/research/{research_id}/status"
+ )
+ assert status_response.status_code == 200
- report_data = report_response.json()
- assert "content" in report_data or "markdown" in report_data, (
+ status_data = status_response.json()
+ assert "content" in status_data or "markdown" in status_data, (
"No content in report"
)
- content = report_data.get("content") or report_data.get("markdown", "")
+ content = status_data.get("content") or status_data.get("markdown", "")
assert len(content) > 100, (
f"Report content too short for PDF: {len(content)} bytes"
)