Files
anthropic-proxy/internal/ratelimit
Alexander 744abc1d24 fix(ratelimit): clear window token counters on reset from response headers
UpdateFromHeaders was silently updating ResetsAt without clearing token
counters. When a window rolled over, the poll method would see ResetsAt
already updated and skip the reset. Extract setResetTime helper used by
both code paths.
2026-04-14 13:37:06 +02:00
..