ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.
Python ai-agentsamdcomfyuidockerllama-cppllmlocal-ain8nnvidiaopen-webuiragself-hostedspeech-to-textstrix-halotext-to-speechworkflow-automation
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
python3 -m py_compile "$ROOT_DIR/scripts/validate-generated-configs.py"
python3 "$ROOT_DIR/tests/test-generated-config-backups.py"
python3 "$ROOT_DIR/scripts/validate-generated-configs.py" "$ROOT_DIR/config/generated-config-contracts.json"
missing_writer_contract="$(mktemp)"
trap 'rm -f "$missing_writer_contract"' EXIT
python3 - "$ROOT_DIR/config/generated-config-contracts.json" "$missing_writer_contract" <<'PY'
import json
import sys
from pathlib import Path
source = Path(sys.argv[1])
target = Path(sys.argv[2])
contract = json.loads(source.read_text(encoding="utf-8"))
surface = next(item for item in contract["surfaces"] if item["id"] == "litellm-local-native")
surface["writers"] = [
writer
for writer in surface["writers"]
if writer["path"] != "installers/windows/lib/env-generator.ps1"
]
target.write_text(json.dumps(contract), encoding="utf-8")
PY
if python3 "$ROOT_DIR/scripts/validate-generated-configs.py" "$missing_writer_contract" >/dev/null 2>&1; then
echo "[FAIL] writer marker validation accepted an incomplete ownership inventory" >&2
exit 1
fi
python3 "$ROOT_DIR/tests/test-fedora-strix-compat.py"
python3 "$ROOT_DIR/tests/test-embedding-model-contract.py"
echo "[PASS] generated config contract test"