refactor: unify skills+cli runtime and streamline ag-ui flow
This commit is contained in:
@@ -9,8 +9,7 @@ from v1.auth.automation_static_config import load_static_automation_job_config
|
||||
def test_memory_extraction_static_config_has_expected_defaults() -> None:
|
||||
config = load_static_automation_job_config(config_name="memory_extraction")
|
||||
|
||||
assert "memory.write" in (config.enabled_tools or [])
|
||||
assert "memory.forget" in (config.enabled_tools or [])
|
||||
assert [skill.value for skill in (config.enabled_skills or [])] == ["memory"]
|
||||
assert config.context is not None
|
||||
assert config.context.source.value == "latest_chat"
|
||||
assert config.schedule is not None
|
||||
@@ -21,7 +20,7 @@ def test_automation_job_config_rejects_missing_weekdays_for_weekly() -> None:
|
||||
with pytest.raises(ValueError, match="weekdays is required"):
|
||||
AutomationJobConfig.model_validate(
|
||||
{
|
||||
"enabled_tools": ["calendar.read"],
|
||||
"enabled_skills": ["calendar"],
|
||||
"input_template": "x",
|
||||
"context": {
|
||||
"source": "latest_chat",
|
||||
|
||||
Reference in New Issue
Block a user