#!/usr/bin/env bash set -euo pipefail # CASAN model router (Phase 3, Wave 1) — entry point. # model-router.sh [--role classify|judge|generate] [--model ollama:ornith:9b] # # Thin dispatcher over model-call.py (the HTTP/parse/hardening workhorse) so the # documented interface stays stable. All real behavior, allowlist, fail-closed, # and usage logging live in model-call.py. SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" exec python3 "$SCRIPT_DIR/model-call.py" "$@"