agent-system/orchestrator/task_builder.py
2026-04-30 19:15:28 +00:00

12 lines
231 B
Python

from uuid import uuid4
def build_task(target, action, params=None):
return {
"task_id": str(uuid4()),
"target": target,
"type": "infra",
"action": action,
"params": params or {},
}