CoolFace
Apppublic

pagareajinkya04/llama-3.2-3b-instruct

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
.env.example73 linesDownload Raw Back to root
1# =============================================================================2# DarkSyntrix ADAM v3.0 — Environment Configuration3# =============================================================================4# Copy this file to .env and fill in your values.5# All settings have safe defaults — minimal config needed to run.6 7# --- Node Identity ---8NODE_ID=                         # Auto-generated from hostname if empty9MODEL_NAME=local                 # Model name for registry10MODEL_TYPE=text-generation       # text-generation, chat, code, embedding11MODEL_CONTEXT_LENGTH=4096        # Context window size12MODEL_SPEED_RATING=medium        # slow, medium, fast13MODEL_SPECIALIZATION=general     # general, code, reasoning, math14 15# --- Networking ---16HOST=0.0.0.0                     # Listen address17PORT=8000                        # Listen port18MESH_PORT=8000                   # Mesh gossip port (same as PORT for simplicity)19PEER_DISCOVERY_URL=              # Optional: central registry URL for peer discovery20 21# --- Peers (comma-separated) ---22# Format: node_id:host:port  or  host:port23PEERS=24 25# --- Security ---26API_KEY=                         # API key for incoming requests27JWT_SECRET=                      # JWT signing secret (auto-generated if empty)28JWT_ALGORITHM=HS256              # JWT signing algorithm29HMAC_SECRET=                     # Inter-node request signing secret30ALLOWED_ORIGINS=*                # Comma-separated CORS origins31 32# --- Redis (optional) ---33REDIS_URL=redis://localhost:6379/034# Falls back to in-memory stores if Redis unavailable35 36# --- Governance ---37RATE_LIMIT_MAX_REQUESTS=60       # Max requests per window38RATE_LIMIT_WINDOW_SEC=60         # Rate limit window in seconds39MAX_CONCURRENT_REQUESTS=10       # Max concurrent requests per node40MAX_TOKENS_PER_REQUEST=4096      # Max tokens per generation41 42# --- Orchestration ---43DEFAULT_EXECUTION_MODE=local     # local, remote, hybrid44TASK_TIMEOUT_SEC=60              # Default task timeout45MAX_RETRIES=3                    # Max retry count for failed tasks46QUEUE_MAX_SIZE=100               # Max task queue size47 48# --- Knowledge ---49ENABLE_KNOWLEDGE_WEB=true        # Enable distributed knowledge store50VECTOR_STORE_BACKEND=memory      # memory, faiss, qdrant51EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v252KNOWLEDGE_SYNC_INTERVAL_SEC=60   # Knowledge sync frequency53 54# --- Monitoring ---55ENABLE_PROMETHEUS=true           # Expose /metrics endpoint56# Also accepts LOG_LEVEL (standard)                   # DEBUG, INFO, WARNING, ERROR57LOG_FORMAT=json                  # json or text58ENABLE_REQUEST_LOGGING=true      # Log all requests with IDs59 60# --- Circuit Breaker ---61CB_FAILURE_THRESHOLD=5           # Failures before circuit opens62CB_RECOVERY_TIMEOUT_SEC=30       # Time before half-open probe63CB_HALF_OPEN_MAX_CALLS=3         # Probe calls in half-open state64 65# --- Heartbeat ---66HEARTBEAT_INTERVAL_SEC=15        # Seconds between peer heartbeats67PEER_TIMEOUT_SEC=60              # Seconds before marking peer dead68PEER_CLEANUP_INTERVAL_SEC=120    # Seconds between dead peer cleanup69 70# --- HF Spaces Specific ---71SPACE_ID=                        # HF Space ID (auto-set by HF)72HF_TOKEN=                        # HuggingFace token for model download73