refactor: modularity fixes + plugin registry + compiled research
Browse files
purpose_agent/streaming.py
CHANGED
|
@@ -228,7 +228,7 @@ class AsyncOrchestrator:
|
|
| 228 |
current_state = new_state
|
| 229 |
|
| 230 |
# Post-task (run in background)
|
| 231 |
-
await asyncio.to_thread(self.orch.
|
| 232 |
|
| 233 |
yield StreamEvent("task_end", {
|
| 234 |
"total_steps": len(trajectory.steps),
|
|
|
|
| 228 |
current_state = new_state
|
| 229 |
|
| 230 |
# Post-task (run in background)
|
| 231 |
+
await asyncio.to_thread(self.orch.post_task, trajectory, [])
|
| 232 |
|
| 233 |
yield StreamEvent("task_end", {
|
| 234 |
"total_steps": len(trajectory.steps),
|