Personal AI, On Personal Devices
Python
fix: add schedule_value to template, skip server tests when fastapi missing
Jon Saad-Falcondb64abec233d
diff --git a/src/openjarvis/agents/templates/personal_deep_research.toml b/src/openjarvis/agents/templates/personal_deep_research.tomlindex 1e78046c..f26f7c87 100644--- a/src/openjarvis/agents/templates/personal_deep_research.toml+++ b/src/openjarvis/agents/templates/personal_deep_research.toml@@ -4,6 +4,7 @@ name = "Personal Deep Research"description = "Search across your emails, messages, meeting notes, and documents with multi-hop retrieval and cited reports. Uses BM25 keyword search, SQL aggregation, and LM-powered semantic scanning."agent_type = "deep_research"schedule_type = "manual"+schedule_value = ""tools = ["knowledge_search", "knowledge_sql", "scan_chunks", "think"]max_turns = 8temperature = 0.3diff --git a/tests/server/test_deep_research_tools_wiring.py b/tests/server/test_deep_research_tools_wiring.pyindex f566a4a7..c4edc65a 100644--- a/tests/server/test_deep_research_tools_wiring.py+++ b/tests/server/test_deep_research_tools_wiring.py@@ -5,9 +5,18 @@ from __future__ import annotationsfrom pathlib import Pathfrom unittest.mock import MagicMock+import pytest++try:+ import fastapi # noqa: F401+ HAS_FASTAPI = True+except ImportError:+ HAS_FASTAPI = False+from openjarvis.connectors.store import KnowledgeStore[email protected](not HAS_FASTAPI, reason="fastapi not installed")def test_deep_research_agent_gets_tools(tmp_path: Path) -> None:"""When knowledge.db exists, returns 4 tools."""db_path = tmp_path / "knowledge.db"@@ -31,6 +40,7 @@ def test_deep_research_agent_gets_tools(tmp_path: Path) -> None:store.close()[email protected](not HAS_FASTAPI, reason="fastapi not installed")def test_deep_research_tools_returns_empty_when_no_db() -> None:"""When knowledge.db doesn't exist, returns empty list."""from openjarvis.server.agent_manager_routes import _build_deep_research_tools