File size: 859 Bytes
9496a0e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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