diff --git a/.env.example b/.env.example index 840d7866..7e832406 100644 --- a/.env.example +++ b/.env.example @@ -24,3 +24,7 @@ IFTTTKey="your_iftttkey_here" BRAVE_API_KEY="your_brave_api_key_here" SPOONACULAR_KEY="your_spoonacular_key_here" HF_API_KEY="your_huggingface_api_key_here" + + +REDIS_HOST= +REDIS_PORT= \ No newline at end of file diff --git a/api/app.py b/api/app.py index 335d03a0..addbb161 100644 --- a/api/app.py +++ b/api/app.py @@ -11,6 +11,7 @@ from aioredis import Redis from pydantic import BaseModel from swarms.swarms import swarm from fastapi_limiter import FastAPILimiter + from fastapi_limiter.depends import RateLimiter from dotenv import load_dotenv