add refresh_balances/diag, tokens_guard (single UPDATE), priority notes; 70 accounts live

This commit is contained in:
ENI
2026-11-14 15:09:25 +02:00
parent 93bdd85459
commit 77d0cd6feb
21 changed files with 841 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# e2e через new-api :48005 токеном с квотой
T=$(tr -d '\n' < /tmp/tok.txt)
echo "token_len=${#T}"
for m in glm-5.3-flash claude-opus-5-5 gemini-4-argon kimi-k3.1-pro gpt-6-luna; do
printf "%-16s " "$m"
curl -s -m 120 -o /tmp/e.json -w "%{http_code} %{time_total}s " \
-X POST 127.0.0.1:48005/v1/chat/completions \
-H "Authorization: Bearer $T" -H "Content-Type: application/json" \
-d "{\"model\":\"$m\",\"messages\":[{\"role\":\"user\",\"content\":\"say ok\"}],\"max_tokens\":30}"
head -c 120 /tmp/e.json | tr -d '\n'
echo
done