You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 95ebe37
Browse filesBrowse the repository at this point in the historyBrowse files
fix(claude): rank Fast above Standard when deduping equal copies
`carries_more_usage_detail` ranked the speed tier with
`speed.is_some()`, the same check the comparators used on main. That
treats `Standard` and `Fast` as equal, so a Standard copy that also
carried the cache TTL split could replace a Fast copy, or a Standard
copy seen first could survive a later Fast one. Only `Fast` carries the
fast-mode price multiplier, so the session loader (which does not
compare cost) could undercount the request's cost.
Rank the tiers explicitly as None < Standard < Fast, before the TTL
split tie-break.
Reported by Cubic on #2060.
0 commit comments