agent-system/orchestrator/task_builder.py

12 lines
231 B
Python
Raw Permalink Normal View History

2026-04-30 21:15:28 +02:00
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 {},
}