feat: add Gemini content moderation disable option and sequential emergency probe recovery when all targets are in cooldown

This commit is contained in:
tyuXX 2026-11-05 17:59:37 +00:00
parent e860faba14
commit 343208216e
10 changed files with 452 additions and 25 deletions

View file

@ -36,6 +36,9 @@ RATE_LIMIT_DURATION_MS=60000
# Max consecutive timeouts per model target before tripping circuit breaker (default 0 when fallback tier exists)
# MAX_TARGET_TIMEOUT_RETRIES=0
# Disable Gemini Content Moderation (injects HarmBlockThreshold.BLOCK_NONE to prevent safety blocks & proxy errors)
# DISABLE_GEMINI_MODERATION=true
# Cloudflare Tunnel configuration (for Docker deployment)
# Get your tunnel token from: https://dash.cloudflare.com/
CLOUDFLARE_TUNNEL_TOKEN=your_cloudflare_tunnel_token_here