~cytrogen/evi-run

ref: 8b4c4a73e70cd43af74bb77a21f0f00e96bf16af evi-run/redis_service/connect.py -rw-r--r-- 166 bytes
8b4c4a73 — Bendy feat(agents): enhance instructions and tool routing 6 months ago
                                                                                
1
2
3
4
5
6
7
8
import os

from dotenv import load_dotenv
from redis.asyncio.client import Redis

load_dotenv()

redis = Redis.from_url(os.getenv('REDIS_URL'), decode_responses=True)