# ---- Database ---- # Used by apps/api to connect to the postgres service defined in docker-compose.yml. # Postgres is not published to the host; all services run inside the compose network. DATABASE_URL=postgresql://jobhunt:***@postgres:5432/jobhunt # ---- LLM Gateway ---- # Primary provider (default: GLM-5.2 via ollama-cloud). LLM_PRIMARY_BASE_URL=https://api.ollama-cloud.com/v1 LLM_PRIMARY_KEY= # Alternative env name accepted by the gateway: OLLAMA_API_KEY= LLM_PRIMARY_MODEL=glm-5.2 # Optional fallback provider (same shape). Leave empty to disable fallback. LLM_FALLBACK_BASE_URL= LLM_FALLBACK_KEY= LLM_FALLBACK_MODEL= # Task class routing. Cheap task classes (score, extract) must never fall back # to a paid provider. Cheap models are expected here. LLM_CHEAP_MODEL=glm-5.2 LLM_STRONG_MODEL=glm-5.2 # Per-task token budgets (max output tokens). Over-budget raises before the call. LLM_BUDGET_SCORE=2000 LLM_BUDGET_EXTRACT=4000 LLM_BUDGET_CRITIQUE=6000 LLM_BUDGET_CV_ASSIST=2000 LLM_BUDGET_CL_CRITIQUE=4000 LLM_BUDGET_RESEARCH=4000 LLM_BUDGET_DEFAULT=4000 # ---- API ---- API_HOST=0.0.0.0 API_PORT=8000 # ---- Web ---- VITE_API_BASE=http://localhost:8000/api