Skip to content

fix(anthropic): scope Fable scheduling threshold to Fable models - #6360

Open
m11y wants to merge 1 commit into
Wei-Shaw:mainfrom
m11y:fix/anthropic-fable-scheduling-threshold
Open

fix(anthropic): scope Fable scheduling threshold to Fable models#6360
m11y wants to merge 1 commit into
Wei-Shaw:mainfrom
m11y:fix/anthropic-fable-scheduling-threshold

Conversation

@m11y

@m11y m11y commented Aug 29, 2026

Copy link
Copy Markdown

Summary

  • evaluate the Anthropic 7d_oi (Fable) passive usage window against the existing global/per-account scheduling threshold
  • materialize a claude-fable-5 family model cooldown when that window reaches the threshold
  • keep the existing account-wide behavior for the shared 5h and 7d windows
  • allow Opus, Sonnet, and other non-Fable models to continue using the account while the Fable window is paused

No new setting or database field is introduced. The existing account override (for example, 60%) now means:

  • shared 5h or 7d reaches 60%: pause the whole account
  • Fable 7d_oi reaches 60%: pause only the claude-fable-5 model family until that window resets

Tests

  • go test -tags=unit ./internal/service -run '^(TestEvaluateAccountSchedulingThreshold_|TestEvaluateAnthropicFableSchedulingThreshold_|TestRateLimitService_ApplyAccountSchedulingThreshold_)' -count=1
  • go test -tags=unit ./internal/service -count=1

@m11y
m11y force-pushed the fix/anthropic-fable-scheduling-threshold branch from d2fbba9 to 19f65aa Compare August 29, 2026 03:00
@m11y m11y changed the title fix(anthropic): apply scheduling threshold to Fable window fix(anthropic): scope Fable scheduling threshold to Fable models Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant