ux improved

This commit is contained in:
Lucas Tettamanti
2026-01-17 04:13:35 -03:00
parent 98e3d78e3d
commit 63b9ecef61
35 changed files with 4266 additions and 75 deletions

44
env.example Normal file
View File

@@ -0,0 +1,44 @@
# Botino - Example Environment Variables
# Copy this file to .env and fill in the values
# ===================
# Core
# ===================
PORT=3000
TENANT_KEY=piaf
DATABASE_URL=postgresql://user:password@localhost:5432/botino
PG_POOL_MAX=10
PG_IDLE_TIMEOUT_MS=30000
PG_CONN_TIMEOUT_MS=5000
APP_ENCRYPTION_KEY=your-32-char-encryption-key-here
# ===================
# OpenAI
# ===================
OPENAI_API_KEY=sk-xxx
OPENAI_MODEL=gpt-4o-mini
# ===================
# Turn Engine
# ===================
# v1 = pipeline actual (heurísticas + guardrails + LLM plan final)
# v2 = LLM-first NLU, deterministic core (nuevo motor)
TURN_ENGINE=v1
# ===================
# WooCommerce (fallback si falta config por tenant)
# ===================
WOO_BASE_URL=https://tu-tienda.com
WOO_CONSUMER_KEY=ck_xxx
WOO_CONSUMER_SECRET=cs_xxx
# ===================
# Debug Flags (1/true/yes/on para activar)
# ===================
DEBUG_PERF=0
DEBUG_WOO_HTTP=0
DEBUG_WOO_PRODUCTS=0
DEBUG_LLM=0
DEBUG_EVOLUTION=0
DEBUG_DB=0
DEBUG_RESOLVE=0