File size: 1,096 Bytes
7ffe51d
 
 
 
 
 
 
 
676582c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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)