Integrate Celery task queue for background task processing (#129)

This commit is contained in:
Alexander Whitestone
2026-03-05 12:09:51 -05:00
committed by GitHub
parent b8ff534ad8
commit f2dacf4ee0
15 changed files with 1181 additions and 1 deletions

View File

@@ -23,6 +23,10 @@ class Settings(BaseSettings):
# Discord bot token — set via DISCORD_TOKEN env var or the /discord/setup endpoint
discord_token: str = ""
# ── Celery / Redis ──────────────────────────────────────────────────────
redis_url: str = "redis://localhost:6379/0"
celery_enabled: bool = True
# ── AirLLM / backend selection ───────────────────────────────────────────
# "ollama" — always use Ollama (default, safe everywhere)
# "airllm" — always use AirLLM (requires pip install ".[bigbrain]")