numes-autoreg: GitHub OAuth farm + new-api shim for $0 numes offers (7 free models, probe-based watcher)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
TOK=$(cat /root/.numes_ptok 2>/dev/null)
|
||||
for m in kimi-k3.1-pro glm-5.3-uncensored kimi-k3-abliterated; do
|
||||
printf "%-24s " "$m"
|
||||
curl -s -m 60 -o /tmp/nprobe_body -w "HTTP=%{http_code} %{time_total}s " \
|
||||
http://127.0.0.1:48005/v1/chat/completions \
|
||||
-H "Authorization: Bearer $TOK" -H 'Content-Type: application/json' \
|
||||
-d "{\"model\":\"$m\",\"messages\":[{\"role\":\"user\",\"content\":\"hi\"}],\"max_tokens\":20}"
|
||||
head -c 160 /tmp/nprobe_body
|
||||
echo
|
||||
done
|
||||
Reference in New Issue
Block a user