update doc and optimize

This commit is contained in:
thanhnv
2026-07-06 17:47:12 +09:00
parent ace442da0e
commit 4419cd9eae
95 changed files with 2951 additions and 1353 deletions
@@ -9,4 +9,12 @@ set -euo pipefail
# and usage logging live in model-call.py.
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Opt-in governance preflight (default off ⇒ no change to existing flows).
# When enabled, enforces RAI data governance (e.g. PII must not reach a cloud
# model without approval) BEFORE the model call.
if [[ "${CASAN_PREFLIGHT:-0}" == "1" ]]; then
bash "$SCRIPT_DIR/harness-preflight.sh" "$@" >/dev/null || exit $?
fi
exec python "$SCRIPT_DIR/model-call.py" "$@"