# core/celery_app.py
from celery import Celery
from core.config import settings

celery = Celery(
    "maia",
    broker=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/0",
    backend=f"redis://{settings.REDIS_HOST}:{settings.REDIS_PORT}/1",
    include=["modules.auth.tasks"],  # List all task modules here
)
