Update optimize wave3 (need update wave 4 to wave 8)

This commit is contained in:
thanhnv
2026-07-01 00:02:30 +09:00
parent 07ac1bdcdd
commit eaf919e744
140 changed files with 3780 additions and 844 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
# CASAN model router (Phase 3, Wave 1) — entry point.
# model-router.sh <prompt-file> <out-json> [--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" "$@"