mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-08 01:41:42 +00:00
Update poll.py
This commit is contained in:
parent
1080eb3bf4
commit
aca1aac850
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class Poll(ApiHandler):
|
|||
scheduler = TaskScheduler.get()
|
||||
|
||||
# Always reload the scheduler on each poll to ensure we have the latest task state
|
||||
# await scheduler.reload() # TODO:SCHEDULER must optimize this
|
||||
# await scheduler.reload() # does not seem to be needed
|
||||
|
||||
# loop AgentContext._contexts and divide into contexts and tasks
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue