# S ティア 1 位のモデル ID を取得してコーディングツールに渡す例
TOP_MODEL=$(free-coding-models --json --tier S 2>/dev/null | jq -r '.[0].modelId')
echo "Best free model right now: $TOP_MODEL"

# ルーター経由で curl テスト（daemon-bg 起動後）
curl -s http://localhost:19280/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer fcm-local' \
  -d '{"model":"fcm","messages":[{"role":"user","content":"Hello!"}]}'