ask: send the legacy service key as a bearer token on vps3

The vps3 gateway has no opaque sb_secret keys and honours the service_role JWT
only as a bearer token; sent on apikey alone it reads as anon, the limiter's
count fails, and every question is refused as rate-limited.
This commit is contained in:
Satoshi Qazi Muhammed committed 2026-10-22 13:37:29 +04:00
1 parent 8547ce700e
commit 0ab6cf198f
2 files changed
+14 -8

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
# .env holds only what the two functions read:
# TELEGRAM_BOT_TOKEN_MAIN, TELEGRAM_BOT_TOKEN_KRD, TELEGRAM_BOT_TOKEN_DKS,
# TELEGRAM_WEBHOOK_SECRET, GEMINI_API_KEY, GROQ_API_KEY, ANTHROPIC_API_KEY,
# ASK_PROXY_KEY, SUPABASE_SECRET_KEYS
# ASK_PROXY_KEY, SUPABASE_SECRET_KEYS ({"default":"<self-hosted service_role JWT>"})
services:
bots:
container_name: pezkuwi-bots