Initial boilerplate scaffold for continuum-ai-worker

This commit is contained in:
2026-08-28 16:26:53 +00:00
commit 17f8e4b487
13 changed files with 489 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# Redis Streams
CONTINUUM_REDIS_URL=redis://localhost:6379
CONTINUUM_FRAME_STREAM=stream:camera_frames
CONTINUUM_CONSUMER_GROUP=ai-worker
CONTINUUM_CONSUMER_NAME=ai-worker-1
CONTINUUM_STREAM_BLOCK_MS=5000
CONTINUUM_STREAM_BATCH_SIZE=16
# Postgres (fast-path alert writes; same database as continuum-backend)
DATABASE_URL=postgres://continuum:continuum@localhost:5432/continuum
# Inference
CONTINUUM_MODEL_PATH=./models/failure-detector.onnx
CONTINUUM_MODEL_INPUT_SIZE=640
CONTINUUM_CONFIDENCE_THRESHOLD=0.75
CONTINUUM_INTRA_OP_THREADS=4
RUST_LOG=info,continuum_ai_worker=debug