The platform for continuously improving AI agents.
from celery import shared_task
from overbae.services import training_agent
@shared_task(name="overbae.tasks.training_agent.send_controls", max_retries=5, bind=True)
def send_controls(self, job_id):
try:
training_agent.send(job_id)
except Exception as exc: # noqa: BLE001 — Modal reachability; the list is resent whole
raise self.retry(exc=exc, countdown=10) from exc
@shared_task(name="overbae.tasks.training_agent.review_check", soft_time_limit=120, time_limit=150)
def review_check(check_id):
training_agent.review_check(check_id)