ci: enable truth engine on deployed server

Adds OPENBRAIN__TRUTH__ENABLED=true to the .env upsert list in the
deploy bootstrap step so the background truth scoring worker runs
automatically after every deployment.
This commit is contained in:
Agent Zero
2026-04-04 15:10:04 +00:00
parent 666727cdcf
commit 0803969d31

View File

@@ -209,6 +209,7 @@ jobs:
upsert_env "OPENBRAIN__EMBEDDING__MODEL_PATH" "$DEPLOY_DIR/models/all-MiniLM-L6-v2"
upsert_env "ORT_DYLIB_PATH" "$DEPLOY_DIR/lib/libonnxruntime.so"
upsert_env "OPENBRAIN__SERVER__HOST" "0.0.0.0"
upsert_env "OPENBRAIN__TRUTH__ENABLED" "true"
chmod +x "$DEPLOY_DIR/openbrain-mcp" "$DEPLOY_DIR/.gitea/download-model.sh"
chown -R "$SERVICE_USER:$SERVICE_GROUP" "$DEPLOY_DIR"