refactor: unify skills+cli runtime and streamline ag-ui flow
This commit is contained in:
@@ -60,7 +60,7 @@ def _make_orm_job(
|
||||
owner_id=owner_id or uuid4(),
|
||||
title="Test Job",
|
||||
config={
|
||||
"enabled_tools": ["calendar.read", "user.lookup"],
|
||||
"enabled_skills": ["calendar", "contacts"],
|
||||
"context": {
|
||||
"source": "latest_chat",
|
||||
"window_mode": "day",
|
||||
@@ -109,7 +109,7 @@ async def test_scan_and_dispatch_calls_dispatch_fn_with_runtime_config() -> None
|
||||
assert dispatched_calls[0]["owner_id"] == owner_id
|
||||
assert dispatched_calls[0]["runtime_config"] is not None
|
||||
cfg: RuntimeConfig = dispatched_calls[0]["runtime_config"]
|
||||
assert len(cfg.enabled_tools) == 2
|
||||
assert len(cfg.enabled_skills) == 2
|
||||
|
||||
|
||||
def test_compute_next_run_at_daily() -> None:
|
||||
|
||||
Reference in New Issue
Block a user