diff --git a/src/daemon/ticker.py b/src/daemon/ticker.py index d2b949f..0b2373e 100644 --- a/src/daemon/ticker.py +++ b/src/daemon/ticker.py @@ -276,9 +276,11 @@ class Ticker: finally: conn2.close() for row in done_tasks: - task = Blackboard(db_path).get_task(row[0]) - if task: - self.experience_distiller.distill_from_task(task) + t = Blackboard(db_path).get_task(row[0]) + if t: + self.experience_distiller.distill_from_task( + task_id=t.id, task_title=t.title, task_type=t.task_type + ) except Exception as e: logger.warning("ExperienceDistiller error for %s: %s", project_id, e)