mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
- Move all internal/local imports to top-level - Remove unnecessary try-except blocks that just re-raise - Replace direct Prisma count queries with get_graph_executions_count - Add updated_time_gte/lte filter to get_graph_executions_count for querying failed/completed executions by update time - Fix N+1 query in cleanup_orphaned_schedules_bulk by fetching all schedules once before the loop - Extract SYSTEM_JOB_IDS constant to module level to avoid duplication Co-authored-by: Nicholas Tindle <ntindle@users.noreply.github.com>