taskflow-api / .env.example
suhail
chatbot
676582c
# Database Configuration
DATABASE_URL=postgresql://user:password@host:5432/database
# Application Settings
APP_NAME=Task CRUD API
DEBUG=True
CORS_ORIGINS=http://localhost:3000
# Authentication
BETTER_AUTH_SECRET=your-secret-key-here-min-32-characters
JWT_ALGORITHM=HS256
JWT_EXPIRATION_DAYS=7
# LLM Provider Configuration
# Primary provider: gemini, openrouter, cohere
LLM_PROVIDER=gemini
# Optional fallback provider (recommended for production)
FALLBACK_PROVIDER=openrouter
# API Keys (provide at least one for your primary provider)
GEMINI_API_KEY=your-gemini-api-key-here
OPENROUTER_API_KEY=your-openrouter-api-key-here
COHERE_API_KEY=your-cohere-api-key-here
# Agent Configuration
AGENT_TEMPERATURE=0.7
AGENT_MAX_TOKENS=8192
# Conversation Settings (for free-tier constraints)
CONVERSATION_MAX_MESSAGES=20
CONVERSATION_MAX_TOKENS=8000
# How to get API keys:
# - Gemini: https://makersuite.google.com/app/apikey (free, no credit card required)
# - OpenRouter: https://openrouter.ai/ (free models available)
# - Cohere: https://cohere.com/ (trial only, not recommended for production)