Skip to content

Commit 8bae287

Browse files
committed
chore: add .env.example and requirements.txt, fix .gitignore to track .env.example
1 parent 8a473b8 commit 8bae287

3 files changed

Lines changed: 52 additions & 2 deletions

File tree

.env.example

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Continuum Environment Configuration
2+
# Copy to .env and fill in your values
3+
4+
# ── LLM API Keys (for annotation judge) ───────────────────────────────────────
5+
OPENAI_API_KEY=sk-...
6+
ANTHROPIC_API_KEY=sk-ant-...
7+
8+
# ── Database ───────────────────────────────────────────────────────────────────
9+
DATABASE_URL=postgresql://continuum:continuum@localhost:5432/continuum
10+
# Or for SQLite (development):
11+
# DB_PATH=./continuum.db
12+
13+
# ── Redis (job queue) ─────────────────────────────────────────────────────────
14+
REDIS_URL=redis://localhost:6379
15+
16+
# ── Training ──────────────────────────────────────────────────────────────────
17+
BASE_MODEL=meta-llama/Llama-3-8B-Instruct
18+
CHECKPOINT_DIR=./checkpoints
19+
TRAIN_TARGET_SIZE=1000
20+
HF_TOKEN=hf_... # For gated models
21+
22+
# ── Notifications ─────────────────────────────────────────────────────────────
23+
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/...
24+
NOTIFICATION_WEBHOOK_URL=https://your-app.com/continuum-webhook
25+
26+
# ── Worker Configuration ──────────────────────────────────────────────────────
27+
WORKER_TYPE=annotation # annotation | training
28+
ANNOTATION_BUDGET=10.0

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ venv.bak/
3434

3535
# API keys and secrets
3636
.env
37-
.env.*
38-
*.env
37+
.env.local
38+
.env.*.local
3939
secrets.json
4040
credentials.json
41+
# Keep .env.example tracked
42+
!.env.example
4143

4244
# Testing
4345
.pytest_cache/

requirements.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Core dependencies (minimal install)
2+
litellm>=1.30.0
3+
httpx>=0.27.0
4+
pydantic>=2.0.0
5+
python-dotenv>=1.0.0
6+
tqdm>=4.66.0
7+
8+
# Persistence
9+
aiosqlite>=0.20.0
10+
11+
# Statistics (for regression guard)
12+
scipy>=1.13.0
13+
numpy>=1.26.0
14+
15+
# API server
16+
fastapi>=0.111.0
17+
uvicorn[standard]>=0.30.0
18+
19+
# Observability
20+
prometheus-client>=0.20.0

0 commit comments

Comments
 (0)