#!/usr/bin/env bash # D4 — Telemetry TOKEN THẬT từ model (nguồn dữ liệu H6) # ⚠️ CẦN OLLAMA LIVE (bật tunnel). cwd = thư mục gốc dự án. Dùng lại /tmp/a1.txt. # Mỗi lời gọi model-router tự ghi provider-usage.jsonl với token THẬT bash .specify/scripts/bash/model-router.sh /tmp/a1.txt /tmp/v.json --role classify >/dev/null 2>&1 tail -1 .specify/logs/level5/provider-usage.jsonl 2>/dev/null # Kỳ vọng: dòng JSON có cost_source=ollama_local_real_tokens # total_tokens = input_tokens + output_tokens (prompt_eval_count + eval_count THẬT của ornith:9b)