NODE_ENV=development
PORT=3001
LOG_LEVEL=info

DATABASE_URL=postgresql://pac:pac@localhost:5432/pac?schema=public
REDIS_URL=redis://localhost:6379

JWT_SECRET=replace-with-strong-random-secret-min-32-chars
JWT_REFRESH_SECRET=replace-with-another-strong-secret-min-32-chars
JWT_EXPIRES_IN=2h
JWT_REFRESH_EXPIRES_IN=7d

# AI — DeepSeek 国内 endpoint 直连(合规);key 从 https://platform.deepseek.com/api_keys 取
DEEPSEEK_API_KEY=
DEEPSEEK_BASE_URL=https://api.deepseek.com
AI_DEFAULT_MODEL=deepseek-v4-pro
AI_REQUEST_TIMEOUT_SEC=60
# 价格表(¥/M tokens)— vendor 调价时改这里重启即可;不配则用默认值。
# inHit=cache 命中价 / inMiss=未命中(全价) / out=输出价(含 thinking)
# AI_PRICE_TABLE_JSON={"deepseek-v4-pro":{"inHit":0.5,"inMiss":3.6,"out":25},"deepseek-v4-flash":{"inHit":0.07,"inMiss":0.5,"out":2}}

CORS_ORIGINS=http://localhost:3000
EXCHANGE_CODE_TTL_SECONDS=60
