add refresh_balances/diag, tokens_guard (single UPDATE), priority notes; 70 accounts live
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user