forked from Rockachopa/Timmy-time-dashboard
feat: code quality audit + autoresearch integration + infra hardening (#150)
This commit is contained in:
committed by
GitHub
parent
fd0ede0d51
commit
ae3bb1cc21
@@ -20,7 +20,9 @@ _VALID_AGENTS: dict[str, str] = {
|
||||
}
|
||||
|
||||
|
||||
def delegate_task(agent_name: str, task_description: str, priority: str = "normal") -> dict[str, Any]:
|
||||
def delegate_task(
|
||||
agent_name: str, task_description: str, priority: str = "normal"
|
||||
) -> dict[str, Any]:
|
||||
"""Record a delegation intent to another agent.
|
||||
|
||||
Args:
|
||||
@@ -44,7 +46,9 @@ def delegate_task(agent_name: str, task_description: str, priority: str = "norma
|
||||
if priority not in valid_priorities:
|
||||
priority = "normal"
|
||||
|
||||
logger.info("Delegation intent: %s → %s (priority=%s)", agent_name, task_description[:80], priority)
|
||||
logger.info(
|
||||
"Delegation intent: %s → %s (priority=%s)", agent_name, task_description[:80], priority
|
||||
)
|
||||
|
||||
return {
|
||||
"success": True,
|
||||
|
||||
Reference in New Issue
Block a user