1. 10 Feb, 2026 10 commits
  2. 09 Feb, 2026 27 commits
  3. 08 Feb, 2026 3 commits
    • erio's avatar
      feat: shuffle accounts within same sort group to prevent thundering herd · 1af06aed
      erio authored
      Add post-sort shuffle for accounts with identical (priority, loadRate,
      lastUsedAt) to break deterministic ordering when concurrent requests
      read the same scheduler snapshot. Applies to both Antigravity and
      OpenAI scheduling paths, plus the sortAccountsByPriorityAndLastUsed
      helper.
      
      Keeps upstream CallCount/ModelLoadInfo scheduling intact; shuffle is
      additive and only randomises within equivalent-rank groups.
      1af06aed
    • erio's avatar
      feat: route AccountTypeUpstream to ForwardUpstream in Forward() entry · 9236936a
      erio authored
      Without this routing guard, ForwardUpstream is never called because
      Forward() always proceeds with the standard OAuth/cookie flow.
      9236936a
    • erio's avatar
      fix: use upstream retryDelay for rate limit duration instead of fixed default · 12515246
      erio authored
      - In handleSmartRetry, use the actual upstream retryDelay to set model
        rate limit duration instead of always using the 30s default
      - Return info.RetryDelay from shouldTriggerAntigravitySmartRetry when
        shouldRateLimitModel=true, so callers know the actual delay
      - Extract getDefaultRateLimitDuration() and resolveResetTime() helpers
        to reduce duplication in handleUpstreamError 429 handling
      - Improve debug logging with upstream_retry_delay and response body
      12515246