mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-09 09:20:04 +00:00
- allow assistant list-shaped content in CustomJSON for joint think+tool JSONL - add gen_joint_think_tool, filter_reasoning_jsonl, eval_suite_v2 (think_plus_tool probes) - fix CI: uv sync --no-install-workspace; uv run pytest - remove unused local inference service from compose; document Modal URL in env examples Made-with: Cursor
33 lines
900 B
Plaintext
33 lines
900 B
Plaintext
# Database (docker-compose postgres)
|
|
DATABASE_URL=postgresql+asyncpg://samosachaat_admin:CHANGE_ME@postgres:5432/samosachaat
|
|
POSTGRES_PASSWORD=CHANGE_ME
|
|
|
|
# Auth service
|
|
AUTH_BASE_URL=https://samosachaat.art/api
|
|
FRONTEND_URL=https://samosachaat.art
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
GITHUB_CLIENT_ID=
|
|
GITHUB_CLIENT_SECRET=
|
|
JWT_PRIVATE_KEY=
|
|
JWT_PUBLIC_KEY=
|
|
INTERNAL_API_KEY=CHANGE_ME_RANDOM_STRING
|
|
SESSION_SECRET=CHANGE_ME_RANDOM_STRING
|
|
COOKIE_SECURE=true
|
|
COOKIE_DOMAIN=samosachaat.art
|
|
|
|
# Chat API
|
|
AUTH_SERVICE_URL=http://auth:8001
|
|
INFERENCE_SERVICE_URL=https://YOUR_WORKSPACE--YOUR_APP-inference-generate.modal.run
|
|
CHAT_API_URL=http://chat-api:8002
|
|
|
|
# Optional: only if you run a local inference container (EC2 uses Modal instead)
|
|
MODEL_STORAGE_PATH=/models
|
|
DEFAULT_MODEL_TAG=samosachaat-d12
|
|
NANOCHAT_DTYPE=float32
|
|
HF_TOKEN=
|
|
NUM_WORKERS=1
|
|
|
|
# Frontend
|
|
NEXT_PUBLIC_APP_URL=https://samosachaat.art
|