Spaces:
Sleeping
Sleeping
Commit ·
c01a8fa
1
Parent(s): 662e309
chore: add .env.example for environment variable template
Browse files- .env.example +32 -0
.env.example
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CodeTribunal — Environment Configuration
|
| 2 |
+
# Copy this file to .env and fill in the values
|
| 3 |
+
|
| 4 |
+
# Z.ai API key
|
| 5 |
+
ZAI_API_KEY=
|
| 6 |
+
|
| 7 |
+
# LLM model (default: zai/glm-5.1)
|
| 8 |
+
MODEL_NAME=zai/glm-5.1
|
| 9 |
+
|
| 10 |
+
# Z.ai API base endpoint (default: coding endpoint for GLM-5.1)
|
| 11 |
+
ZAI_API_BASE=https://api.z.ai/api/coding/paas/v4
|
| 12 |
+
|
| 13 |
+
# Generation settings
|
| 14 |
+
TEMPERATURE=0.3
|
| 15 |
+
MAX_TOKENS=4096
|
| 16 |
+
|
| 17 |
+
# Evidence scanning
|
| 18 |
+
GRIT_TIMEOUT=60
|
| 19 |
+
MAX_FILE_SIZE_MB=50
|
| 20 |
+
MAX_FILES=500
|
| 21 |
+
EVIDENCE_CHUNK_SIZE=3000
|
| 22 |
+
MAX_SCAN_WORKERS=4
|
| 23 |
+
|
| 24 |
+
# Server
|
| 25 |
+
SERVER_HOST=0.0.0.0
|
| 26 |
+
SERVER_PORT=7860
|
| 27 |
+
|
| 28 |
+
# Pipeline storage
|
| 29 |
+
STORAGE_DIR=.tribunal_data
|
| 30 |
+
|
| 31 |
+
# Disable OpenTelemetry
|
| 32 |
+
OTEL_SDK_DISABLED=true
|