mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-07 16:30:11 +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
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
POSTGRES_DB=samosachaat
|
|
POSTGRES_USER=samosachaat_admin
|
|
POSTGRES_PASSWORD=localdev
|
|
DATABASE_URL=postgresql+asyncpg://samosachaat_admin:localdev@localhost:5432/samosachaat
|
|
|
|
FRONTEND_PORT=3000
|
|
AUTH_PORT=8001
|
|
CHAT_API_PORT=8002
|
|
GRAFANA_PORT=3001
|
|
PROMETHEUS_PORT=9090
|
|
LOKI_PORT=3100
|
|
|
|
AUTH_SERVICE_URL=http://auth:8001
|
|
CHAT_API_URL=http://chat-api:8002
|
|
# External inference (e.g. Modal generate endpoint base URL — no local inference container)
|
|
INFERENCE_SERVICE_URL=https://YOUR_WORKSPACE--YOUR_APP-inference-generate.modal.run
|
|
NEXTAUTH_URL=http://localhost:3000
|
|
|
|
GOOGLE_CLIENT_ID=your-google-client-id
|
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
GITHUB_CLIENT_ID=your-github-client-id
|
|
GITHUB_CLIENT_SECRET=your-github-client-secret
|
|
|
|
JWT_ALGORITHM=RS256
|
|
JWT_PRIVATE_KEY=generate-an-rs256-private-key
|
|
JWT_PUBLIC_KEY=generate-the-matching-rs256-public-key
|
|
NEXTAUTH_SECRET=generate-a-random-secret
|
|
INTERNAL_API_KEY=generate-a-random-internal-api-key
|
|
|
|
HF_TOKEN=your-huggingface-token
|
|
MODEL_STORAGE_PATH=./models
|
|
DEFAULT_MODEL_TAG=samosachaat-d12
|
|
NANOCHAT_DTYPE=float32
|
|
NUM_WORKERS=1
|