sql-agent / .env.example
root
hf done
9496a0e
Raw
History Blame Contribute Delete
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