MONGO_URI=mongodb://localhost:27017
DB_NAME=Epicrisis
COLLECTION_NAME=HistoriaClinica
REDIS_URL=redis://localhost:6379
GROQ_API_KEY=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
GEMINI_API_KEY=AIzaSyBc2cfd1ATuQm866znIu8JxwkrbA-6XRGM
GOOGLE_API_KEY=AIzaSyBc2cfd1ATuQm866znIu8JxwkrbA-6XRGM
ADMIN_USERNAME=admin
ADMIN_PASSWORD=1234
ADMIN_FORCE_RESET=0 #0  mantiene la clave, 1 obliga a cambiarla al primer inicio de sesión

# Proveedor LLM global: groq | gemini
LLM_PROVIDER=gemini
HISTORIA_MAX_CHARS=20000
HISTORIA_SUMMARY_THRESHOLD=12000
HISTORIA_SUMMARY_CHUNK=4000
HISTORIA_LARGE_THRESHOLD=18000
GROQ_MODEL_HISTORIA_LIGHT=llama-3.1-8b-instant

# Modelos LLM (personalizables)
GEMINI_MODEL_DEFAULT=gemini-2.5-flash
GEMINI_MODEL_HISTORIA=gemini-2.5-flash
GROQ_MODEL_DEFAULT=openai/gpt-oss-120b
GROQ_MODEL_CLINICAL=openai/gpt-oss-120b
GROQ_MODEL_SOAT=openai/gpt-oss-120b
GROQ_MODEL_CIE10=openai/gpt-oss-120b
GROQ_MODEL_CUPS=openai/gpt-oss-120b
GROQ_MODEL_RESUMEN=openai/gpt-oss-120b
GROQ_MODEL_HISTORIA=openai/gpt-oss-120b
GROQ_MODEL_LLM1=openai/gpt-oss-120b

# Batch processing (inprogress - celery)
BATCH_DISPATCHER=celery

# Audit log
AUDIT_LOG_ENABLED=true
AUDIT_LOG_FILE=logs/audit.jsonl
AUDIT_LOG_LEVEL=INFO
AUDIT_MONGO_ENABLED=true
AUDIT_RETENTION_DAYS=180
