rename from checkpoint to timeline agent
This commit is contained in:
@@ -94,13 +94,13 @@ async def test_orchestrate_v3_uses_default_registry_when_none():
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_orchestrate_v3_get_called_with_agent_name():
|
||||
agent = _FixedAgent("checkpoint_agent")
|
||||
reg = _make_registry("checkpoint_agent", agent)
|
||||
agent = _FixedAgent("timeline_agent")
|
||||
reg = _make_registry("timeline_agent", agent)
|
||||
|
||||
with patch("app.core.orchestrator.classify_intent", AsyncMock(return_value="checkpoint_agent")):
|
||||
with patch("app.core.orchestrator.classify_intent", AsyncMock(return_value="timeline_agent")):
|
||||
await orchestrate_v3(user_id="u-2", message="schedule", context={}, reg=reg)
|
||||
|
||||
reg.get.assert_called_once_with("checkpoint_agent")
|
||||
reg.get.assert_called_once_with("timeline_agent")
|
||||
|
||||
|
||||
# ── orchestrate_v3_stream ─────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user