# Auto-SFT Environment Configuration # Copy this file to .env and fill in your values # =========================================== # Evaluation API Configuration # =========================================== # API key for evaluation (OpenRouter, OpenAI, etc.) # Required for scoring trained models AUTO_SFT_EVAL_API_KEY=your-api-key-here # API base URL (default: OpenRouter) # Options: # - https://openrouter.ai/api/v1 (OpenRouter - recommended) # - https://api.openai.com/v1 (OpenAI) # - http://localhost:11434/v1 (Ollama) # - Your custom endpoint AUTO_SFT_EVAL_API_BASE=https://openrouter.ai/api/v1 # NOTE: the judge *model* is not an environment variable. It lives in # config/settings.json ("eval_model"), set from the web UI's Settings page, or # passed as --eval-model on the CLI. Setting it here would have no effect. # =========================================== # Web Server Configuration # =========================================== # Host to bind (0.0.0.0 for all interfaces) AUTO_SFT_HOST=0.0.0.0 # Port for web UI AUTO_SFT_PORT=8765 # Directory for run logs (inside container) AUTO_SFT_RUNS_DIR=/app/runs # =========================================== # Legacy (for backwards compatibility) # =========================================== # These are still supported but prefer AUTO_SFT_* prefix OPENAI_API_KEY=${AUTO_SFT_EVAL_API_KEY} OPENAI_BASE_URL=${AUTO_SFT_EVAL_API_BASE}