22 lines
569 B
Bash
22 lines
569 B
Bash
# Application
|
|
APP_NAME=AI Worker Platform
|
|
APP_VERSION=1.0.0
|
|
SECRET_KEY=change-this-to-a-random-secret-key-in-production
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=1440
|
|
|
|
# Database
|
|
DATABASE_URL=sqlite:///./ai_worker.db
|
|
# For PostgreSQL: postgresql://user:pass@localhost:5432/ai_worker
|
|
|
|
# Redis (optional, for caching/queue)
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# Default LLM Configuration
|
|
DEFAULT_LLM_PROVIDER=openai
|
|
DEFAULT_LLM_API_KEY=sk-xxx
|
|
DEFAULT_LLM_BASE_URL=https://api.openai.com/v1
|
|
DEFAULT_LLM_MODEL=gpt-4o-mini
|
|
|
|
# CORS
|
|
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
|