mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-03 03:55:12 +00:00
Squashed commit of the following:
commitec3438a00bAuthor: Rafael Uzarowski <uzarowski.rafael@proton.me> Date: Thu Nov 13 00:30:22 2025 +0100 fix: task chats payload fix in poll() commitb7f9afdb1dAuthor: Rafael Uzarowski <uzarowski.rafael@proton.me> Date: Thu Nov 13 00:20:24 2025 +0100 feat: Project Scheduler Tasks
This commit is contained in:
parent
e6eae9c7dd
commit
e9b368df15
10 changed files with 381 additions and 66 deletions
|
|
@ -88,6 +88,12 @@ class Poll(ApiHandler):
|
|||
"last_result": task_details.get("last_result"),
|
||||
"attachments": task_details.get("attachments", []),
|
||||
"context_id": task_details.get("context_id"),
|
||||
"project_name": task_details.get("project_name"),
|
||||
"project_color": task_details.get("project_color"),
|
||||
"project": {
|
||||
"name": task_details.get("project_name"),
|
||||
"color": task_details.get("project_color"),
|
||||
},
|
||||
})
|
||||
|
||||
# Add type-specific fields
|
||||
|
|
@ -122,4 +128,4 @@ class Poll(ApiHandler):
|
|||
"notifications": notifications,
|
||||
"notifications_guid": notification_manager.guid,
|
||||
"notifications_version": len(notification_manager.updates),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue