mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-29 12:10:57 +00:00
projects, contexts continued
This commit is contained in:
parent
f5bea00516
commit
1f37bcd844
14 changed files with 332 additions and 239 deletions
|
|
@ -776,6 +776,7 @@ class TaskScheduler:
|
|||
self._printer.print(f"Scheduler Task '{current_task.name}' started")
|
||||
|
||||
context = await self._get_chat_context(current_task)
|
||||
AgentContext.use(context.id)
|
||||
|
||||
# Ensure the context is properly registered in the AgentContext._contexts
|
||||
# This is critical for the polling mechanism to find and stream logs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue