#!/usr/bin/env bash
set -euo pipefail

: "${AIPOWER_API_KEY:?Set AIPOWER_API_KEY first}"

curl https://api.aipower.me/v1/chat/completions \
  -H "Authorization: Bearer ${AIPOWER_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-chat",
    "messages": [
      {"role": "user", "content": "Classify this lead as hot, warm, or cold."}
    ],
    "temperature": 0.2
  }'
