Spaces:
Sleeping
Sleeping
Download .env.example from root404onion/sql-agent: direct link, hf CLI and curl.
- Browser
- Download file 859 Bytes
-
https://huggingface.co/spaces/root404onion/sql-agent/resolve/main/.env.example
- Command line
-
hf download hf://spaces/root404onion/sql-agent/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/root404onion/sql-agent/resolve/main/.env.example
859 Bytes
| # Copy this file to `.env` and fill in your values. | |
| # Never commit `.env` — it is listed in `.gitignore`. | |
| # --- Hackathon / inference.py (OpenAI-compatible client) --- | |
| # Primary key (Hugging Face token OR OpenAI key, depending on API_BASE_URL) | |
| HF_TOKEN= | |
| # If you use OpenAI directly instead of HF router: | |
| # OPENAI_API_KEY= | |
| # Generic fallback used by some samples: | |
| # API_KEY= | |
| # LLM endpoint (OpenAI: https://api.openai.com/v1 | HF router: https://router.huggingface.co/v1) | |
| API_BASE_URL=https://api.openai.com/v1 | |
| # Model id for chat completions (must match your provider) | |
| MODEL_NAME=gpt-4o-mini | |
| # --- Optional inference tuning --- | |
| # OPENAI_SEED=42 | |
| # MAX_STEPS=24 | |
| # ENV_CONTAINER_START=false | |
| # IMAGE_NAME=sql-agent-env:latest | |
| # SQL_AGENT_TASK=sql_analyst_episode | |
| # SQL_AGENT_BENCHMARK=sql_agent_openenv | |
| # --- Hugging Face Space / server --- | |
| # PORT=7860 | |