Spaces:
Running
Running
Merge branch 'feature/iterative-deep-research-workflows' of https://github.com/Josephrp/DeepCritical-HFSpace into feature/iterative-deep-research-workflows
Browse files
tests/integration/test_research_flows.py
CHANGED
|
@@ -22,7 +22,7 @@ class TestPlannerAgentIntegration:
|
|
| 22 |
@pytest.mark.asyncio
|
| 23 |
async def test_planner_agent_creates_plan(self):
|
| 24 |
"""PlannerAgent should create a valid report plan with real API."""
|
| 25 |
-
if not settings.has_openai_key and not settings.has_anthropic_key:
|
| 26 |
pytest.skip("No OpenAI or Anthropic API key available")
|
| 27 |
|
| 28 |
planner = create_planner_agent()
|
|
|
|
| 22 |
@pytest.mark.asyncio
|
| 23 |
async def test_planner_agent_creates_plan(self):
|
| 24 |
"""PlannerAgent should create a valid report plan with real API."""
|
| 25 |
+
if not settings.has_openai_key() and not settings.has_anthropic_key():
|
| 26 |
pytest.skip("No OpenAI or Anthropic API key available")
|
| 27 |
|
| 28 |
planner = create_planner_agent()
|